org.kde.koala
public class KDoubleNumInput extends KNumInput
See Also: KIntNumInput KDoubleSpinBox
UNKNOWN: An input control for real numbers, consisting of a spinbox and a slider.
Constructor Summary | |
---|---|
protected | KDoubleNumInput(Class dummy) |
KDoubleNumInput(QWidget parent, String name)
Constructs an input control for double values
with initial value 0.00. | |
KDoubleNumInput(QWidget parent) | |
KDoubleNumInput() | |
KDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent, String name)
Constructor | |
KDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent) | |
KDoubleNumInput(double lower, double upper, double value, double step, int precision) | |
KDoubleNumInput(double lower, double upper, double value, double step) | |
KDoubleNumInput(double lower, double upper, double value) | |
KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent, String name)
Constructor
the difference here is the "below" parameter. | |
KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent) | |
KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision) | |
KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step) | |
KDoubleNumInput(KNumInput below, double lower, double upper, double value) |
Method Summary | |
---|---|
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | doLayout() |
boolean | eventFilter(QObject arg1, QEvent arg2) |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
double | maxValue() |
QMetaObject | metaObject() |
QSize | minimumSizeHint() |
double | minValue() |
int | precision() |
String | prefix() |
double | referencePoint() |
double | relativeValue() |
protected void | resetEditBox() |
protected void | resizeEvent(QResizeEvent arg1) |
void | setLabel(String label, int a) |
void | setLabel(String label) |
void | setMaxValue(double max)
Sets the maximum value. |
void | setMinValue(double min)
Sets the minimum value. |
void | setPrecision(int precision)
Specifies the number of digits to use. |
void | setPrefix(String prefix)
Sets the prefix to be displayed to prefix. Use null to disable
this feature. |
void | setRange(double min, double max, double step, boolean slider) |
void | setRange(double min, double max, double step) |
void | setRange(double min, double max) |
void | setReferencePoint(double ref)
Sets the reference Point to ref. It ref == 0, emitting of
relativeValueChanged is blocked and relativeValue
just returns 0. |
void | setRelativeValue(double arg1)
Sets the value in units of referencePoint. |
void | setSpecialValueText(String text)
Sets the special value text. |
void | setSuffix(String suffix)
Sets the suffix to be displayed to suffix. Use null to disable
this feature. |
void | setValue(double arg1)
Sets the value of the control. |
String | specialValueText() |
String | suffix() |
double | value() |
UNKNOWN: Constructs an input control for double values with initial value 0.
Parameters: lower lower boundary value upper upper boundary value value initial value for the control step step size to use for up/down arrow clicks precision number of digits after the decimal point parent parent QWidget name internal name for this widget
UNKNOWN: Constructor
Parameters: below append KDoubleNumInput to the KDoubleNumInput chain lower lower boundary value upper upper boundary value value initial value for the control step step size to use for up/down arrow clicks precision number of digits after the decimal point parent parent QWidget name internal name for this widget
UNKNOWN: Constructor
Returns: the maximum value.
UNKNOWN:
Returns: the minimum value.
UNKNOWN:
Returns: the reference point for relativeValue calculation
UNKNOWN:
Returns: the current value in units of referencePoint.
UNKNOWN:
UNKNOWN: Sets the maximum value.
UNKNOWN: Sets the minimum value.
UNKNOWN: Specifies the number of digits to use.
prefix.
Use null to disable
this feature. Note that the prefix is attached to the value without any
spacing.See Also: KDoubleNumInput
UNKNOWN: Sets the prefix to be displayed to prefix.
Parameters: min minimum value max maximum value step step size for the QSlider slider whether the slider is created or not
UNKNOWN:
ref.
It ref
== 0, emitting of
relativeValueChanged is blocked and relativeValue
just returns 0.UNKNOWN: Sets the reference Point to ref.
UNKNOWN: Sets the value in units of referencePoint.
UNKNOWN: Sets the special value text.
suffix.
Use null to disable
this feature. Note that the suffix is attached to the value without any
spacing. So if you prefer to display a space separator, set suffix
to something like " cm".See Also: KDoubleNumInput
UNKNOWN: Sets the suffix to be displayed to suffix.
UNKNOWN: Sets the value of the control.
Returns: the current value.
UNKNOWN: