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
|
---|
[5014] | 15 | Q_INTERFACES(GnssCenter::t_pluginInterface)
|
---|
[4836] | 16 |
|
---|
| 17 | public:
|
---|
[5013] | 18 | t_svgMap();
|
---|
[4858] | 19 | ~t_svgMap();
|
---|
[5012] | 20 | virtual bool expectInputFile() const {return false;}
|
---|
| 21 | virtual void setInputFile(const QString&) {}
|
---|
| 22 | virtual void show() {QDialog::show();}
|
---|
| 23 |
|
---|
[4836] | 24 | public slots:
|
---|
| 25 | void slotNewPoint(const QString& name, double latDeg, double lonDeg);
|
---|
| 26 |
|
---|
| 27 | private slots:
|
---|
| 28 | void slotClose();
|
---|
| 29 | void slotPrint();
|
---|
| 30 | void slotWhatsThis();
|
---|
| 31 |
|
---|
| 32 | protected:
|
---|
| 33 | virtual void closeEvent(QCloseEvent *);
|
---|
| 34 | virtual void showEvent(QShowEvent *);
|
---|
| 35 |
|
---|
| 36 | private:
|
---|
| 37 | QwtPlot* _mapPlot;
|
---|
| 38 | QwtPlotZoomer* _mapPlotZoomer;
|
---|
| 39 | QPushButton* _buttonClose;
|
---|
| 40 | QPushButton* _buttonPrint;
|
---|
| 41 | QPushButton* _buttonWhatsThis;
|
---|
| 42 | double _minPointLat;
|
---|
| 43 | double _maxPointLat;
|
---|
| 44 | double _minPointLon;
|
---|
| 45 | double _maxPointLon;
|
---|
| 46 |
|
---|
| 47 | };
|
---|
| 48 |
|
---|
[5001] | 49 | } // namespace GnssCenter
|
---|
[4858] | 50 |
|
---|
[4836] | 51 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.