#include <YQSelectionBox.h>
Inheritance diagram for YQSelectionBox:

Public Member Functions | |
| YQSelectionBox (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 | itemAdded (const YCPString &itemText, int itemIndex, bool selected) |
| int | getCurrentItem () |
| void | setCurrentItem (int index) |
| virtual bool | setKeyboardFocus () |
| bool | eventFilter (QObject *obj, QEvent *ev) |
| virtual void | deleteAllItems () |
Protected Slots | |
| void | slotSelected (int index) |
| void | slotActivated (QListBoxItem *item) |
| void | returnDelayed () |
| void | returnImmediately () |
Protected Attributes | |
| QLabel * | _qt_label |
| QListBox * | _qt_listbox |
| bool | _shrinkable |
| bool | _immediateMode |
| QTimer | _timer |
|
||||||||||||||||
|
|
|
|
Delete all items. Reimplemented from YSelectionWidget Reimplemented from YSelectionWidget. |
|
||||||||||||
|
Event filter - inherited from QWidget |
|
|
Inherited from YSelectionBox. Returns the index of the currently selected item or -1 if no item is selected. Implements YSelectionBox. |
|
||||||||||||||||
|
Notification that a new item has been added. Reimplemented from YSelectionBox. Implements YSelectionWidget. |
|
|
Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT Implements YWidget. |
|
|
Return after some millseconds delay - collect multiple events. This is only relevant if `opt( `notify ) is set. |
|
|
Return immediately. This is only relevant if `opt( `notify ) is set. |
|
|
Inherited from YSelectionBox. Makes another item selected. Implements YSelectionBox. |
|
|
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 YSelectionWidget. |
|
||||||||||||
|
Sets the new size of the widget. Reimplemented from YWidget. |
|
|
Notification that an item has been activated (double clicked). |
|
|
Notification that an item has been selected. This is only relevant if `opt(`notify ) is set. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4