]> Shamusworld >> Repos - architektonas/blob - src/forms/cadtoolbarpolylines.h
Merged QC_GraphicView into QG_GraphicView...
[architektonas] / src / forms / cadtoolbarpolylines.h
1 #ifndef __CADTOOLBARPOLYLINES_H__
2 #define __CADTOOLBARPOLYLINES_H__
3
4 #include "ui_cadtoolbarpolylines.h"
5
6 class CadToolBar;
7 class QG_ActionHandler;
8
9 class CadToolBarPolylines: public QWidget
10 {
11         Q_OBJECT
12
13         public:
14                 CadToolBarPolylines(QWidget * parent = 0, Qt::WindowFlags flags = 0);
15                 ~CadToolBarPolylines();
16
17         public slots:
18                 void mousePressEvent(QMouseEvent * e);
19                 void contextMenuEvent(QContextMenuEvent * e);
20                 void setCadToolBar(CadToolBar * tb);
21                 void drawPolyline();
22                 void polylineAdd();
23                 void polylineAppend();
24                 void polylineDel();
25                 void polylineDelBetween();
26                 void polylineTrim();
27                 void back();
28
29         protected:
30                 QG_ActionHandler * actionHandler;
31                 CadToolBar * cadToolBar;
32
33         private:
34                 Ui::CadToolBarPolylines ui;
35 };
36
37 #endif  // __CADTOOLBARPOLYLINES_H__