|
|
KXYSelector is the base class for other widgets which provides the ability to choose from a two-dimensional range of values. The currently chosen value is indicated by a cross. An example is the KHSSelector which allows to choose from a range of colors, and which is used in KColorDialog.
A custom drawing routine for the widget surface has to be provided by the subclass.
|
Constructs a two-dimensional selector widget which has a value range of [0..100] in both directions.
~ |
Destructs the widget.
void |
Sets the current values in horizontal and vertical direction.
void |
Sets the range of possible values.
int |
Returns: the current value in horizontal direction.
int |
Returns: the current value in vertical direction.
QRect |
[const]
Returns: the rectangle on which subclasses should draw.
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 widget. The default implementation doesn nothing.
Draw within contentsRect() only.
void |
[protected virtual]
Override this function to draw the cursor which indicates the currently selected value pair.
void |
[protected virtual]
void |
[protected virtual]
void |
[protected virtual]
int |
[protected]
int |
[protected]
int |
[protected]
int |
[protected]
int |
[protected]
int |
[protected]
int |
[protected]
int |
[protected]
QPixmap |
[protected]
Generated by: baudens@ke.mandrakesoft.com on Thu Oct 26 17:36:26 2000, using kdoc 2.0a40. |