10 class MainWindow
: public CANVAS
{
13 QGraphicsScene
* m_scene
;
16 QList
<Element
*> m_elements
;
22 void mousePressEvent(QMouseEvent
*);
23 void resizeEvent(QResizeEvent
*);
25 MainWindow(QWidget
* parent
);
27 void addElement(const QPoint
& p
);
32 #endif // MAINWINDOW_H