|
|
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.
| Orientation |
[const]
Returns: the orientation of the widget.
| QRect |
[const]
Returns: the rectangle on which subclasses should draw.
| void |
Sets the indent option of the widget to i. This determines whether a shaded frame is drawn.
| bool |
[const]
Returns: whether the indent option is set.
| void |
[signal]
This signal is emitted whenever the user chooses a value, e. g. by clicking with the mouse on the widget.
| void |
[protected virtual]
Override this function to draw the contents of the control. The default implementation doesn nothing.
Draw only within contentsRect().
| void |
[protected virtual]
Override this function to draw the cursor which indicates the currently value. This function is always called twice, once with argument show=false to clear the old cursor, once with argument show=true to draw the new one.
| void |
[protected virtual]
@reimplemented
Reimplemented from QRangeControl
| void |
[protected virtual]
@reimplemented
Reimplemented from QWidget
| void |
[protected virtual]
@reimplemented
Reimplemented from QWidget
| void |
[protected virtual]
@reimplemented
Reimplemented from QWidget
| Generated by: ssk@tauon.ph.unimelb.EDU.AU on Wed May 23 04:29:58 2001, using kdoc 2.0a35. |