#include <kis_shade_selector_line_combo_box_popup.h>
◆ ~KisShadeSelectorLineComboBoxPopup()
| KisShadeSelectorLineComboBoxPopup::~KisShadeSelectorLineComboBoxPopup |
( |
| ) |
|
|
override |
◆ KisShadeSelectorLineComboBoxPopup()
| KisShadeSelectorLineComboBoxPopup::KisShadeSelectorLineComboBoxPopup |
( |
QWidget * | parent | ) |
|
◆ activateItem
| void KisShadeSelectorLineComboBoxPopup::activateItem |
( |
QWidget * | widget | ) |
|
|
privateslot |
◆ mouseMoveEvent()
| void KisShadeSelectorLineComboBoxPopup::mouseMoveEvent |
( |
QMouseEvent * | e | ) |
|
|
overrideprivate |
◆ mousePressEvent()
| void KisShadeSelectorLineComboBoxPopup::mousePressEvent |
( |
QMouseEvent * | e | ) |
|
|
overrideprivate |
◆ paintEvent()
| void KisShadeSelectorLineComboBoxPopup::paintEvent |
( |
QPaintEvent * | | ) |
|
|
overrideprivate |
Definition at line 109 of file kis_shade_selector_line_combo_box_popup.cpp.
110{
111 QPainter painter(this);
113 KConfigGroup cfg = KSharedConfig::openConfig()->group("advancedColorSelector");
114
115 if (cfg.readEntry("useCustomColorForBackground", false)) {
116 p.fillRect(0,0,width(), height(), cfg.readEntry(
"customSelectorBackgroundColor", QColor(Qt::gray)));
117 } else {
118 p.fillRect(0,0,width(), height(), qApp->palette().window().color());
119 }
121
124}
rgba palette[MAX_PALETTE]
References m_highlightedArea, m_selectedArea, p, and palette.
◆ setConfiguration()
| void KisShadeSelectorLineComboBoxPopup::setConfiguration |
( |
const QString & | string | ) |
|
◆ updateHighlightedArea()
| void KisShadeSelectorLineComboBoxPopup::updateHighlightedArea |
( |
const QRect & | newRect | ) |
|
|
private |
◆ updateSelectedArea()
| void KisShadeSelectorLineComboBoxPopup::updateSelectedArea |
( |
const QRect & | newRect | ) |
|
|
private |
◆ m_highlightedArea
| QRect KisShadeSelectorLineComboBoxPopup::m_highlightedArea |
|
private |
◆ m_lastHighlightedItem
◆ m_lastSelectedItem
◆ m_lineEditor
◆ m_parentProxy
◆ m_selectedArea
| QRect KisShadeSelectorLineComboBoxPopup::m_selectedArea |
|
private |
◆ spacing
| const int KisShadeSelectorLineComboBoxPopup::spacing |
The documentation for this class was generated from the following files: