KDEUI
kselector.h
Go to the documentation of this file.
117 friend class Private;
201 friend class KGradientSelectorPrivate;
void setStops(const QGradientStops &stops)
Sets the colors that make up the gradient.
Definition kselector.cpp:376
void setText(const QString &t1, const QString &t2)
Definition kselector.cpp:394
void setColors(const QColor &col1, const QColor &col2)
Sets the two colors which span the gradient.
Definition kselector.cpp:387
virtual void drawContents(QPainter *)
Override this function to draw the contents of the control.
Definition kselector.cpp:328
KGradientSelector(QWidget *parent=0)
Constructs a horizontal color selector which contains a gradient between white and black.
Definition kselector.cpp:310
void setArrowDirection(Qt::ArrowType direction)
Sets the arrow direction.
Definition kselector.cpp:231
virtual void mouseReleaseEvent(QMouseEvent *e)
Definition kselector.cpp:170
virtual void drawContents(QPainter *)
Override this function to draw the contents of the control.
Definition kselector.cpp:287
virtual void drawArrow(QPainter *painter, const QPoint &pos)
Override this function to draw the cursor which indicates the current value.
Definition kselector.cpp:290
KSelector(QWidget *parent=0)
Constructs a horizontal one-dimensional selection widget.
Definition kselector.cpp:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.