Perceptual Color
colorpatch.cpp
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
float alphaF() const const
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
Antialiasing
void fillRect(const QRect &rectangle, QGradient::Preset preset)
void setRenderHint(RenderHint hint, bool on)
ColorGroup
WindowText
QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags)
void setDevicePixelRatio(qreal scaleFactor)
int x() const const
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)
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 resize(const QSize &)
void setSizePolicy(QSizePolicy)
QStyle * style() const const
void update()
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.