org.kde.koala
public class KXYSelector extends QWidget
UNKNOWN: KXYSelector is the base class for other widgets which provides the ability to choose from a two-dimensional range of values.
Constructor Summary | |
---|---|
protected | KXYSelector(Class dummy) |
KXYSelector(QWidget parent, String name)
Constructs a two-dimensional selector widget which
has a value range of [0..100] in both directions. | |
KXYSelector(QWidget parent) | |
KXYSelector() |
Method Summary | |
---|---|
String | className() |
QRect | contentsRect() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | drawContents(QPainter arg1)
Override this function to draw the contents of the widget.
|
protected void | drawCursor(QPainter p, int xp, int yp)
Override this function to draw the cursor which
indicates the currently selected value pair. |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
protected void | mouseMoveEvent(QMouseEvent e) |
protected void | mousePressEvent(QMouseEvent e) |
protected void | paintEvent(QPaintEvent e) |
void | setRange(int minX, int minY, int maxX, int maxY)
Sets the range of possible values. |
void | setValues(int xPos, int yPos)
Sets the current values in horizontal and
vertical direction. |
void | setXValue(int xPos)
Sets the current horizontal value |
void | setYValue(int yPos)
Sets the current vertical value |
protected void | valuesFromPosition(int x, int y, int[] xVal, int[] yVal)
Converts a pixel position to its corresponding values. |
protected void | wheelEvent(QWheelEvent arg1) |
int | xValue() |
int | yValue() |
UNKNOWN: Constructs a two-dimensional selector widget which has a value range of [0.
Returns: the rectangle on which subclasses should draw.
UNKNOWN:
UNKNOWN: Override this function to draw the contents of the widget.
UNKNOWN: Override this function to draw the cursor which indicates the currently selected value pair.
UNKNOWN: Sets the range of possible values.
Parameters: xPos the horizontal value yPos the veritcal value
UNKNOWN: Sets the current values in horizontal and vertical direction.
Parameters: xPos the horizontal value
UNKNOWN: Sets the current horizontal value
Parameters: yPos the veritcal value
UNKNOWN: Sets the current vertical value
UNKNOWN: Converts a pixel position to its corresponding values.
Returns: the current value in horizontal direction.
UNKNOWN:
Returns: the current value in vertical direction.
UNKNOWN: