src/tools/selecttool.h

Wed, 25 May 2022 12:01:58 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 25 May 2022 12:01:58 +0300
changeset 189
815fbaae9cb2
parent 185
a38a0eb007b0
permissions
-rw-r--r--

cleanup, gl::Compiler changed to gl::ModelShaders

#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