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