org.kde.koala
public class KNumInput extends QWidget
UNKNOWN: You need to inherit from this class if you want to implement K NumInput for a different variable type
Constructor Summary | |
---|---|
protected | KNumInput(Class dummy) |
Method Summary | |
---|---|
String | className() |
String | label() |
QMetaObject | metaObject() |
void | setLabel(String label, int a)
Sets the text and alignment of the main description label. |
void | setLabel(String label) |
void | setSteps(int minor, int major)
Sets the spacing of tickmarks for the slider. |
boolean | showSlider() |
QSize | sizeHint()
Returns a size which fits the contents of the control. |
QSizePolicy | sizePolicy()
Specifies that this widget may stretch horizontally, but is
fixed vertically (like QSpinBox itself). |
Returns: the text of the label.
UNKNOWN:
Parameters: label The text of the label.
Use null to remove an existing one. a one of AlignLeft
, AlignHCenter
, YAlignRight and
AlignTop
, AlignVCenter
, AlignBottom.
default is AlignLeft
| AlignTop.
The vertical alignment flags have special meaning with this
widget:
AlignTop
The label is placed above the edit/slider
AlignVCenter
The label is placed left beside the edit
AlignBottom
The label is placed below the edit/slider
UNKNOWN: Sets the text and alignment of the main description label.
Parameters: minor Minor tickmark separation. major Major tickmark separation.
UNKNOWN: Sets the spacing of tickmarks for the slider.
Returns: if the num input has a slider.
UNKNOWN:
Returns: the preferred size necessary to show the control
UNKNOWN: Returns a size which fits the contents of the control.
UNKNOWN: Specifies that this widget may stretch horizontally, but is fixed vertically (like QSpinBox itself).