Krita Source Code Documentation
Loading...
Searching...
No Matches
StarShapeConfigWidget.h
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
7
#ifndef STARSHAPECONFIGWIDGET_H
8
#define STARSHAPECONFIGWIDGET_H
9
10
#include <ui_StarShapeConfigWidget.h>
11
12
#include <
KoShapeConfigWidgetBase.h
>
13
14
class
StarShape
;
15
16
class
StarShapeConfigWidget
:
public
KoShapeConfigWidgetBase
17
{
18
Q_OBJECT
19
public
:
20
StarShapeConfigWidget
();
22
void
open
(
KoShape
*shape)
override
;
24
void
save
()
override
;
26
void
setUnit
(
const
KoUnit
&unit)
override
;
28
bool
showOnShapeCreate
()
override
29
{
30
return
false
;
31
}
33
KUndo2Command
*
createCommand
()
override
;
34
35
private
Q_SLOTS:
36
void
typeChanged
();
37
private
:
38
Ui::StarShapeConfigWidget
widget
;
39
StarShape
*
m_star
{
nullptr
};
40
};
41
42
#endif
// STARSHAPECONFIGWIDGET_H
KoShapeConfigWidgetBase.h
KUndo2Command
Definition
kundo2stack.h:87
KoShapeConfigWidgetBase
Definition
KoShapeConfigWidgetBase.h:33
KoShape
Definition
KoShape.h:92
KoUnit
Definition
KoUnit.h:71
StarShapeConfigWidget
Definition
StarShapeConfigWidget.h:17
StarShapeConfigWidget::save
void save() override
reimplemented
Definition
StarShapeConfigWidget.cpp:54
StarShapeConfigWidget::m_star
StarShape * m_star
Definition
StarShapeConfigWidget.h:39
StarShapeConfigWidget::createCommand
KUndo2Command * createCommand() override
reimplemented
Definition
StarShapeConfigWidget.cpp:66
StarShapeConfigWidget::open
void open(KoShape *shape) override
reimplemented
Definition
StarShapeConfigWidget.cpp:30
StarShapeConfigWidget::showOnShapeCreate
bool showOnShapeCreate() override
reimplemented
Definition
StarShapeConfigWidget.h:28
StarShapeConfigWidget::widget
Ui::StarShapeConfigWidget widget
Definition
StarShapeConfigWidget.h:38
StarShapeConfigWidget::typeChanged
void typeChanged()
Definition
StarShapeConfigWidget.cpp:75
StarShapeConfigWidget::setUnit
void setUnit(const KoUnit &unit) override
reimplemented
Definition
StarShapeConfigWidget.cpp:24
StarShapeConfigWidget::StarShapeConfigWidget
StarShapeConfigWidget()
Definition
StarShapeConfigWidget.cpp:13
StarShape
Definition
StarShape.h:23
plugins
flake
pathshapes
star
StarShapeConfigWidget.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52