X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fforms%2Fcadtoolbarpolylines.h;h=1ae2265774832e19249339c07bde74b655067e5e;hb=f7188d32d0beaef31fc3475be05daea2f018ebec;hp=0814dea4692a371b1245568313999cae2a7ef0ff;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/forms/cadtoolbarpolylines.h b/src/forms/cadtoolbarpolylines.h index 0814dea..1ae2265 100644 --- a/src/forms/cadtoolbarpolylines.h +++ b/src/forms/cadtoolbarpolylines.h @@ -1,37 +1,26 @@ #ifndef __CADTOOLBARPOLYLINES_H__ #define __CADTOOLBARPOLYLINES_H__ -#include "ui_cadtoolbarpolylines.h" +#include class CadToolBar; -class QG_ActionHandler; class CadToolBarPolylines: public QWidget { Q_OBJECT public: - CadToolBarPolylines(QWidget * parent = 0, Qt::WindowFlags flags = 0); + CadToolBarPolylines(CadToolBar * parent, Qt::WindowFlags flags = 0); ~CadToolBarPolylines(); - public slots: - void mousePressEvent(QMouseEvent * e); - void contextMenuEvent(QContextMenuEvent * e); - void setCadToolBar(CadToolBar * tb); - void drawPolyline(); - void polylineAdd(); - void polylineAppend(); - void polylineDel(); - void polylineDelBetween(); - void polylineTrim(); + protected slots: void back(); + private: + QToolButton * CreateToolButton(QAction * action); + protected: - QG_ActionHandler * actionHandler; CadToolBar * cadToolBar; - - private: - Ui::CadToolBarPolylines ui; }; #endif // __CADTOOLBARPOLYLINES_H__