#include <KisHighlightedToolButton.h>
Definition at line 15 of file KisHighlightedToolButton.h.
◆ KisHighlightedToolButton()
| KisHighlightedToolButton::KisHighlightedToolButton |
( |
QWidget * | parent = 0 | ) |
|
|
inline |
◆ changeEvent()
| void KisHighlightedToolButton::changeEvent |
( |
QEvent * | event | ) |
|
|
inlineoverride |
Definition at line 23 of file KisHighlightedToolButton.h.
23 {
24 QWidget::changeEvent(event);
25 if (event->type() == QEvent::PaletteChange) {
27 }
28 }
◆ checkStateSet()
| void KisHighlightedToolButton::checkStateSet |
( |
| ) |
|
|
inlineoverrideprotected |
◆ nextCheckState()
| void KisHighlightedToolButton::nextCheckState |
( |
| ) |
|
|
inlineoverrideprotected |
◆ updatePalette()
| void KisHighlightedToolButton::updatePalette |
( |
| ) |
|
|
inlineprivate |
Definition at line 42 of file KisHighlightedToolButton.h.
42 {
43 QWidget *
parent = this->parentWidget();
44 if (parent) {
46 QColor color =
p.color(this->isChecked() ? QPalette::Highlight : QPalette::Button);
47 p.setColor(QPalette::Button, color);
49 }
50 }
ChildIterator< value_type, is_const > parent(const ChildIterator< value_type, is_const > &it)
References p.
The documentation for this class was generated from the following file: