]> Shamusworld >> Repos - architektonas/blob - src/forms/cadtoolbarpoints.h
Initial import
[architektonas] / src / forms / cadtoolbarpoints.h
1 #ifndef __CADTOOLBARPOINTS_H__
2 #define __CADTOOLBARPOINTS_H__
3
4 #include "ui_cadtoolbarpoints.h"
5
6 class CadToolBar;
7 class QG_ActionHandler;
8
9 class CadToolBarPoints: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 CadToolBarPoints(QWidget * parent = 0, Qt::WindowFlags flags = 0);
15                 ~CadToolBarPoints();
16
17         public slots:
18                 void mousePressEvent(QMouseEvent * e);
19                 void contextMenuEvent(QContextMenuEvent * e);
20                 void setCadToolBar(CadToolBar * tb);
21                 void drawPoint();
22                 void back();
23
24         protected:
25                 QG_ActionHandler * actionHandler;
26                 CadToolBar * cadToolBar;
27
28         private:
29                 Ui::CadToolBarPoints ui;
30 };
31
32 #endif  // __CADTOOLBARPOINTS_H__