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