KWidgetsAddons
kcolorbutton.cpp
void changed(const QColor &newColor)
Emitted when the color of the widget is changed, either with setColor() or via user selection.
bool isAlphaChannelEnabled() const
Returns true if the user is allowed to change the alpha component.
Definition kcolorbutton.cpp:150
void setAlphaChannelEnabled(bool alpha)
When set to true, allow the user to change the alpha component of the color.
Definition kcolorbutton.cpp:145
KCALUTILS_EXPORT bool fromMimeData(const QMimeData *e, const KCalendarCore::Calendar::Ptr &cal)
KCALUTILS_EXPORT bool canDecode(const QMimeData *)
KCALUTILS_EXPORT bool populateMimeData(QMimeData *e, const KCalendarCore::Calendar::Ptr &cal)
KGUIADDONS_EXPORT QDrag * createDrag(const QColor &color, QObject *dragsource)
bool isChecked() const const
void clicked(bool checked)
bool isDown() const const
virtual void mousePressEvent(QMouseEvent *e) override
startDragDistance
Clipboard
void setMimeData(QMimeData *src, Mode mode)
int alpha() const const
bool isValid() const const
QString name(NameFormat format) const const
ShowAlphaChannel
void setCurrentColor(const QColor &color)
QColor selectedColor() const const
void setOption(ColorDialogOption option, bool on)
void accepted()
Qt::DropAction exec(Qt::DropActions supportedActions)
void setHotSpot(const QPoint &hotspot)
void setMimeData(QMimeData *data)
void setPixmap(const QPixmap &pixmap)
QClipboard * clipboard()
int key() const const
Qt::KeyboardModifiers modifiers() const const
QList< QKeySequence > keyBindings(StandardKey key)
QVariant colorData() const const
bool hasColor() const const
bool hasText() const const
void setColorData(const QVariant &color)
void setText(const QString &text)
QString text() const const
QPoint pos() const const
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
T * data() const const
bool isDefault() const const
virtual bool event(QEvent *e) override
virtual void keyPressEvent(QKeyEvent *e) override
void adjust(int dx1, int dy1, int dx2, int dy2)
void getRect(int *x, int *y, int *width, int *height) const const
Qt::MouseButtons buttons() const const
qsizetype length() const const
CT_PushButton
CE_PushButtonBevel
PM_ButtonMargin
PE_FrameFocusRect
State_Sunken
SE_PushButtonContents
virtual void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const const=0
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const const=0
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
virtual QRect subElementRect(SubElement element, const QStyleOption *option, const QWidget *widget) const const=0
void initFrom(const QWidget *widget)
black
LeftButton
WA_DeleteOnClose
T value() const const
void activateWindow()
QPalette::ColorRole backgroundRole() const const
bool isEnabled() const const
bool hasFocus() const const
palette
void raise()
rect
void setAttribute(Qt::WidgetAttribute attribute, bool on)
void show()
QStyle * style() const const
void update()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.