]> Shamusworld >> Repos - architektonas/blob - src/forms/linerelangleoptions.h
Added more missing forms...
[architektonas] / src / forms / linerelangleoptions.h
1 #ifndef __LINERELANGLEOPTIONS_H__
2 #define __LINERELANGLEOPTIONS_H__
3
4 #include <QtGui>
5
6 class RS_ActionDrawLineRelAngle;
7 class RS_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(RS_ActionInterface * a, bool update);
19                 void updateAngle(const QString & a);
20                 void updateLength(const QString & l);
21
22         protected:
23                 RS_ActionDrawLineRelAngle * action;
24
25         private:
26                 QLabel * lAngle;
27                 QLineEdit * leAngle;
28                 QLabel * lLength;
29                 QLineEdit * leLength;
30 };
31
32 #endif  // __LINERELANGLEOPTIONS_H__