#include <YQComboBox.h>
Inheritance diagram for YQComboBox:
Public Member Functions | |
YQComboBox (QWidget *parent, const YWidgetOpt &opt, const YCPString &label) | |
void | setEnabling (bool enabled) |
long | nicesize (YUIDimension dim) |
void | setSize (long newWidth, long newHeight) |
void | setLabel (const YCPString &label) |
void | setValidChars (const YCPString &validChars) |
void | itemAdded (const YCPString &itemText, int itemIndex, bool selected) |
YCPString | getValue () const |
void | setValue (const YCPString &new_value) |
int | getCurrentItem () const |
void | setCurrentItem (int index) |
virtual bool | setKeyboardFocus () |
Protected Slots | |
void | slotSelected (int i) |
void | textChanged (const QString &new_text) |
Protected Attributes | |
QLabel * | _qt_label |
QComboBox * | _qt_combo_box |
QY2CharValidator * | _validator |
|
|
|
Inherited from YComboBox: Returns the index of the currently selected item (from 0 on) or -1 if no item is selected. Implements YComboBox. |
|
Inherited from YComboBox: Returns the ComboBox value. Implements YComboBox. |
|
Notification that a new item has been added. Reimplemented from YComboBox. Reimplemented from YComboBox. |
|
Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT Implements YWidget. |
|
Inherited from YComboBox: Selects an item from the list. Notice there intentionally is no corresponding getCurrentItem() method - use getValue() instead. Implements YComboBox. |
|
Inherited from YWidget: Sets the enabled state of the widget. All new widgets are enabled per definition. Only enabled widgets can take user input. Reimplemented from YWidget. |
|
Accept the keyboard focus. Reimplemented from YWidget. |
|
Change the label text. Reimplemented from YComboBox. |
|
Sets the new size of the widget. Reimplemented from YWidget. |
|
Change the valid input characters. Reimplemented from YComboBox Reimplemented from YComboBox. |
|
Inherited from YComboBox: Sets the ComboBox value to a random value that is not already in the item list. Will be called for editable ComboBox widgets only. Implements YComboBox. |
|
Tells the ui that an item has been selected. This is only interesting if the `notify option is set. |
|
Tells the ui that the user has edited the text ( if the 'editable' option is set ). This is only interesting if the `notify option is set. |
|
|
|
|
|
|