src/tools/basetool.cpp

Sat, 05 Mar 2022 13:38:22 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 05 Mar 2022 13:38:22 +0200
changeset 164
8305e2f968fb
parent 163
36ea1a8aee33
permissions
-rw-r--r--

Render draw tool preview as a line when we only have 2 points

#include "basetool.h"
#include "document.h"

BaseTool::BaseTool(Document *document) :
	QObject{document},
	parentWidget{document},
	document{document}
{
}

QString BaseTool::iconName() const
{
	return "";
}

mercurial