]> Shamusworld >> Repos - architektonas/blob - src/forms/linebisectoroptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / linebisectoroptions.h
1 #ifndef __LINEBISECTOROPTIONS_H__
2 #define __LINEBISECTOROPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawLineBisector;
7 class 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(ActionInterface * a, bool update);
19                 void updateLength(const QString & l);
20                 void updateNumber(int n);
21
22         protected:
23                 ActionDrawLineBisector * action;
24
25         private:
26                 QLabel * lLength;
27                 QLineEdit * leLength;
28                 QLabel * lNumber;
29                 QSpinBox * sbNumber;
30 };
31
32 #endif  // __LINEBISECTOROPTIONS_H__