--- a/src/document.h Wed May 25 17:56:30 2022 +0300 +++ b/src/document.h Wed May 25 18:29:49 2022 +0300 @@ -44,11 +44,17 @@ const ldraw::ColorTable& colorTable; Canvas* const canvas; Q_SLOT void editingModeTriggered(); + Q_SLOT void canvasMouseClick(QMouseEvent* event); + Q_SLOT void canvasMouseMove(QMouseEvent* event); + void select(const QSet<ldraw::id_t> &selected); + EditingMode mode; + DrawState drawState; Q_SIGNALS: void newStatusText(const QString& newStatusText); void splitterChanged(); private: void initializeTools(); + void closeShape(); Model* model; DocumentManager* const documents; VertexMap vertexMap;