-
Notifications
You must be signed in to change notification settings - Fork 1
/
axisgroupbox.h
36 lines (27 loc) · 868 Bytes
/
axisgroupbox.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2014 Andranik Abrahamyan
#ifndef AXISGROUPBOX_H
#define AXISGROUPBOX_H
#include <QtGui/QGroupBox>
class QLabel;
class AxisGLWidget;
/*! \brief The AxisGroupBox window shows axis OpenGL Widget and rotation positions.
*
*/
class AxisGroupBox : public QGroupBox {
Q_OBJECT
public:
AxisGroupBox(QWidget *parent = 0);
~AxisGroupBox();
/// reset values
void reset();
public slots:
void setXRotation(const int angle); //!< set axis rotation x position
void setYRotation(const int angle); //!< set axis rotation y position
void setZRotation(const int angle); //!< set axis rotation z position
private:
AxisGLWidget *axisGLWidget; //!< axis OpenGL Widget
QLabel *xRot; //!< axis rotation x position
QLabel *yRot; //!< axis rotation y position
QLabel *zRot; //!< axis rotation z position
};
#endif // DIMENSIONSGROUPBOX_H