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 512 of file kis_color_selector_base.cpp.

513{
515 KoColor realColor(v.value<KoColor>());
516 updateColorPreview(realColor);
518 setColor(realColor);
519 }
520 }
521}
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 589 of file kis_color_selector_base.cpp.

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

References m_isPopup, and tryHideMyself().

◆ colorSpace()

const KoColorSpace * KisColorSelectorBase::colorSpace ( ) const

Definition at line 523 of file kis_color_selector_base.cpp.

524{
525 return converter()->paintingColorSpace();
526}
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 485 of file kis_color_selector_base.cpp.

486{
487 if (!m_canvas)
488 return;
489
491
492 if (role == Acs::Foreground)
493 m_canvas->resourceManager()->setForegroundColor(color);
494 else
495 m_canvas->resourceManager()->setBackgroundColor(color);
496
498}
@ Foreground

References Acs::Foreground, m_canvas, and m_colorUpdateAllowed.

◆ converter()

KisDisplayColorConverter * KisColorSelectorBase::converter ( ) const

Definition at line 577 of file kis_color_selector_base.cpp.

578{
579 return m_canvas ?
580 m_canvas->displayColorConverter() :
582}
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 364 of file kis_color_selector_base.cpp.

365{
366 if(e->mimeData()->hasColor())
367 e->acceptProposedAction();
368 if(e->mimeData()->hasText() && QColor(e->mimeData()->text()).isValid())
369 e->acceptProposedAction();
370}

◆ dropEvent()

void KisColorSelectorBase::dropEvent ( QDropEvent * e)
overrideprotected

Definition at line 372 of file kis_color_selector_base.cpp.

373{
374 QColor color;
375 if(e->mimeData()->hasColor()) {
376 color = qvariant_cast<QColor>(e->mimeData()->colorData());
377 }
378 else if(e->mimeData()->hasText()) {
379#if QT_VERSION < QT_VERSION_CHECK(6, 4, 0)
380 color.setNamedColor(e->mimeData()->text());
381#else
382 color.fromString(e->mimeData()->text());
383#endif
384 if(!color.isValid())
385 return;
386 }
387
388 KoColor kocolor(color , KoColorSpaceRegistry::instance()->rgb8());
389 updateColor(kocolor, Acs::Foreground, true);
390}
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 323 of file kis_color_selector_base.cpp.

325{
326
327 if (m_hideTimer->isActive()) {
328 m_hideTimer->stop();
329 }
330
331 // do not show the popup when boxed in
332 // the configuration dialog (m_canvas == 0)
333
334 if (m_canvas &&
336 (!m_popup || m_popup->isHidden())) {
337
339
340 const QPoint preferredCenter = mapToGlobal(rect().center());
341 showPopup(preferredCenter);
342 }
343
344#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
345 QWidget::enterEvent(e);
346#else
347 QEnterEvent *enterEvent = dynamic_cast<QEnterEvent*>(e);
348 QWidget::enterEvent(enterEvent);
349#endif
350
351}
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 359 of file kis_color_selector_base.cpp.

360{
362}

References tryHideMyself().

◆ lazyCreatePopup()

void KisColorSelectorBase::lazyCreatePopup ( )
private

Definition at line 417 of file kis_color_selector_base.cpp.

418{
419 if (!m_popup) {
421 Q_ASSERT(m_popup);
422 m_popup->setParent(this);
423
424 // Setting Qt::BypassWindowManagerHint will prevent
425 // the WM from showing another taskbar entry,
426 // but will require that we handle window activation manually
427 m_popup->setWindowFlags(Qt::FramelessWindowHint |
428 Qt::Popup |
429 Qt::NoDropShadowWindowHint |
430 Qt::BypassWindowManagerHint);
431 m_popup->m_parent = this;
432 m_popup->m_isPopup = true;
433 }
436}
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 353 of file kis_color_selector_base.cpp.

354{
355 m_hideTimer->start();
356 QWidget::leaveEvent(e);
357}

References m_hideTimer.

◆ mouseMoveEvent()

void KisColorSelectorBase::mouseMoveEvent ( QMouseEvent * event)
overrideprotected

Definition at line 584 of file kis_color_selector_base.cpp.

585{
586 event->accept();
587}

◆ 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}

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

◆ requestHideMyself()

void KisColorSelectorBase::requestHideMyself ( )

Definition at line 471 of file kis_color_selector_base.cpp.

472{
473 m_hideTimer->start();
474}

References m_hideTimer.

◆ requestUpdateColorAndPreview()

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

Definition at line 401 of file kis_color_selector_base.cpp.

402{
403 m_updateColorCompressor->start(qMakePair(color, role));
404}

References m_updateColorCompressor.

◆ reset

void KisColorSelectorBase::reset ( )
virtualslot

Flushes caches and redraws the selectors

Definition at line 557 of file kis_color_selector_base.cpp.

558{
559 update();
560}
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 412 of file kis_color_selector_base.cpp.

413{
414 Q_UNUSED(color);
415}

◆ 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 599 of file kis_color_selector_base.cpp.

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

References m_isPopup.

◆ showPopup

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

Definition at line 438 of file kis_color_selector_base.cpp.

439{
440 // This slot may be called by some action,
441 // so we need to be able to handle it
443
444 const QPoint preferredGlobalCenterPos = preferredCenter ? *preferredCenter : QCursor::pos();
445
446 m_popup->create();
447
448 const QPoint preferredGlobalTopLeft =
449 QPoint(preferredGlobalCenterPos.x() - m_popup->width() / 2, preferredGlobalCenterPos.y() - m_popup->height() / 2);
450
451#ifdef HAVE_WAYLAND
452 if (qApp->platformName() == "wayland") {
453 m_popup->move(preferredGlobalTopLeft);
454 } else
455#endif
456 {
457 const QRect availRect = this->screen()->availableGeometry();
458 QRect rc(preferredGlobalTopLeft, m_popup->size());
459 rc = kisEnsureInRect(rc, availRect);
460 m_popup->move(rc.topLeft());
461 }
462
464 m_colorPreviewPopup->hide();
465 }
466
467 m_popup->show();
469}
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 406 of file kis_color_selector_base.cpp.

407{
408 updateColorPreview(color.first);
409 updateColor(color.first, color.second, false);
410}

References updateColor(), and updateColorPreview().

◆ tryHideMyself

void KisColorSelectorBase::tryHideMyself ( )
protectedslot

Definition at line 476 of file kis_color_selector_base.cpp.

477{
478 m_colorPreviewPopup->hide();
479
480 if (m_isPopup) {
481 hide();
482 }
483}

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 562 of file kis_color_selector_base.cpp.

563{
564 m_colorPreviewPopup->setBaseColor(converter()->toQColor(color));
565}
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 392 of file kis_color_selector_base.cpp.

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

References commitColor(), and setColor().

◆ updateColorPreview()

void KisColorSelectorBase::updateColorPreview ( const KoColor & color)

Definition at line 507 of file kis_color_selector_base.cpp.

508{
509 m_colorPreviewPopup->setQColor(converter()->toQColor(color));
510}
void setQColor(const QColor &color)

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

◆ updateLastUsedColorPreview

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

Definition at line 572 of file kis_color_selector_base.cpp.

573{
575}
void setLastUsedColor(const QColor &color)

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

◆ updatePreviousColorPreview()

void KisColorSelectorBase::updatePreviousColorPreview ( )

◆ updateSettings

void KisColorSelectorBase::updateSettings ( )
virtualslot

Definition at line 528 of file kis_color_selector_base.cpp.

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