21 , m_growValue(config->getInt(
"x-radius", 1))
31 spbGrowValue->setFocus();
32 spbGrowValue->setVisible(
true);
33 spbGrowValueDouble->setVisible(
false);
66 spbGrowValue->setVisible(
false);
67 spbGrowValueDouble->setVisible(
true);
69 spbGrowValue->setVisible(
true);
70 spbGrowValueDouble->setVisible(
false);
78 spbGrowValueDouble->blockSignals(
true);
80 spbGrowValueDouble->blockSignals(
false);
83 spbGrowValue->blockSignals(
true);
84 spbGrowValue->setValue(selectedUnit.
toUserValue(finalValue));
85 spbGrowValue->blockSignals(
false);
float value(const T *src, size_t ch)
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
void addWidget(QWidget *widget)
KisImageWSP image() const
Return the image this view is displaying.
qreal fromUserValue(qreal value) const
static KoUnit fromListForUi(int index, ListOptions listOptions=ListAll, qreal factor=1.0)
@ Point
Postscript point, 1/72th of an Inco.
static QStringList listOfUnitNameForUi(ListOptions listOptions=ListAll)
Returns the list of unit types for the UI, controlled with the given listOptions.
qreal toUserValue(qreal ptValue, bool rounding=true) const
void updateGrowUIValue(double value)
void slotGrowValueChanged(int value)
WdgGrowSelection(QWidget *parent, KisViewManager *view, KisOperationConfigurationSP config)
void slotUnitChanged(int index)
void getConfiguration(KisOperationConfigurationSP config) override