org.kde.koala
public class KIntNumInput extends KNumInput
Version: $Id: KIntNumInput.java 473384 2005-10-23 14:17:09Z rdale $
UNKNOWN: An input widget for integer numbers, consisting of a spinbox and a slider.
Constructor Summary | |
---|---|
protected | KIntNumInput(Class dummy) |
KIntNumInput(QWidget parent, String name)
Constructs an input control for integer values
with base 10 and initial value 0. | |
KIntNumInput(QWidget parent) | |
KIntNumInput() | |
KIntNumInput(int value, QWidget parent, int base, String name)
Constructor
It constructs a QSpinBox that allows the input of integer numbers
in the range of -INT_MAX to +INT_MAX. | |
KIntNumInput(int value, QWidget parent, int base) | |
KIntNumInput(int value, QWidget parent) | |
KIntNumInput(int value) | |
KIntNumInput(KNumInput below, int value, QWidget parent, int base, String name)
Constructor
the difference to the one above is the "below" parameter. | |
KIntNumInput(KNumInput below, int value, QWidget parent, int base) | |
KIntNumInput(KNumInput below, int value, QWidget parent) | |
KIntNumInput(KNumInput below, int value) |
Method Summary | |
---|---|
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | doLayout() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
int | maxValue() |
QMetaObject | metaObject() |
QSize | minimumSizeHint()
This method returns the minimum size necessary to display the
control. |
int | minValue() |
String | prefix() |
int | referencePoint() |
double | relativeValue() |
protected void | resizeEvent(QResizeEvent arg1) |
void | setEditFocus(boolean mark)
sets focus to the edit widget and marks all text in if mark == true |
void | setEditFocus() |
void | setLabel(String label, int a) |
void | setLabel(String label) |
void | setMaxValue(int max)
Sets the maximum value. |
void | setMinValue(int min)
Sets the minimum value. |
void | setPrefix(String prefix)
Sets the prefix to prefix.
Use null to disable this feature.
|
void | setRange(int min, int max, int step, boolean slider) |
void | setRange(int min, int max, int step) |
void | setRange(int min, int max) |
void | setReferencePoint(int arg1)
Sets the reference point for relativeValue. |
void | setRelativeValue(double arg1)
Sets the value in units of the referencePoint |
void | setSpecialValueText(String text)
Sets the special value text. |
void | setSuffix(String suffix)
Sets the suffix to suffix.
Use null to disable this feature.
|
void | setValue(int arg1)
Sets the value of the control. |
String | specialValueText() |
String | suffix() |
int | value() |
UNKNOWN: Constructs an input control for integer values with base 10 and initial value 0.
Parameters: value initial value for the control base numeric base used for display parent parent QWidget name internal name for this widget
UNKNOWN: Constructor It constructs a QSpinBox that allows the input of integer numbers in the range of -INT_MAX to +INT_MAX.
Parameters: below append KIntNumInput to the KNumInput chain value initial value for the control base numeric base used for display parent parent QWidget name internal name for this widget
UNKNOWN: Constructor
Returns: the maximum value.
UNKNOWN:
Returns: the minimum size necessary to show the control
UNKNOWN: This method returns the minimum size necessary to display the control.
Returns: the minimum value.
UNKNOWN:
Returns: the current reference point
UNKNOWN:
Returns: the curent value in units of the referencePoint.
UNKNOWN:
UNKNOWN: sets focus to the edit widget and marks all text in if mark == true
UNKNOWN: Sets the maximum value.
UNKNOWN: Sets the minimum value.
prefix.
Use null to disable this feature.
Formatting has to be provided (see above).See Also: org.kde.qt.QSpinBox#setPrefix KIntNumInput
UNKNOWN: Sets the prefix to prefix.
Parameters: min minimum value max maximum value step step size for the QSlider slider whether the slider is created or not
UNKNOWN:
UNKNOWN: Sets the reference point for relativeValue.
UNKNOWN: Sets the value in units of the referencePoint
UNKNOWN: Sets the special value text.
suffix.
Use null to disable this feature.
Formatting has to be provided (e.g. a space separator between the
prepended value
and the suffix's text has to be provided
as the first character in the suffix).See Also: org.kde.qt.QSpinBox#setSuffix KIntNumInput
UNKNOWN: Sets the suffix to suffix.
UNKNOWN: Sets the value of the control.
Returns: the current value.
UNKNOWN: