|
| DColorValueSelector (Qt::Orientation o, QWidget *const parent=nullptr) |
|
| DColorValueSelector (QWidget *const parent=nullptr) |
|
DColorChooserMode | chooserMode () const |
| Returns the current chooser mode.
|
|
int | colorValue () const |
| Returns the current color value.
|
|
int | hue () const |
| Returns the current hue value.
|
|
int | saturation () const |
| Returns the current saturation value.
|
|
void | setChooserMode (DColorChooserMode chooserMode) |
| Sets the chooser mode.
|
|
void | setColorValue (int colorValue) |
| Sets the color value.
|
|
void | setHue (int hue) |
| Sets the hue value.
|
|
void | setSaturation (int saturation) |
| Sets the saturation value.
|
|
void | updateContents () |
| Updates the widget's contents.
|
|
| DSelector (Qt::Orientation o, QWidget *const parent=nullptr) |
|
| DSelector (QWidget *const parent=nullptr) |
|
Qt::ArrowType | arrowDirection () const |
|
QRect | contentsRect () const |
|
bool | indent () const |
|
void | setArrowDirection (Qt::ArrowType direction) |
| Sets the arrow direction.
|
|
void | setIndent (bool i) |
| Sets the indent option of the widget to i.
|
|
|
void | drawContents (QPainter *) override |
| Reimplemented from DSelector.
|
|
virtual void | drawPalette (QPixmap *) |
| Draws the contents of the widget on a pixmap, which is used for buffering.
|
|
void | resizeEvent (QResizeEvent *) override |
|
virtual void | drawArrow (QPainter *painter, const QPoint &pos) |
| Override this function to draw the cursor which indicates the current value.
|
|
void | mouseMoveEvent (QMouseEvent *e) override |
|
void | mousePressEvent (QMouseEvent *e) override |
|
void | mouseReleaseEvent (QMouseEvent *e) override |
|
void | paintEvent (QPaintEvent *) override |
|
void | wheelEvent (QWheelEvent *) override |
|