]> Shamusworld >> Repos - architektonas/blob - src/forms/lineangleoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / lineangleoptions.h
1 #ifndef __LINEANGLEOPTIONS_H__
2 #define __LINEANGLEOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawLineAngle;
7 class ActionInterface;
8
9 class LineAngleOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 LineAngleOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~LineAngleOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool update);
19                 void updateAngle(const QString & a);
20                 void updateLength(const QString & l);
21                 void updateSnapPoint(int sp);
22
23         protected:
24                 ActionDrawLineAngle * action;
25
26         private:
27                 QLabel * lAngle;
28                 QLineEdit * leAngle;
29                 QLabel * lLength;
30                 QLineEdit * leLength;
31                 QLabel * lSnapPoint;
32                 QComboBox * cbSnapPoint;
33 };
34
35 #endif  // __LINEANGLEOPTIONS_H__