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