9#include <klocalizedstring.h>
15 widget.spiralType->clear();
16 widget.spiralType->addItem(i18n(
"Curve"));
17 widget.spiralType->addItem(i18n(
"Line"));
19 widget.fade->setMinimum(0.0);
20 widget.fade->setMaximum(1.0);
23 widget.clockWise->addItem(i18n(
"Clockwise"));
24 widget.clockWise->addItem(i18n(
"Anticlockwise"));
38 widget.spiralType->blockSignals(
true);
40 widget.fade->blockSignals(
true);
46 widget.spiralType->blockSignals(
false);
47 widget.clockWise->blockSignals(
false);
48 widget.fade->blockSignals(
false);
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
The undo / redo command for configuring a spiral shape.
SpiralType
the possible spiral types
void setType(SpiralType type)
void setClockWise(bool clockwise)
qreal fade() const
Returns the actual fade parameter.
SpiralType type() const
Returns the actual spiral type.