8#include <klocalizedstring.h>
15 , m_newStartAngle(startAngle)
16 , m_newEndAngle(endAngle)
The undo / redo command for configuring an ellipse shape.
EllipseShape::EllipseType m_newType
void undo() override
revert the actions done in redo
void redo() override
redo the command
EllipseShape::EllipseType m_oldType
EllipseShapeConfigCommand(EllipseShape *ellipse, EllipseShape::EllipseType type, qreal startAngle, qreal startEndAngle, KUndo2Command *parent=0)
bool mergeWith(const KUndo2Command *command) override
void setType(EllipseType type)
qreal startAngle() const
Returns the actual ellipse start angle in degree.
void setStartAngle(qreal angle)
qreal endAngle() const
Returns the actual ellipse end angle in degree.
void setEndAngle(qreal angle)
EllipseType type() const
Returns the actual ellipse type.
EllipseType
the possible ellipse types
void setText(const KUndo2MagicString &text)
void update() const override
reimplemented
KUndo2MagicString kundo2_i18n(const char *text)