src/tools/selecttool.h

Sun, 29 Aug 2021 20:05:24 +0300

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

esc with draw mode now clears the polygon

#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