| Line | |
|---|
| 1 | #ifndef RTGUI_SVGMAP_H
|
|---|
| 2 | #define RTGUI_SVGMAP_H
|
|---|
| 3 |
|
|---|
| 4 | #include <QtGui>
|
|---|
| 5 | #include <QWhatsThis>
|
|---|
| 6 |
|
|---|
| 7 | class QwtPlot;
|
|---|
| 8 | class QwtPlotZoomer;
|
|---|
| 9 |
|
|---|
| 10 | namespace RTGUI {
|
|---|
| 11 |
|
|---|
| 12 | class t_svgMap : public QDialog {
|
|---|
| 13 | Q_OBJECT
|
|---|
| 14 |
|
|---|
| 15 | public:
|
|---|
| 16 | t_svgMap(QWidget* parent = 0);
|
|---|
| 17 | ~t_svgMap();
|
|---|
| 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 |
|
|---|
| 44 | } // namespace RTGUI
|
|---|
| 45 |
|
|---|
| 46 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.