#ifndef __CADTOOLBARLINES_H__
#define __CADTOOLBARLINES_H__
-#include "ui_cadtoolbarlines.h"
+#include <QtGui>
class CadToolBar;
-class QG_ActionHandler;
class CadToolBarLines: public QWidget
{
- Q_OBJECT
-
public:
- CadToolBarLines(QWidget * parent = 0, Qt::WindowFlags flags = 0);
+ CadToolBarLines(CadToolBar * parent, Qt::WindowFlags flags = 0);
~CadToolBarLines();
-
- public slots:
- void contextMenuEvent(QContextMenuEvent * e);
- void setCadToolBar(CadToolBar * tb);
- void drawLine();
- void drawLineAngle();
- void drawLineHorizontal();
- void drawLineHorVert();
- void drawLineVertical();
- void drawLineParallel();
- void drawLineParallelThrough();
- void drawLineRectangle();
- void drawLineBisector();
- void drawLineTangent1();
- void drawLineTangent2();
- void drawLineOrthogonal();
- void drawLineRelAngle();
- void drawLineFree();
- void drawLinePolygon();
- void drawLinePolygon2();
- void back();
-
- protected:
- QG_ActionHandler * actionHandler;
- CadToolBar * cadToolBar;
-
- private:
- Ui::CadToolBarLines ui;
};
#endif // __CADTOOLBARLINES_H__