src/tools/selecttool.h

Tue, 24 May 2022 16:11:10 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 24 May 2022 16:11:10 +0300
changeset 188
64ea7282611e
parent 185
a38a0eb007b0
permissions
-rw-r--r--

more work on circle tool + cleanup

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

class SelectTool : public BaseTool
{
	Q_OBJECT

public:
	Q_INVOKABLE SelectTool(Document *document);
	QString name() const override;
	QString toolTip() const override;
	bool mouseClick(Canvas*, QMouseEvent*) override;
	QWidget* toolWidget() override;
	void selectionChanged(const QSet<ldraw::id_t> &newSelection) override;
	QString iconName() const override;
	ObjectEditor* objectEditor;
};

mercurial