Krita Source Code Documentation
Loading...
Searching...
No Matches
EllipseShapeConfigWidget.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 ELLIPSESHAPECONFIGWIDGET_H
8#define ELLIPSESHAPECONFIGWIDGET_H
9
10#include "EllipseShape.h"
11#include <ui_EllipseShapeConfigWidget.h>
12
14#include <KoShape.h>
15
17{
18 Q_OBJECT
19public:
22 void open(KoShape *shape) override;
24 void save() override;
26 bool showOnShapeCreate() override
27 {
28 return false;
29 }
31 KUndo2Command *createCommand() override;
32
33 void notifyShapeChanged(KoShape::ChangeType type, KoShape *shape) override;
34
35private Q_SLOTS:
36 void closeEllipse();
37
38private:
40
41private:
42 Ui::EllipseShapeConfigWidget widget;
44};
45
46#endif // ELLIPSESHAPECONFIGWIDGET_H
void open(KoShape *shape) override
reimplemented
void loadPropertiesFromShape(EllipseShape *shape)
void notifyShapeChanged(KoShape::ChangeType type, KoShape *shape) override
KUndo2Command * createCommand() override
reimplemented
void save() override
reimplemented
Ui::EllipseShapeConfigWidget widget
bool showOnShapeCreate() override
reimplemented
ChangeType
Used by shapeChanged() to select which change was made.
Definition KoShape.h:95