00001 #ifndef GPS_H 00002 #define GPS_H 00003 00004 #include <QtGui> 00005 #include "../../../qmapcontrol.h" 00006 #include "gps_neo.h" 00007 using namespace qmapcontrol; 00008 class GPS: public QWidget 00009 { 00010 Q_OBJECT 00011 public: 00012 GPS(); 00013 00014 ~GPS(); 00015 00016 private: 00017 QPushButton* followgps; 00018 QLabel* gpsposition; 00019 MapControl* mc; 00020 00021 public slots: 00022 void updatePosition(float time, QPointF coordinate); 00023 00024 }; 00025 00026 #endif