Rev | Line | |
---|
[5001] | 1 | #ifndef GnssCenter_SVGMAP_H
|
---|
| 2 | #define GnssCenter_SVGMAP_H
|
---|
[4836] | 3 |
|
---|
| 4 | #include <QtGui>
|
---|
| 5 | #include <QWhatsThis>
|
---|
| 6 |
|
---|
| 7 | class QwtPlot;
|
---|
| 8 | class QwtPlotZoomer;
|
---|
| 9 |
|
---|
[5001] | 10 | namespace GnssCenter {
|
---|
[4858] | 11 |
|
---|
| 12 | class t_svgMap : public QDialog {
|
---|
[4836] | 13 | Q_OBJECT
|
---|
| 14 |
|
---|
| 15 | public:
|
---|
[4858] | 16 | t_svgMap(QWidget* parent = 0);
|
---|
| 17 | ~t_svgMap();
|
---|
[4836] | 18 |
|
---|
| 19 | public slots:
|
---|
| 20 | void slotNewPoint(const QString& name, double latDeg, double lonDeg);
|
---|
| 21 |
|
---|
| 22 | private slots:
|
---|
| 23 | void slotClose();
|
---|
| 24 | void slotPrint();
|
---|
| 25 | void slotWhatsThis();
|
---|
| 26 |
|
---|
| 27 | protected:
|
---|
| 28 | virtual void closeEvent(QCloseEvent *);
|
---|
| 29 | virtual void showEvent(QShowEvent *);
|
---|
| 30 |
|
---|
| 31 | private:
|
---|
| 32 | QwtPlot* _mapPlot;
|
---|
| 33 | QwtPlotZoomer* _mapPlotZoomer;
|
---|
| 34 | QPushButton* _buttonClose;
|
---|
| 35 | QPushButton* _buttonPrint;
|
---|
| 36 | QPushButton* _buttonWhatsThis;
|
---|
| 37 | double _minPointLat;
|
---|
| 38 | double _maxPointLat;
|
---|
| 39 | double _minPointLon;
|
---|
| 40 | double _maxPointLon;
|
---|
| 41 |
|
---|
| 42 | };
|
---|
| 43 |
|
---|
[5001] | 44 | } // namespace GnssCenter
|
---|
[4858] | 45 |
|
---|
[4836] | 46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.