GlobeEngine
HikingViewerUI.h
Go to the documentation of this file.
1 #ifndef HikingEngine_COREENGINEUI_H
2 #define HikingEngine_COREENGINEUI_H
3 
4 #include "OpenGL_Includes.h"
5 #include <QMainWindow>
6 #include "ui_hikingviewer.h"
7 #include "HikingViewerGLWidget.h"
8 #include "SimpleQTViewer.h"
9 #include "CompassWidget.h"
10 #include <QCheckBox>
11 
12 namespace geHikingViewer {
13 
15  {
16  Q_OBJECT
17  public:
18  HikingViewerUI(std::string _propath, HikingViewerGLWidget* _glWidget, QWidget *parent = 0);
20  public slots:
21  void selectMenuFile(QAction* _action);
22 
24 
25  public slots:
26  void enablePlacing(bool _value);
27  void focusCamera();
28  void enableDanger(bool _value);
29  void enableNorthSouth(bool _value);
30  void switchCamera(bool _value);
31  void setDangerAngles();
32 
33  private:
34  Ui::HikingEngineClass ui;
35  QTimer* update_timer;
36 
37  QCheckBox* placingButton;
38  QCheckBox* dangerButton;
39 
40  QPalette dangerButtonPalette;
41 
42  geQT::CompassWidget* compassWidget;
43  };
44 }
45 #endif
~HikingViewerUI()
Definition: HikingViewerUI.cpp:55
Definition: HikingComposition.h:14
void enablePlacing(bool _value)
Definition: HikingViewerUI.cpp:77
void focusCamera()
Definition: HikingViewerUI.cpp:85
void switchCamera(bool _value)
Definition: HikingViewerUI.cpp:72
Definition: CompassWidget.h:27
void enableDanger(bool _value)
Definition: HikingViewerUI.cpp:89
Definition: HikingViewerUI.h:14
void selectMenuFile(QAction *_action)
Definition: HikingViewerUI.cpp:59
Definition: HikingViewerGLWidget.h:13
void enableNorthSouth(bool _value)
Definition: HikingViewerUI.cpp:93
HikingViewerGLWidget * getGLWidget()
Definition: HikingViewerUI.cpp:97
HikingViewerUI(std::string _propath, HikingViewerGLWidget *_glWidget, QWidget *parent=0)
Definition: HikingViewerUI.cpp:10
Definition: SimpleQTViewer.h:13
void setDangerAngles()
Definition: HikingViewerUI.cpp:66