DrawingView(QWidget * parent = NULL);
public:
- void SetRotateToolActive(bool state = true);
+// void SetRotateToolActive(bool state = true);
void SetToolActive(Action * action);
void SetGridSize(uint32_t);
void UpdateGridBackground(void);
public slots:
void AddNewObjectToDocument(Object *);
+ void HandleActionUpdate(void);
void SetCurrentLayer(int);
protected:
void mousePressEvent(QMouseEvent * event);
void mouseMoveEvent(QMouseEvent * event);
void mouseReleaseEvent(QMouseEvent * event);
+ void wheelEvent(QWheelEvent * event);
void keyPressEvent(QKeyEvent * event);
void keyReleaseEvent(QKeyEvent * event);
bool collided;
//Should this go into Object's class variables???
//maybe, maybe not... :-P
- bool rotateTool;
- double rx, ry;
+// bool rotateTool;
+// double rx, ry;
bool scrollDrag;
Vector oldPoint;
// bool addLineTool;
public:
Action * toolAction;
+
+// public:
+// static Container document;
};
#endif // __DRAWINGVIEW_H__
+