src/tools/selecttool.h

Fri, 17 Sep 2021 22:43:22 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 17 Sep 2021 22:43:22 +0300
changeset 131
e2080ac44039
parent 126
a7c720aff97c
child 143
7b62c52835a1
permissions
-rw-r--r--

add missing change to document.cpp

#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;
};

mercurial