Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dmitry Kazakov
Krita
Commits
29718fd0
Commit
29718fd0
authored
Apr 15, 2016
by
Scott Petrovic
Browse files
fix icons on configure toolbar window
parent
00d208c1
Changes
1
Show whitespace changes
Inline
Side-by-side
libs/widgetutils/xmlgui/kedittoolbar.cpp
View file @
29718fd0
...
@@ -1053,23 +1053,23 @@ void KEditToolBarWidgetPrivate::setupLayout()
...
@@ -1053,23 +1053,23 @@ void KEditToolBarWidgetPrivate::setupLayout()
// The buttons in the middle
// The buttons in the middle
m_upAction
=
new
QToolButton
(
m_widget
);
m_upAction
=
new
QToolButton
(
m_widget
);
m_upAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QStringLiteral
(
"
go
-up"
)));
m_upAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QStringLiteral
(
"
arrow
-up"
)));
m_upAction
->
setEnabled
(
false
);
m_upAction
->
setEnabled
(
false
);
m_upAction
->
setAutoRepeat
(
true
);
m_upAction
->
setAutoRepeat
(
true
);
QObject
::
connect
(
m_upAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotUpButton
()));
QObject
::
connect
(
m_upAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotUpButton
()));
m_insertAction
=
new
QToolButton
(
m_widget
);
m_insertAction
=
new
QToolButton
(
m_widget
);
m_insertAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QApplication
::
isRightToLeft
()
?
QStringLiteral
(
"
go-previous
"
)
:
QLatin1String
(
"
go-nex
t"
)));
m_insertAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QApplication
::
isRightToLeft
()
?
QStringLiteral
(
"
arrow-left
"
)
:
QLatin1String
(
"
arrow-righ
t"
)));
m_insertAction
->
setEnabled
(
false
);
m_insertAction
->
setEnabled
(
false
);
QObject
::
connect
(
m_insertAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotInsertButton
()));
QObject
::
connect
(
m_insertAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotInsertButton
()));
m_removeAction
=
new
QToolButton
(
m_widget
);
m_removeAction
=
new
QToolButton
(
m_widget
);
m_removeAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QApplication
::
isRightToLeft
()
?
QStringLiteral
(
"
go-nex
t"
)
:
QLatin1String
(
"
go-previous
"
)));
m_removeAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QApplication
::
isRightToLeft
()
?
QStringLiteral
(
"
arrow-righ
t"
)
:
QLatin1String
(
"
arrow-left
"
)));
m_removeAction
->
setEnabled
(
false
);
m_removeAction
->
setEnabled
(
false
);
QObject
::
connect
(
m_removeAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotRemoveButton
()));
QObject
::
connect
(
m_removeAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotRemoveButton
()));
m_downAction
=
new
QToolButton
(
m_widget
);
m_downAction
=
new
QToolButton
(
m_widget
);
m_downAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QStringLiteral
(
"
go
-down"
)));
m_downAction
->
setIcon
(
KisIconUtils
::
loadIcon
(
QStringLiteral
(
"
arrow
-down"
)));
m_downAction
->
setEnabled
(
false
);
m_downAction
->
setEnabled
(
false
);
m_downAction
->
setAutoRepeat
(
true
);
m_downAction
->
setAutoRepeat
(
true
);
QObject
::
connect
(
m_downAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotDownButton
()));
QObject
::
connect
(
m_downAction
,
SIGNAL
(
clicked
()),
m_widget
,
SLOT
(
slotDownButton
()));
...
...
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