Map Matching
qmapwidget.h
Go to the documentation of this file.
1 #ifndef QMAPWIDGET_H
2 #define QMAPWIDGET_H
3 
4 #include "qmapscene.h"
5 #include <QGraphicsView>
6 #include <QHBoxLayout>
7 #include <QPushButton>
8 #include <QSlider>
9 #include <QVBoxLayout>
10 #include <QWidget>
11 
12 class QMapWidget : public QWidget {
13  Q_OBJECT
14 public:
15  explicit QMapWidget(QWidget* parent = 0);
16 
17  void buildControls();
18  //void startSimulation();
19 
21  QPushButton* m_next;
22 signals:
23 
24 private slots:
25  void sceneScaleChanged(int scaleTickValue);
26 
27 public slots:
28  void onSignalDimension(double xMinGrid, double xMaxGrid, double yMinGrid, double yMaxGrid);
29  void onSignalItemToShow(QGraphicsItem* item);
30 
31 protected:
32  QGraphicsView* m_view;
33  QVBoxLayout* m_layout;
34  QWidget* m_controlZone;
35  QPushButton* m_play;
36 
37  QSlider* m_zoom;
39 };
40 
41 #endif // QMAPWIDGET_H
QPushButton * m_next
Definition: qmapwidget.h:21
void buildControls()
Definition: qmapwidget.cpp:22
void onSignalDimension(double xMinGrid, double xMaxGrid, double yMinGrid, double yMaxGrid)
Definition: qmapwidget.cpp:39
QSlider * m_zoom
Definition: qmapwidget.h:37
void onSignalItemToShow(QGraphicsItem *item)
Definition: qmapwidget.cpp:49
QGraphicsView * m_view
Definition: qmapwidget.h:32
bool m_startSimulation
Definition: qmapwidget.h:38
QMapScene * m_scene
Definition: qmapwidget.h:20
QWidget * m_controlZone
Definition: qmapwidget.h:34
QPushButton * m_play
Definition: qmapwidget.h:35
QVBoxLayout * m_layout
Definition: qmapwidget.h:33
QMapWidget(QWidget *parent=0)
Definition: qmapwidget.cpp:4
void sceneScaleChanged(int scaleTickValue)
Definition: qmapwidget.cpp:54