Perceptual Color
colorpatch.cpp
Q_INVOKABLE AbstractDiagram(QWidget *parent=nullptr)
The constructor.
Definition abstractdiagram.cpp:28
virtual QSize minimumSizeHint() const override
Provide the minimum size hint.
Definition colorpatch.cpp:90
virtual void mouseMoveEvent(QMouseEvent *event) override
React on a mouse press event.
Definition colorpatch.cpp:324
virtual void mousePressEvent(QMouseEvent *event) override
React on a mouse move event.
Definition colorpatch.cpp:312
virtual void dragEnterEvent(QDragEnterEvent *event) override
Accepts drag events for colors.
Definition colorpatch.cpp:355
virtual void resizeEvent(QResizeEvent *event) override
Handle resize events.
Definition colorpatch.cpp:132
void colorChanged(const QColor &color)
Notify signal for property color.
virtual void dropEvent(QDropEvent *event) override
Accepts drag events for colors.
Definition colorpatch.cpp:372
startDragDistance
bool isValid() const const
Qt::DropAction exec(Qt::DropActions supportedActions)
void setMimeData(QMimeData *data)
void setPixmap(const QPixmap &pixmap)
Sunken
StyledPanel
Format_ARGB32_Premultiplied
QRect rect() const const
void setPixmap(const QPixmap &)
void setColorData(const QVariant &color)
Q_EMITQ_EMIT
QObject * parent() const const
Antialiasing
ColorGroup
WindowText
QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags)
void setDevicePixelRatio(qreal scaleFactor)
int height() const const
int width() const const
int height() const const
int width() const const
Minimum
CT_ToolButton
PM_ButtonIconSize
virtual int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const const=0
virtual QSize sizeFromContents(ContentsType type, const QStyleOption *option, const QSize &contentsSize, const QWidget *widget) const const=0
void initFrom(const QWidget *widget)
typedef Alignment
CopyAction
transparent
RightToLeft
LeftButton
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)
QWidget(QWidget *parent, Qt::WindowFlags f)
void setAcceptDrops(bool on)
QRect contentsRect() const const
void ensurePolished() const const
virtual bool event(QEvent *event) override
font
height
virtual void mousePressEvent(QMouseEvent *event)
void setSizePolicy(QSizePolicy)
QStyle * style() const const
void update()
width
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.