#ifndef __CADTOOLBARELLIPSES_H__
#define __CADTOOLBARELLIPSES_H__
-#include "ui_cadtoolbarellipses.h"
+#include <QtGui>
class CadToolBar;
-class QG_ActionHandler;
class CadToolBarEllipses: public QWidget
{
- Q_OBJECT
-
public:
- CadToolBarEllipses(QWidget * parent = 0, Qt::WindowFlags flags = 0);
+ CadToolBarEllipses(CadToolBar * parent, Qt::WindowFlags flags = 0);
~CadToolBarEllipses();
-
- public slots:
- void mousePressEvent(QMouseEvent * e);
- void contextMenuEvent(QContextMenuEvent * e);
- void setCadToolBar(CadToolBar * tb);
- void drawEllipseAxis();
- void drawEllipseArcAxis();
- void back();
-
- protected:
- QG_ActionHandler * actionHandler;
- CadToolBar * cadToolBar;
-
- private:
- Ui::CadToolBarEllipses ui;
};
#endif // __CADTOOLBARELLIPSES_H__