Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Tusooa Zhu
Krita
Commits
e082b84a
Commit
e082b84a
authored
Sep 05, 2014
by
Scott Petrovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove multiplier to make brush size easier
Signed-off-by:
Scott Petrovic
<
scottpetrovic@gmail.com
>
parent
fd622141
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
krita/plugins/paintops/libpaintop/forms/wdgautobrush.ui
krita/plugins/paintops/libpaintop/forms/wdgautobrush.ui
+1
-1
krita/plugins/paintops/libpaintop/kis_auto_brush_widget.cpp
krita/plugins/paintops/libpaintop/kis_auto_brush_widget.cpp
+1
-3
krita/plugins/paintops/libpaintop/kis_brush_chooser.cpp
krita/plugins/paintops/libpaintop/kis_brush_chooser.cpp
+3
-4
krita/plugins/paintops/libpaintop/kis_brush_chooser.h
krita/plugins/paintops/libpaintop/kis_brush_chooser.h
+1
-1
No files found.
krita/plugins/paintops/libpaintop/forms/wdgautobrush.ui
View file @
e082b84a
...
...
@@ -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=
"Kis
Multipliers
DoubleSliderSpinBox"
name=
"inputRadius"
native=
"true"
>
<widget
class=
"KisDoubleSliderSpinBox"
name=
"inputRadius"
native=
"true"
>
<property
name=
"minimumSize"
>
<size>
<width>
200
</width>
...
...
krita/plugins/paintops/libpaintop/kis_auto_brush_widget.cpp
View file @
e082b84a
...
...
@@ -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
)));
...
...
krita/plugins/paintops/libpaintop/kis_brush_chooser.cpp
View file @
e082b84a
...
...
@@ -101,11 +101,10 @@ KisBrushChooser::KisBrushChooser(QWidget *parent, const char *name)
setObjectName
(
name
);
m_lbSize
=
new
QLabel
(
i18n
(
"Size:"
),
this
);
m_slSize
=
new
Kis
Multipliers
DoubleSliderSpinBox
(
this
);
m_slSize
->
setRange
(
0.0
,
10.0
,
2
);
m_slSize
=
new
KisDoubleSliderSpinBox
(
this
);
m_slSize
->
setRange
(
0.0
,
10
00
.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
)));
...
...
krita/plugins/paintops/libpaintop/kis_brush_chooser.h
View file @
e082b84a
...
...
@@ -68,7 +68,7 @@ private:
QLabel
*
m_lbSize
;
QLabel
*
m_lbSpacing
;
KisDoubleSliderSpinBox
*
m_slRotation
;
Kis
Multipliers
DoubleSliderSpinBox
*
m_slSize
;
KisDoubleSliderSpinBox
*
m_slSize
;
KisSpacingSelectionWidget
*
m_slSpacing
;
QCheckBox
*
m_chkColorMask
;
KisBrushSP
m_brush
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment