#ifndef __CADTOOLBARARCS_H__
#define __CADTOOLBARARCS_H__
-#include "ui_cadtoolbararcs.h"
+#include <QtGui>
class CadToolBar;
-class QG_ActionHandler;
class CadToolBarArcs: public QWidget
{
- Q_OBJECT
-
public:
- CadToolBarArcs(QWidget * parent = 0, Qt::WindowFlags flags = 0);
+ CadToolBarArcs(CadToolBar * parent, Qt::WindowFlags flags = 0);
~CadToolBarArcs();
-
- public slots:
- void contextMenuEvent(QContextMenuEvent * e);
- void setCadToolBar(CadToolBar * tb);
- void drawArc();
- void drawArc3P();
- void drawArcParallel();
- void drawArcTangential();
- void back();
-
- protected:
- QG_ActionHandler * actionHandler;
- CadToolBar * cadToolBar;
-
- private:
- Ui::CadToolBarArcs ui;
};
#endif // __CADTOOLBARARCS_H__