libyui-qt
2.43.3
|
Signals | |
void | valueChanged (int newValue) |
Public Member Functions | |
YQIntField (YWidget *parent, const std::string &label, int minValue, int maxValue, int initialValue) | |
virtual | ~YQIntField () |
virtual int | value () |
virtual void | setLabel (const std::string &label) |
virtual void | setEnabled (bool enabled) |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual bool | setKeyboardFocus () |
Protected Slots | |
void | valueChangedSlot (int newValue) |
Protected Member Functions | |
virtual void | setValueInternal (int val) |
Protected Attributes | |
YQWidgetCaption * | _caption |
QSpinBox * | _qt_spinBox |
Definition at line 39 of file YQIntField.h.
YQIntField::YQIntField | ( | YWidget * | parent, |
const std::string & | label, | ||
int | minValue, | ||
int | maxValue, | ||
int | initialValue | ||
) |
|
virtual |
Destructor.
Definition at line 78 of file YQIntField.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 133 of file YQIntField.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 126 of file YQIntField.cc.
|
virtual |
Sets the widget's enabled state.
Inherited from YWidget.
Definition at line 117 of file YQIntField.cc.
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 147 of file YQIntField.cc.
|
virtual |
Set the label (the caption above the input field).
Reimplemented from YIntField.
Definition at line 109 of file YQIntField.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 140 of file YQIntField.cc.
|
protectedvirtual |
Set the current value (the number entered by the user or set from the outside) of this IntField. 'val' is guaranteed to be between minValue and maxValue; no further checks are required.
Implemented from YIntField.
Definition at line 92 of file YQIntField.cc.
|
virtual |
Get the current value (the number entered by the user or set from the outside) of this IntField.
Implemented from YIntField.
Definition at line 85 of file YQIntField.cc.
|
signal |
Emitted when the value changes (regardless of the notify flag).
|
protectedslot |
Slot for "value changed". This will send a ValueChanged event if 'notify' is set.
Definition at line 100 of file YQIntField.cc.