Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeConfigWidgetBase.cpp
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2007 Jan Hambrecht <jaham@gmx.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
8
10 : m_resourceManager(0)
11{
12}
13
17
21
26
28{
29 return false;
30}
31
33{
34 return true;
35}
36
void setResourceManager(KoCanvasResourceProvider *rm)
called to set the canvas resource manager of the canvas the user used to insert the new shape.
virtual void setUnit(const KoUnit &unit)
KoCanvasResourceProvider * m_resourceManager
the resource provider with data for this canvas
virtual bool showOnShapeCreate()
Return true if the shape config panel should be shown after the shape is created.
virtual bool showOnShapeSelect()
Return true if the shape config panel should be shown when the shape is selected.
virtual KUndo2Command * createCommand()
Creates a command which applies all changes to the opened shape.