Sun, 12 Sep 2021 12:14:32 +0300
Moved automatic grid adjusting into a new action
#pragma once #include "basetool.h" #include "ui/objecteditor.h" class SelectTool : public BaseTool { Q_OBJECT public: Q_INVOKABLE SelectTool(Model* model, QObject* parent = nullptr); QString name() const override; QString toolTip() const override; bool mouseClick(Document*, Canvas*, QMouseEvent*) override; QWidget* toolWidget() override; void selectionChanged(const QSet<ldraw::id_t> &newSelection) override; ObjectEditor objectEditor; };