]> Shamusworld >> Repos - architektonas/blob - src/forms/polylineoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / polylineoptions.h
1 #ifndef __POLYLINEOPTIONS_H__
2 #define __POLYLINEOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawPolyline;
7 class ActionInterface;
8
9 class PolylineOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 PolylineOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~PolylineOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a, bool);
19                 void close();
20                 void undo();
21
22         protected:
23                 ActionDrawPolyline * action;
24
25         private:
26                 QToolButton * closeButton;
27                 QToolButton * undoButton;
28                 QCheckBox * arcCheckBox;
29                 QLabel * radiusLabel;
30                 QLineEdit * radiusEdit;
31 };
32
33 #endif  // __POLYLINEOPTIONS_H__