Perceptual Color
chromahuediagram.h
142 Q_PROPERTY(GenericColor currentColorCielchD50 READ currentColorCielchD50 WRITE setCurrentColorCielchD50 NOTIFY currentColorCielchD50Changed)
145 Q_INVOKABLE explicit ChromaHueDiagram(const QSharedPointer<PerceptualColor::RgbColorSpace> &colorSpace, QWidget *parent = nullptr);
159 void currentColorCielchD50Changed(const PerceptualColor::GenericColor &newCurrentColorCielchD50);
Q_INVOKABLE AbstractDiagram(QWidget *parent=nullptr)
The constructor.
Definition abstractdiagram.cpp:28
virtual void mouseMoveEvent(QMouseEvent *event) override
React on a mouse move event.
Definition chromahuediagram.cpp:164
virtual void wheelEvent(QWheelEvent *event) override
React on a mouse wheel event.
Definition chromahuediagram.cpp:237
void currentColorCielchD50Changed(const PerceptualColor::GenericColor &newCurrentColorCielchD50)
Notify signal for property currentColorCielchD50.
virtual QSize minimumSizeHint() const override
Recommended minimum size for the widget.
Definition chromahuediagram.cpp:379
virtual void keyPressEvent(QKeyEvent *event) override
React on key press events.
Definition chromahuediagram.cpp:304
virtual void paintEvent(QPaintEvent *event) override
Paint the widget.
Definition chromahuediagram.cpp:629
virtual void mousePressEvent(QMouseEvent *event) override
React on a mouse press event.
Definition chromahuediagram.cpp:110
virtual void mouseReleaseEvent(QMouseEvent *event) override
React on a mouse release event.
Definition chromahuediagram.cpp:209
virtual void resizeEvent(QResizeEvent *event) override
React on a resize event.
Definition chromahuediagram.cpp:462
Q_INVOKABLE ChromaHueDiagram(const QSharedPointer< PerceptualColor::RgbColorSpace > &colorSpace, QWidget *parent=nullptr)
The constructor.
Definition chromahuediagram.cpp:41
virtual QSize sizeHint() const override
Recommended size for the widget.
Definition chromahuediagram.cpp:367
void setCurrentColorCielchD50(const PerceptualColor::GenericColor &newCurrentColorCielchD50)
Setter for the currentColorCielchD50 property.
Definition chromahuediagram.cpp:400
This file provides support for C++ symbol import and export.
#define PERCEPTUALCOLOR_IMPORTEXPORT
A macro that either exports dynamic library symbols or imports dynamic library symbols or does nothin...
Definition importexport.h:154
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
virtual bool event(QEvent *event) override
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.