Perceptual Color
wheelcolorpicker.cpp
12#include "chromalightnessdiagram_p.h" // IWYU pragma: keep // TODO Avoid this pragma by better design: not accessing private parts of other classes.
15#include "colorwheel_p.h" // IWYU pragma: keep // TODO Avoid this pragma by better design: not accessing private parts of other classes.
39WheelColorPicker::WheelColorPicker(const QSharedPointer<PerceptualColor::RgbColorSpace> &colorSpace, QWidget *parent)
Q_INVOKABLE AbstractDiagram(QWidget *parent=nullptr)
The constructor.
Definition abstractdiagram.cpp:28
void hueChanged(const qreal newHue)
Notify signal for property hue.
Complete wheel-based color picker widget.
Definition wheelcolorpicker.h:55
virtual QSize sizeHint() const override
Recommended minimum size for the widget.
Definition wheelcolorpicker.cpp:384
void currentColorCielchD50Changed(const PerceptualColor::GenericColor &newCurrentColorCielchD50)
Notify signal for property currentColorCielchD50.
void setCurrentColorCielchD50(const PerceptualColor::GenericColor &newCurrentColorCielchD50)
Setter for the currentColorCielchD50() property.
Definition wheelcolorpicker.cpp:329
PerceptualColor::GenericColor currentColorCielchD50
Currently selected color.
Definition wheelcolorpicker.h:66
virtual QSize minimumSizeHint() const override
Recommended size for the widget.
Definition wheelcolorpicker.cpp:347
Q_INVOKABLE WheelColorPicker(const QSharedPointer< PerceptualColor::RgbColorSpace > &colorSpace, QWidget *parent=nullptr)
Constructor.
Definition wheelcolorpicker.cpp:39
virtual void resizeEvent(QResizeEvent *event) override
React on a resize event.
Definition wheelcolorpicker.cpp:132
void focusChanged(QWidget *old, QWidget *now)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
QSize expandedTo(const QSize &otherSize) const const
qreal height() const const
qreal width() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
virtual bool event(QEvent *event) override
virtual void resizeEvent(QResizeEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.