#include <KoToolBoxButton_p.h>
Definition at line 14 of file KoToolBoxButton_p.h.
◆ KoToolBoxButton()
| KoToolBoxButton::KoToolBoxButton |
( |
KoToolAction * | toolAction, |
|
|
QWidget * | parent ) |
|
explicit |
◆ attachAction()
| void KoToolBoxButton::attachAction |
( |
QAction * | action | ) |
|
◆ setDataFromToolAction()
| void KoToolBoxButton::setDataFromToolAction |
( |
QAction * | action | ) |
|
|
private |
◆ setHighlightColor()
| void KoToolBoxButton::setHighlightColor |
( |
| ) |
|
Definition at line 45 of file KoToolBoxButton.cpp.
46{
47 QPalette
p = qApp->palette();
48 if (isChecked()) {
49 QPalette palette_highlight(
p);
50 QColor c =
p.color(QPalette::Highlight);
51 palette_highlight.setColor(QPalette::Button, c);
52 setPalette(palette_highlight);
53 }
54 else {
56 }
57}
References p.
◆ slotUpdateActionData
| void KoToolBoxButton::slotUpdateActionData |
( |
| ) |
|
|
privateslot |
◆ m_toolAction
The documentation for this class was generated from the following files: