]> Shamusworld >> Repos - architektonas/blob - src/forms/polylineoptions.h
Phase 3 of polyline functionality added: Create polyline somewhat working...
[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 * bClose;
27                 QToolButton * bUndo;
28 };
29
30 #endif  // __POLYLINEOPTIONS_H__