]> Shamusworld >> Repos - architektonas/blob - src/forms/lineoptions.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / lineoptions.h
1 #ifndef __LINEOPTIONS_H__
2 #define __LINEOPTIONS_H__
3
4 #include <QtGui>
5
6 class ActionDrawLine;
7 class ActionInterface;
8
9 class LineOptions: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 LineOptions(QToolBar * parent = 0, Qt::WindowFlags flags = 0);
15                 ~LineOptions();
16
17         public slots:
18                 void setAction(ActionInterface * a);
19                 void close();
20                 void undo();
21
22         protected:
23                 ActionDrawLine * action;
24
25         private:
26                 QToolButton * bClose;
27                 QToolButton * bUndo;
28 };
29
30 #endif  // __LINEOPTIONS_H__