Commit e082b84a authored by Scott Petrovic's avatar Scott Petrovic

remove multiplier to make brush size easier

Signed-off-by: Scott Petrovic's avatarScott Petrovic <scottpetrovic@gmail.com>
parent fd622141
......@@ -144,7 +144,7 @@
<item row="0" column="1">
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,1">
<item row="0" column="1" colspan="2">
<widget class="KisMultipliersDoubleSliderSpinBox" name="inputRadius" native="true">
<widget class="KisDoubleSliderSpinBox" name="inputRadius" native="true">
<property name="minimumSize">
<size>
<width>200</width>
......
......@@ -50,9 +50,7 @@ KisAutoBrushWidget::KisAutoBrushWidget(QWidget *parent, const char* name)
connect((QObject*)comboBoxShape, SIGNAL(activated(int)), this, SLOT(paramChanged()));
inputRadius->setRange(0.0, 10.0, 2);
inputRadius->addMultiplier(10.0);
inputRadius->addMultiplier(100.0);
inputRadius->setRange(0.0, 1000.0, 2);
inputRadius->setExponentRatio(3.0);
inputRadius->setValue(5.0);
connect(inputRadius, SIGNAL(valueChanged(qreal)), this, SLOT(spinBoxRadiusChanged(qreal)));
......
......@@ -101,11 +101,10 @@ KisBrushChooser::KisBrushChooser(QWidget *parent, const char *name)
setObjectName(name);
m_lbSize = new QLabel(i18n("Size:"), this);
m_slSize = new KisMultipliersDoubleSliderSpinBox(this);
m_slSize->setRange(0.0, 10.0, 2);
m_slSize = new KisDoubleSliderSpinBox(this);
m_slSize->setRange(0.0, 1000.0, 2);
m_slSize->setValue(5.0);
m_slSize->addMultiplier(10);
m_slSize->addMultiplier(100);
m_slSize->setExponentRatio(3.0);
QObject::connect(m_slSize, SIGNAL(valueChanged(qreal)), this, SLOT(slotSetItemSize(qreal)));
......
......@@ -68,7 +68,7 @@ private:
QLabel* m_lbSize;
QLabel* m_lbSpacing;
KisDoubleSliderSpinBox* m_slRotation;
KisMultipliersDoubleSliderSpinBox* m_slSize;
KisDoubleSliderSpinBox* m_slSize;
KisSpacingSelectionWidget* m_slSpacing;
QCheckBox* m_chkColorMask;
KisBrushSP m_brush;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment