org.kde.koala
public class KSelector extends QWidget implements QRangeControlInterface
UNKNOWN: KSelector is the base class for other widgets which provides the ability to choose from a one-dimensional range of values.
| Constructor Summary | |
|---|---|
| protected | KSelector(Class dummy) |
| KSelector(QWidget parent, String name)
Constructs a horizontal one-dimensional selection widget. | |
| KSelector(QWidget parent) | |
| KSelector() | |
| KSelector(int o, QWidget parent, String name)
Constructs a one-dimensional selection widget with
a given orientation. | |
| KSelector(int o, QWidget parent) | |
| KSelector(int o) | |
| Method Summary | |
|---|---|
| void | addLine() |
| void | addPage() |
| int | bound(int arg1) |
| String | className() |
| QRect | contentsRect() |
| protected void | directSetValue(int val) |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | drawArrow(QPainter painter, boolean show, QPoint pos)
Override this function to draw the cursor which
indicates the current value. |
| protected void | drawContents(QPainter arg1)
Override this function to draw the contents of the control.
|
| protected void | finalize() Deletes the wrapped C++ instance |
| boolean | indent() |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| int | lineStep() |
| int | maxValue() |
| QMetaObject | metaObject() |
| int | minValue() |
| protected void | mouseMoveEvent(QMouseEvent e) |
| protected void | mousePressEvent(QMouseEvent e) |
| int | orientation() |
| int | pageStep() |
| protected void | paintEvent(QPaintEvent arg1) |
| protected int | positionFromValue(int val, int space) |
| protected int | prevValue() |
| protected void | rangeChange() |
| void | setIndent(boolean i)
Sets the indent option of the widget to i.
|
| void | setMaxValue(int value)
Sets the max value. |
| void | setMinValue(int value)
Sets the min value. |
| void | setRange(int minValue, int maxValue) |
| void | setSteps(int line, int page) |
| void | setValue(int value)
Sets the value. |
| protected void | stepChange() |
| void | subtractLine() |
| void | subtractPage() |
| int | value() |
| protected void | valueChange() |
| protected int | valueFromPosition(int pos, int space) |
| protected void | wheelEvent(QWheelEvent arg1) |
UNKNOWN: Constructs a horizontal one-dimensional selection widget.
UNKNOWN: Constructs a one-dimensional selection widget with a given orientation.
Returns: the rectangle on which subclasses should draw.
UNKNOWN:
UNKNOWN: Override this function to draw the cursor which indicates the current value.
UNKNOWN: Override this function to draw the contents of the control.
Returns: whether the indent option is set.
UNKNOWN:
Returns: the max value.
UNKNOWN:
Returns: the min value.
UNKNOWN:
Returns: the orientation of the widget.
UNKNOWN:
UNKNOWN: Sets the indent option of the widget to i.
UNKNOWN: Sets the max value.
UNKNOWN: Sets the min value.
UNKNOWN: Sets the value.
Returns: the value.
UNKNOWN: