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