src/tools/selecttool.h

Sun, 29 Aug 2021 20:39:55 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 29 Aug 2021 20:39:55 +0300
changeset 125
f127982d3412
parent 121
000781318c36
child 126
a7c720aff97c
permissions
-rw-r--r--

Move tools under Document instead of MainWindow

#pragma once
#include "basetool.h"

class SelectTool : public BaseTool
{
	Q_OBJECT

public:
	Q_INVOKABLE SelectTool(QObject* parent = nullptr);

	QString name() const override;
	QString toolTip() const override;
	bool mouseClick(Document*, Canvas*, QMouseEvent*) override;
};

mercurial