Krita Source Code Documentation
Loading...
Searching...
No Matches
KisColorSelectorBase Class Referenceabstract

Base class for all color selectors, that should support color management and zooming. More...

#include <kis_color_selector_base.h>

+ Inheritance diagram for KisColorSelectorBase:

Public Slots

virtual void reset ()
 
void showPopup (std::optional< QPoint > preferredCenter=std::nullopt)
 
virtual void updateSettings ()
 

Public Member Functions

const KoColorSpace * colorSpace () const
 
KisDisplayColorConverter * converter () const
 
void enterEvent (QEnterEvent *e) override
 
 KisColorSelectorBase (QWidget *parent=0)
 
void leaveEvent (QEvent *e) override
 
void mousePressEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *) override
 
void requestHideMyself ()
 
virtual void setCanvas (KisCanvas2 *canvas)
 
virtual void setColor (const KoColor &color)
 
void setColorSpace (const KoColorSpace *colorSpace)
 
void setPopupBehaviour (bool onMouseOver, bool onMouseClick)
 
void showColorPreview ()
 
void slotUpdateColorAndPreview (QPair< KoColor, Acs::ColorRole > color)
 
virtual void unsetCanvas ()
 
void updateBaseColorPreview (const KoColor &color)
 
void updateColor (const KoColor &color, Acs::ColorRole role, bool needsExplicitColorReset)
 
void updateColorPreview (const KoColor &color)
 
void updatePreviousColorPreview ()
 
 ~KisColorSelectorBase () override
 

Protected Slots

virtual void canvasResourceChanged (int key, const QVariant &v)
 if you overwrite this, keep in mind, that you should set the color only, if m_colorUpdateAllowed is true
 
void tryHideMyself ()
 
void updateLastUsedColorPreview (const KoColor &color)
 

Protected Member Functions

void changeEvent (QEvent *event) override
 
virtual KisColorSelectorBase * createPopup () const =0
 
void dragEnterEvent (QDragEnterEvent *) override
 
void dropEvent (QDropEvent *) override
 
bool isPopup () const
 
void keyPressEvent (QKeyEvent *) override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void requestUpdateColorAndPreview (const KoColor &color, Acs::ColorRole role)
 
void showEvent (QShowEvent *event) override
 

Protected Attributes

QPointer< KisCanvas2 > m_canvas
 
bool m_colorUpdateAllowed
 
bool m_colorUpdateSelf
 
QWidget * m_parent
 
KisColorSelectorBase * m_popup
 

Private Types

typedef KisSignalCompressorWithParam< QPair< KoColor, Acs::ColorRole > > ColorCompressorType
 

Private Member Functions

void commitColor (const KoColor &koColor, Acs::ColorRole role)
 
void lazyCreatePopup ()
 

Private Attributes

KisColorPreviewPopup * m_colorPreviewPopup
 
const KoColorSpace * m_colorSpace
 
bool m_hideOnMouseClick
 
QTimer * m_hideTimer
 
bool m_isPopup
 
bool m_popupOnMouseClick
 
bool m_popupOnMouseOver
 
QScopedPointer< ColorCompressorType > m_updateColorCompressor
 

Detailed Description

Base class for all color selectors, that should support color management and zooming.

Definition at line 28 of file kis_color_selector_base.h.

Member Typedef Documentation

◆ ColorCompressorType

Constructor & Destructor Documentation

◆ KisColorSelectorBase()

KisColorSelectorBase::KisColorSelectorBase ( QWidget * parent = 0)
explicit

Definition at line 183 of file kis_color_selector_base.cpp.

183 :
184 QWidget(parent),
185 m_canvas(0),
186 m_popup(0),
187 m_parent(0),
189 m_colorUpdateSelf(false),
190 m_hideTimer(new QTimer(this)),
191 m_popupOnMouseOver(false),
193 m_colorSpace(0),
194 m_isPopup(false),
195 m_hideOnMouseClick(false),
197{
198 m_hideTimer->setInterval(200);
199 m_hideTimer->setSingleShot(true);
200 connect(m_hideTimer, SIGNAL(timeout()), this, SLOT(tryHideMyself()));
201
202 using namespace std::placeholders; // For _1 placeholder
203 auto function = std::bind(&KisColorSelectorBase::slotUpdateColorAndPreview, this, _1);
204 m_updateColorCompressor.reset(new ColorCompressorType(25 /* ms */, function));
205
206 // Color selectors don't have context menus. Setting this prevents any
207 // long-presses from delaying inputs, see KisLongPressEventFilter.cpp.
208 setContextMenuPolicy(Qt::PreventContextMenu);
209}
KisColorSelectorBase * m_popup
const KoColorSpace * m_colorSpace
void slotUpdateColorAndPreview(QPair< KoColor, Acs::ColorRole > color)
KisColorPreviewPopup * m_colorPreviewPopup
QScopedPointer< ColorCompressorType > m_updateColorCompressor
QPointer< KisCanvas2 > m_canvas
KisSignalCompressorWithParam< QPair< KoColor, Acs::ColorRole > > ColorCompressorType

References m_hideTimer, m_updateColorCompressor, slotUpdateColorAndPreview(), and tryHideMyself().

◆ ~KisColorSelectorBase()

KisColorSelectorBase::~KisColorSelectorBase ( )
override

Definition at line 211 of file kis_color_selector_base.cpp.

212{
213 delete m_popup;
214 delete m_colorPreviewPopup;
215}

References m_colorPreviewPopup, and m_popup.

Member Function Documentation

◆ canvasResourceChanged

void KisColorSelectorBase::canvasResourceChanged ( int key,
const QVariant & v )
protectedvirtualslot

if you overwrite this, keep in mind, that you should set the color only, if m_colorUpdateAllowed is true

Definition at line 515 of file kis_color_selector_base.cpp.

516{
518 KoColor realColor(v.value<KoColor>());
519 updateColorPreview(realColor);
521 setColor(realColor);
522 }
523 }
524}
qreal v
void updateColorPreview(const KoColor &color)
virtual void setColor(const KoColor &color)
@ BackgroundColor
The active background color selected for this canvas.
@ ForegroundColor
The active foreground color selected for this canvas.

References KoCanvasResource::BackgroundColor, KoCanvasResource::ForegroundColor, m_colorUpdateAllowed, m_colorUpdateSelf, setColor(), updateColorPreview(), and v.

◆ changeEvent()

void KisColorSelectorBase::changeEvent ( QEvent * event)
overrideprotected

Definition at line 592 of file kis_color_selector_base.cpp.

593{
594 // hide the popup when another window becomes active, e.g. due to alt+tab
595 if(m_isPopup && event->type() == QEvent::ActivationChange && !isActiveWindow()) {
597 }
598
599 QWidget::changeEvent(event);
600}

References m_isPopup, and tryHideMyself().

◆ colorSpace()

const KoColorSpace * KisColorSelectorBase::colorSpace ( ) const

Definition at line 526 of file kis_color_selector_base.cpp.

527{
528 return converter()->paintingColorSpace();
529}
KisDisplayColorConverter * converter() const
const KoColorSpace * paintingColorSpace() const

References converter(), and KisDisplayColorConverter::paintingColorSpace().

◆ commitColor()

void KisColorSelectorBase::commitColor ( const KoColor & koColor,
Acs::ColorRole role )
private

Definition at line 488 of file kis_color_selector_base.cpp.

489{
490 if (!m_canvas)
491 return;
492
494
495 if (role == Acs::Foreground)
496 m_canvas->resourceManager()->setForegroundColor(color);
497 else
498 m_canvas->resourceManager()->setBackgroundColor(color);
499
501}
@ Foreground

References Acs::Foreground, m_canvas, and m_colorUpdateAllowed.

◆ converter()

KisDisplayColorConverter * KisColorSelectorBase::converter ( ) const

Definition at line 580 of file kis_color_selector_base.cpp.

581{
582 return m_canvas ?
583 m_canvas->displayColorConverter() :
585}
static KisDisplayColorConverter * dumbConverterInstance()

References KisDisplayColorConverter::dumbConverterInstance(), and m_canvas.

◆ createPopup()

virtual KisColorSelectorBase * KisColorSelectorBase::createPopup ( ) const
protectedpure virtual

◆ dragEnterEvent()

void KisColorSelectorBase::dragEnterEvent ( QDragEnterEvent * e)
overrideprotected

Definition at line 367 of file kis_color_selector_base.cpp.

368{
369 if(e->mimeData()->hasColor())
370 e->acceptProposedAction();
371 if(e->mimeData()->hasText() && QColor(e->mimeData()->text()).isValid())
372 e->acceptProposedAction();
373}

◆ dropEvent()

void KisColorSelectorBase::dropEvent ( QDropEvent * e)
overrideprotected

Definition at line 375 of file kis_color_selector_base.cpp.

376{
377 QColor color;
378 if(e->mimeData()->hasColor()) {
379 color = qvariant_cast<QColor>(e->mimeData()->colorData());
380 }
381 else if(e->mimeData()->hasText()) {
382#if QT_VERSION < QT_VERSION_CHECK(6, 4, 0)
383 color.setNamedColor(e->mimeData()->text());
384#else
385 color.fromString(e->mimeData()->text());
386#endif
387 if(!color.isValid())
388 return;
389 }
390
391 KoColor kocolor(color , KoColorSpaceRegistry::instance()->rgb8());
392 updateColor(kocolor, Acs::Foreground, true);
393}
void updateColor(const KoColor &color, Acs::ColorRole role, bool needsExplicitColorReset)
static KoColorSpaceRegistry * instance()

References Acs::Foreground, KoColorSpaceRegistry::instance(), and updateColor().

◆ enterEvent()

void KisColorSelectorBase::enterEvent ( QEnterEvent * e)
override

Definition at line 325 of file kis_color_selector_base.cpp.

327{
328
329 if (m_hideTimer->isActive()) {
330 m_hideTimer->stop();
331 }
332
333 // do not show the popup when boxed in
334 // the configuration dialog (m_canvas == 0)
335
336 if (m_canvas &&
338 (!m_popup || m_popup->isHidden())) {
339
341
342 const QPoint preferredCenter = mapToGlobal(rect().center());
343 showPopup(preferredCenter);
344 }
345
346#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
347 QWidget::enterEvent(e);
348#else
349 QEnterEvent *enterEvent = dynamic_cast<QEnterEvent*>(e);
350 QWidget::enterEvent(enterEvent);
351#endif
352
353}
void showPopup(std::optional< QPoint > preferredCenter=std::nullopt)
void enterEvent(QEnterEvent *e) override

◆ isPopup()

bool KisColorSelectorBase::isPopup ( ) const
inlineprotected

Definition at line 80 of file kis_color_selector_base.h.

80{ return m_isPopup; }

References m_isPopup.

◆ keyPressEvent()

void KisColorSelectorBase::keyPressEvent ( QKeyEvent * )
overrideprotected

Definition at line 362 of file kis_color_selector_base.cpp.

363{
365}

References tryHideMyself().

◆ lazyCreatePopup()

void KisColorSelectorBase::lazyCreatePopup ( )
private

Definition at line 420 of file kis_color_selector_base.cpp.

421{
422 if (!m_popup) {
424 Q_ASSERT(m_popup);
425 m_popup->setParent(this);
426
427 // Setting Qt::BypassWindowManagerHint will prevent
428 // the WM from showing another taskbar entry,
429 // but will require that we handle window activation manually
430 m_popup->setWindowFlags(Qt::FramelessWindowHint |
431 Qt::Popup |
432 Qt::NoDropShadowWindowHint |
433 Qt::BypassWindowManagerHint);
434 m_popup->m_parent = this;
435 m_popup->m_isPopup = true;
436 }
439}
virtual void setCanvas(KisCanvas2 *canvas)
virtual KisColorSelectorBase * createPopup() const =0

References createPopup(), m_canvas, m_isPopup, m_parent, m_popup, setCanvas(), and updateSettings().

◆ leaveEvent()

void KisColorSelectorBase::leaveEvent ( QEvent * e)
override

Definition at line 355 of file kis_color_selector_base.cpp.

356{
357 m_hideTimer->start();
358 QWidget::leaveEvent(e);
359 m_colorUpdateSelf = false;
360}

References m_colorUpdateSelf, and m_hideTimer.

◆ mouseMoveEvent()

void KisColorSelectorBase::mouseMoveEvent ( QMouseEvent * event)
overrideprotected

Definition at line 587 of file kis_color_selector_base.cpp.

588{
589 event->accept();
590}

◆ mousePressEvent()

void KisColorSelectorBase::mousePressEvent ( QMouseEvent * event)
override

Definition at line 281 of file kis_color_selector_base.cpp.

282{
283 event->accept();
284
286 event->button() == Qt::MiddleButton) {
287
289
290 m_colorUpdateSelf=false;
291 showPopup(event->globalPos());
292
293 } else if (m_isPopup && event->button() == Qt::MiddleButton) {
295 m_colorPreviewPopup->hide();
296 }
297 hide();
298 } else {
301 event->ignore();
302 }
303}

References lazyCreatePopup(), m_colorPreviewPopup, m_colorUpdateSelf, m_isPopup, m_popupOnMouseClick, showColorPreview(), and showPopup().

◆ mouseReleaseEvent()

void KisColorSelectorBase::mouseReleaseEvent ( QMouseEvent * e)
override

Definition at line 305 of file kis_color_selector_base.cpp.

305 {
306
307 Q_UNUSED(e);
308
309 if (e->button() == Qt::MiddleButton) {
310 e->accept();
311 } else if (m_isPopup &&
313 !m_hideTimer->isActive()) {
315 m_colorPreviewPopup->hide();
316 }
317 hide();
318 }
319
320 m_colorUpdateSelf = false;
321}

References m_colorPreviewPopup, m_colorUpdateSelf, m_hideOnMouseClick, m_hideTimer, m_isPopup, and m_popupOnMouseOver.

◆ requestHideMyself()

void KisColorSelectorBase::requestHideMyself ( )

Definition at line 474 of file kis_color_selector_base.cpp.

475{
476 m_hideTimer->start();
477}

References m_hideTimer.

◆ requestUpdateColorAndPreview()

void KisColorSelectorBase::requestUpdateColorAndPreview ( const KoColor & color,
Acs::ColorRole role )
protected

Definition at line 404 of file kis_color_selector_base.cpp.

405{
406 m_updateColorCompressor->start(qMakePair(color, role));
407}

References m_updateColorCompressor.

◆ reset

void KisColorSelectorBase::reset ( )
virtualslot

Flushes caches and redraws the selectors

Definition at line 560 of file kis_color_selector_base.cpp.

561{
562 update();
563}
bool update(QSpinBox *spinBox)

◆ setCanvas()

void KisColorSelectorBase::setCanvas ( KisCanvas2 * canvas)
virtual

Reimplemented in KisColorHistory, KisColorPatches, KisCommonColors, and KisMinimalShadeSelector.

Definition at line 235 of file kis_color_selector_base.cpp.

236{
237 if (m_canvas) {
238 m_canvas->disconnectCanvasObserver(this);
239 }
240 m_canvas = canvas;
241 if (m_canvas) {
242 connect(m_canvas->resourceManager(), SIGNAL(canvasResourceChanged(int,QVariant)),
243 SLOT(canvasResourceChanged(int,QVariant)), Qt::UniqueConnection);
244
245 connect(m_canvas->displayColorConverter(), SIGNAL(displayConfigurationChanged()),
246 SLOT(reset()), Qt::UniqueConnection);
247
248 connect(canvas->imageView()->resourceProvider(), SIGNAL(sigFGColorUsed(KoColor)),
249 this, SLOT(updateLastUsedColorPreview(KoColor)), Qt::UniqueConnection);
250
251 if (m_canvas->viewManager() && m_canvas->viewManager()->canvasResourceProvider()) {
252 const KoColor currentColor = Acs::currentColor(m_canvas->viewManager()->canvasResourceProvider(), Acs::Foreground);
253 setColor(currentColor);
254
255 auto colorHistory = m_canvas->viewManager()->canvasResourceProvider()->colorHistoryColors();
256 const KoColor lastUsedColor = !colorHistory.isEmpty() ? colorHistory.first() : currentColor;
257
258 const QColor currentQColor = converter()->toQColor(currentColor);
259 const QColor lastUsedQColor = converter()->toQColor(lastUsedColor);
260
261 m_colorPreviewPopup->initializeColors(currentQColor, lastUsedQColor);
262 }
263 }
264 if (m_popup) {
265 m_popup->setCanvas(canvas);
266 }
267
268 reset();
269}
QPointer< KisView > imageView() const
void initializeColors(const QColor &color, const QColor &lastUsedColor)
virtual void canvasResourceChanged(int key, const QVariant &v)
if you overwrite this, keep in mind, that you should set the color only, if m_colorUpdateAllowed is t...
void updateLastUsedColorPreview(const KoColor &color)
QColor toQColor(const KoColor &c, bool proofToPaintColors=false) const
KoColor currentColor(ResourceProvider *provider, ColorRole role)
const ColorPatches colorHistory
Definition WGConfig.cpp:213

References canvasResourceChanged(), converter(), Acs::currentColor(), Acs::Foreground, KisCanvas2::imageView(), KisColorPreviewPopup::initializeColors(), m_canvas, m_colorPreviewPopup, m_popup, reset(), setCanvas(), setColor(), KisDisplayColorConverter::toQColor(), and updateLastUsedColorPreview().

◆ setColor()

void KisColorSelectorBase::setColor ( const KoColor & color)
virtual

Reimplemented in KisColorSelector, KisMinimalShadeSelector, and KisMyPaintShadeSelector.

Definition at line 415 of file kis_color_selector_base.cpp.

416{
417 Q_UNUSED(color);
418}

◆ setColorSpace()

void KisColorSelectorBase::setColorSpace ( const KoColorSpace * colorSpace)

Definition at line 230 of file kis_color_selector_base.cpp.

231{
233}
const KoColorSpace * colorSpace() const

References colorSpace(), and m_colorSpace.

◆ setPopupBehaviour()

void KisColorSelectorBase::setPopupBehaviour ( bool onMouseOver,
bool onMouseClick )

Definition at line 217 of file kis_color_selector_base.cpp.

218{
219 m_popupOnMouseClick = onMouseClick;
220 m_popupOnMouseOver = onMouseOver;
221 if(onMouseClick) {
222 m_popupOnMouseOver = false;
223 }
224
226 setMouseTracking(true);
227 }
228}

References m_popupOnMouseClick, and m_popupOnMouseOver.

◆ showColorPreview()

void KisColorSelectorBase::showColorPreview ( )

◆ showEvent()

void KisColorSelectorBase::showEvent ( QShowEvent * event)
overrideprotected

Definition at line 602 of file kis_color_selector_base.cpp.

603{
604 QWidget::showEvent(event);
605
606 // manual activation required due to Qt::BypassWindowManagerHint
607 if(m_isPopup) {
608 activateWindow();
609 }
610}

References m_isPopup.

◆ showPopup

void KisColorSelectorBase::showPopup ( std::optional< QPoint > preferredCenter = std::nullopt)
slot

Definition at line 441 of file kis_color_selector_base.cpp.

442{
443 // This slot may be called by some action,
444 // so we need to be able to handle it
446
447 const QPoint preferredGlobalCenterPos = preferredCenter ? *preferredCenter : QCursor::pos();
448
449 m_popup->create();
450
451 const QPoint preferredGlobalTopLeft =
452 QPoint(preferredGlobalCenterPos.x() - m_popup->width() / 2, preferredGlobalCenterPos.y() - m_popup->height() / 2);
453
454#ifdef HAVE_WAYLAND
455 if (qApp->platformName() == "wayland") {
456 m_popup->move(preferredGlobalTopLeft);
457 } else
458#endif
459 {
460 const QRect availRect = this->screen()->availableGeometry();
461 QRect rc(preferredGlobalTopLeft, m_popup->size());
462 rc = kisEnsureInRect(rc, availRect);
463 m_popup->move(rc.topLeft());
464 }
465
467 m_colorPreviewPopup->hide();
468 }
469
470 m_popup->show();
472}
QRect kisEnsureInRect(QRect rc, const QRect &bounds)
Definition kis_global.h:291

References kisEnsureInRect(), lazyCreatePopup(), m_colorPreviewPopup, m_popup, and KisColorPreviewPopup::showAndAdjustPosition().

◆ slotUpdateColorAndPreview()

void KisColorSelectorBase::slotUpdateColorAndPreview ( QPair< KoColor, Acs::ColorRole > color)

Definition at line 409 of file kis_color_selector_base.cpp.

410{
411 updateColorPreview(color.first);
412 updateColor(color.first, color.second, false);
413}

References updateColor(), and updateColorPreview().

◆ tryHideMyself

void KisColorSelectorBase::tryHideMyself ( )
protectedslot

Definition at line 479 of file kis_color_selector_base.cpp.

480{
481 m_colorPreviewPopup->hide();
482
483 if (m_isPopup) {
484 hide();
485 }
486}

References m_colorPreviewPopup, and m_isPopup.

◆ unsetCanvas()

void KisColorSelectorBase::unsetCanvas ( )
virtual

Reimplemented in KisColorHistory, KisColorPatches, KisCommonColors, and KisMinimalShadeSelector.

Definition at line 271 of file kis_color_selector_base.cpp.

272{
273 if (m_popup) {
275 }
276 m_canvas = 0;
277}

References m_canvas, m_popup, and unsetCanvas().

◆ updateBaseColorPreview()

void KisColorSelectorBase::updateBaseColorPreview ( const KoColor & color)

Definition at line 565 of file kis_color_selector_base.cpp.

566{
567 m_colorPreviewPopup->setBaseColor(converter()->toQColor(color));
568}
void setBaseColor(const QColor &color)

References converter(), m_colorPreviewPopup, and KisColorPreviewPopup::setBaseColor().

◆ updateColor()

void KisColorSelectorBase::updateColor ( const KoColor & color,
Acs::ColorRole role,
bool needsExplicitColorReset )

Definition at line 395 of file kis_color_selector_base.cpp.

396{
397 commitColor(color, role);
398
399 if (needsExplicitColorReset) {
400 setColor(color);
401 }
402}
void commitColor(const KoColor &koColor, Acs::ColorRole role)

References commitColor(), and setColor().

◆ updateColorPreview()

void KisColorSelectorBase::updateColorPreview ( const KoColor & color)

Definition at line 510 of file kis_color_selector_base.cpp.

511{
512 m_colorPreviewPopup->setQColor(converter()->toQColor(color));
513}
void setQColor(const QColor &color)

References converter(), m_colorPreviewPopup, and KisColorPreviewPopup::setQColor().

◆ updateLastUsedColorPreview

void KisColorSelectorBase::updateLastUsedColorPreview ( const KoColor & color)
protectedslot

Definition at line 575 of file kis_color_selector_base.cpp.

576{
578}
void setLastUsedColor(const QColor &color)

References converter(), m_colorPreviewPopup, and KisColorPreviewPopup::setLastUsedColor().

◆ updatePreviousColorPreview()

void KisColorSelectorBase::updatePreviousColorPreview ( )

◆ updateSettings

void KisColorSelectorBase::updateSettings ( )
virtualslot

Definition at line 531 of file kis_color_selector_base.cpp.

532{
533 if(m_popup) {
535 }
536
537 KConfigGroup cfg = KSharedConfig::openConfig()->group("advancedColorSelector");
538
539
540 int zoomSelectorOptions = (int) cfg.readEntry("zoomSelectorOptions", 0) ;
541 if (zoomSelectorOptions == 0) {
542 setPopupBehaviour(false, true); // middle mouse button click will open zoom selector
543 } else if (zoomSelectorOptions == 1) {
544 setPopupBehaviour(true, false); // move over will open the zoom selector
545 }
546 else
547 {
548 setPopupBehaviour(false, false); // do not show zoom selector
549 }
550
551 if(m_isPopup) {
552 m_hideOnMouseClick = cfg.readEntry("hidePopupOnClickCheck", false);
553 const int zoomSize = cfg.readEntry("zoomSize", 280);
554 resize(zoomSize, zoomSize);
555 }
556
557 reset();
558}
void setPopupBehaviour(bool onMouseOver, bool onMouseClick)

References m_hideOnMouseClick, m_isPopup, m_popup, reset(), setPopupBehaviour(), and updateSettings().

Member Data Documentation

◆ m_canvas

QPointer<KisCanvas2> KisColorSelectorBase::m_canvas
protected

Definition at line 107 of file kis_color_selector_base.h.

◆ m_colorPreviewPopup

KisColorPreviewPopup* KisColorSelectorBase::m_colorPreviewPopup
private

Definition at line 122 of file kis_color_selector_base.h.

◆ m_colorSpace

const KoColorSpace* KisColorSelectorBase::m_colorSpace
mutableprivate

Definition at line 119 of file kis_color_selector_base.h.

◆ m_colorUpdateAllowed

bool KisColorSelectorBase::m_colorUpdateAllowed
protected

Definition at line 110 of file kis_color_selector_base.h.

◆ m_colorUpdateSelf

bool KisColorSelectorBase::m_colorUpdateSelf
protected

Definition at line 113 of file kis_color_selector_base.h.

◆ m_hideOnMouseClick

bool KisColorSelectorBase::m_hideOnMouseClick
private

Definition at line 121 of file kis_color_selector_base.h.

◆ m_hideTimer

QTimer* KisColorSelectorBase::m_hideTimer
private

Definition at line 116 of file kis_color_selector_base.h.

◆ m_isPopup

bool KisColorSelectorBase::m_isPopup
private

Definition at line 120 of file kis_color_selector_base.h.

◆ m_parent

QWidget* KisColorSelectorBase::m_parent
protected

Definition at line 109 of file kis_color_selector_base.h.

◆ m_popup

KisColorSelectorBase* KisColorSelectorBase::m_popup
protected

Definition at line 108 of file kis_color_selector_base.h.

◆ m_popupOnMouseClick

bool KisColorSelectorBase::m_popupOnMouseClick
private

Definition at line 118 of file kis_color_selector_base.h.

◆ m_popupOnMouseOver

bool KisColorSelectorBase::m_popupOnMouseOver
private

Definition at line 117 of file kis_color_selector_base.h.

◆ m_updateColorCompressor

QScopedPointer<ColorCompressorType> KisColorSelectorBase::m_updateColorCompressor
private

Definition at line 125 of file kis_color_selector_base.h.


The documentation for this class was generated from the following files: