]> Shamusworld >> Repos - architektonas/blob - src/forms/cadtoolbarselect.h
Bugfixes related to removing Snapper class.
[architektonas] / src / forms / cadtoolbarselect.h
1 #ifndef __CADTOOLBARSELECT_H__
2 #define __CADTOOLBARSELECT_H__
3
4 #include <QtGui>
5
6 class CadToolBar;
7 class ActionHandler;
8 class ActionInterface;
9
10 class CadToolBarSelect: public QWidget
11 {
12         Q_OBJECT
13
14         public:
15                 CadToolBarSelect(CadToolBar * parent, Qt::WindowFlags flags = 0);
16                 ~CadToolBarSelect();
17
18                 void setSelectAction(ActionInterface * selectAction);
19                 void setNextAction(int nextAction);
20
21         public slots:
22                 void runNextAction();
23
24         private:
25                 QToolButton * doit;
26                 ActionHandler * actionHandler;
27                 ActionInterface * selectAction;
28                 int nextAction;
29 };
30
31 #endif  // __CADTOOLBARSELECT_H__