1 #ifndef HikingViewer_CompassWidget_h
2 #define HikingViewer_CompassWidget_h
4 #include "OpenGL_Includes.h"
5 #include "ClickableQLabel.h"
6 #include "vmmlib/vector.hpp"
31 CompassWidget(std::string _propath, QWidget* parent = 0, Qt::WindowFlags f = 0);
44 float getDegreeForPosition(vmml::Vector2f _pos);
48 QLabel* riskLevelLabel;
49 QLabel* heightThreshold;
51 vmml::Vector2f compassCenter;
52 vmml::Vector2f compassSize;
54 vmml::Vector4ub dangerColorStart;
55 vmml::Vector4ub dangerColorEnd;
57 std::string picturePath;
void paintEvent(QPaintEvent *ev)
Definition: CompassWidget.cpp:8
CompassLabel(QWidget *parent=0, Qt::WindowFlags f=0)
Definition: CompassWidget.h:16
Definition: CompassWidget.h:12
Definition: ClickableQLabel.h:9
void setAngles(float _start, float _end)
Definition: CompassWidget.cpp:17
Definition: ClickableQLabel.h:8
~CompassLabel()
Definition: CompassWidget.h:20