|
|
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]
Reimplemented from QWidget for internal reasons; the API is not affected.
| void |
[protected: virtual]
Reimplemented from QWidget for internal reasons; the API is not affected.
| void |
[protected: virtual]
Reimplemented from QWidget for internal reasons; the API is not affected.
| int |
[protected: ]
| int |
[protected: ]
| int |
[protected: ]
| int |
[protected: ]
| int |
[protected: ]
| int |
[protected: ]
| int |
[protected: ]
| int |
[protected: ]
| QPixmap |
[protected: ]
| Generated by: masato@ss10 on Wed Apr 11 11:54:32 2001, using kdoc 2.0a48. |