]> Shamusworld >> Repos - architektonas/blob - src/forms/linepolygonoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / linepolygonoptions.h
1 #ifndef __LINEPOLYGONOPTIONS_H__
2 #define __LINEPOLYGONOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawLinePolygon;
7 class ActionInterface;
8
9 class LinePolygonOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 LinePolygonOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~LinePolygonOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool update);
19                 void updateNumber(int n);
20
21         protected:
22                 ActionDrawLinePolygon * action;
23
24         private:
25                 QLabel * lNumber;
26                 QSpinBox * sbNumber;
27 };
28
29 #endif  // __LINEPOLYGONOPTIONS_H__