]> Shamusworld >> Repos - architektonas/blob - src/forms/linebisectoroptions.h
ad643472fc6f854b9446cc43d7655aa4068e648d
[architektonas] / src / forms / linebisectoroptions.h
1 #ifndef __LINEBISECTOROPTIONS_H__
2 #define __LINEBISECTOROPTIONS_H__
3
4 #include <QtGui>
5
6 class RS_ActionDrawLineBisector;
7 class RS_ActionInterface;
8
9 class LineBisectorOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 LineBisectorOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~LineBisectorOptions();
16
17         public slots:
18                 void setAction(RS_ActionInterface * a, bool update);
19                 void updateLength(const QString & l);
20                 void updateNumber(int n);
21
22         protected:
23                 RS_ActionDrawLineBisector * action;
24
25         private:
26                 QLabel * lLength;
27                 QLineEdit * leLength;
28                 QLabel * lNumber;
29                 QSpinBox * sbNumber;
30 };
31
32 #endif  // __LINEBISECTOROPTIONS_H__