class KSelector |
|
KSelector is the base class for other widgets which
provides the ability to choose from a one-dimensional
range of values. An example is the KGradientSelector
which allows to choose from a range of colors.
A custom drawing routine for the widget surface has to be provided by the subclass. |
|
Constructs a horizontal one-dimensional selection widget. |
|
Constructs a one-dimensional selection widget with a given orientation. |
|
|
|
|
Returns the current arrow direction |
|
Returns the rectangle on which subclasses should draw. |
|
Override this function to draw the cursor which indicates the current value. |
|
Override this function to draw the contents of the control.
The default implementation does nothing.
Draw only within contentsRect(). |
|
Returns whether the indent option is set. |
|
|
|
|
|
Sets the arrow direction. |
|
Sets the indent option of the widget to i. This determines whether a shaded frame is drawn. |
|