karbon
VColorSlider Class Reference
#include <vcolorslider.h>
Detailed Description
This is the color slider widget that is used to select color or color components.It combines a label, a gradient selector and a spinbox.
Definition at line 35 of file vcolorslider.h.
Public Slots | |
virtual void | setLabel (const QString &label) |
virtual void | setColors (const QColor &color1, const QColor &color2) |
virtual void | setValue (int value) |
virtual void | setMinValue (int value) |
virtual void | setMaxValue (int value) |
int | value () |
Signals | |
void | valueChanged (int value) |
Public Member Functions | |
VColorSlider (QWidget *parent=0L, const char *name=0L) | |
VColorSlider (const QString &label, const QColor &col1, const QColor &col2, int min, int max, int value, QWidget *parent=0L, const char *name=0L) | |
~VColorSlider () | |
bool | isDragging () |
Constructor & Destructor Documentation
|
Constructs a new color slider.
Definition at line 30 of file vcolorslider.cc. |
|
Constructs a new color slider.
Definition at line 37 of file vcolorslider.cc. |
|
Destroys the color slider.
Definition at line 49 of file vcolorslider.cc. |
Member Function Documentation
|
Reflects if the slider is still being dragged while the color changes.
Definition at line 70 of file vcolorslider.h. |
|
Sets the colors for the slider.
Definition at line 83 of file vcolorslider.cc. |
|
Sets the description of the slider.
Definition at line 78 of file vcolorslider.cc. |
|
Sets the maximum value of the spinbox and slider.
Definition at line 101 of file vcolorslider.cc. |
|
Sets the minimum value of the spinbox and slider.
Definition at line 94 of file vcolorslider.cc. |
|
Sets the value of the spinbox (and the value of the vcolorslider).
Definition at line 88 of file vcolorslider.cc. |
|
Retrieves the actual value of the spinbox and slider.
Definition at line 108 of file vcolorslider.cc. |
|
Is emitted whenever the slider or spinbox value has changed. Use isDragging to know if the slider is still being dragged.
|
The documentation for this class was generated from the following files: