暂无描述

mainwindow.h 524B

1234567891011121314151617181920212223242526272829
  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3. #include <QMainWindow>
  4. #include <census.h>
  5. #include "map.h"
  6. namespace Ui {
  7. class MainWindow;
  8. }
  9. class MainWindow : public QMainWindow
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit MainWindow(QWidget *parent = 0);
  14. Map *myMap;
  15. void drawPoints(GISPOI* gisLocations, unsigned int size);
  16. void drawLine(const GISPOI &city01, const GISPOI &city02);
  17. ~MainWindow();
  18. private:
  19. Ui::MainWindow *ui;
  20. protected:
  21. void paintEventOLD(QPaintEvent *event);
  22. };
  23. #endif // MAINWINDOW_H