00001 #ifndef MAINWINDOW_H
00002 #define MAINWINDOW_H
00003
00004 #include <QMainWindow>
00005 #include <QTimer>
00006
00007 namespace Ui {
00008 class MainWindow;
00009 }
00010
00011 class MainWindow : public QMainWindow
00012 {
00013 Q_OBJECT
00014
00015 public:
00016 explicit MainWindow(QWidget *parent = 0);
00017 ~MainWindow();
00018
00019 private:
00020 Ui::MainWindow *ui;
00021
00022 QTimer *timer;
00023
00024 private slots:
00025 void on_btClose_clicked();
00026 void on_btOpen_clicked();
00027 void tick(void);
00028 void handle_newPosition(void);
00029
00030 };
00031
00032 #endif // MAINWINDOW_H