src/tools/selecttool.h

Tue, 28 Sep 2021 23:09:09 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 28 Sep 2021 23:09:09 +0300
changeset 146
235941b7322f
parent 143
7b62c52835a1
child 152
03f8e6d42e13
permissions
-rw-r--r--

remove outdated comment

#pragma once
#include "basetool.h"
#include "ui/objecteditor.h"

class SelectTool : public BaseTool
{
	Q_OBJECT

public:
	Q_INVOKABLE SelectTool(Model* model, QWidget* 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;
};

mercurial