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

Signals | |
| void | valueChanged () |
Public Member Functions | |
| YQMultiSelectionBox (QWidget *parent, const YWidgetOpt &opt, const YCPString &label) | |
| void | setEnabling (bool enabled) |
| long | nicesize (YUIDimension dim) |
| void | setSize (long newWidth, long newHeight) |
| virtual void | setLabel (const YCPString &label) |
| virtual void | itemAdded (const YCPString &itemText, int index, bool selected) |
| virtual int | getCurrentItem () |
| virtual void | setCurrentItem (int index) |
| virtual bool | setKeyboardFocus () |
| virtual void | deleteAllItems () |
| void | sendValueChanged () |
Protected Slots | |
| void | slotSelected () |
| void | slotValueChanged () |
Protected Member Functions | |
| virtual bool | itemIsSelected (int index) |
| virtual void | selectItem (int index) |
| virtual void | deselectAllItems () |
Protected Attributes | |
| QLabel * | _qt_label |
| QListView * | _qt_listview |
| bool | _shrinkable |
|
||||||||||||||||
|
Constructor. |
|
|
Delete all items. Reimplemented from YMultiSelectionBox Reimplemented from YSelectionWidget. |
|
|
Deselect all items. Reimplemented from YMultiSelectionBox Implements YMultiSelectionBox. |
|
|
Returns the index of the item that currently has the keyboard focus. Reimplemented from YMultiSelectionBox Implements YMultiSelectionBox. |
|
||||||||||||||||
|
Notification that a new item has been added. Reimplemented from YSelectionWidget. Implements YSelectionWidget. |
|
|
Check whether or not item index is selected. Reimplemented from YMultiSelectionBox Implements YMultiSelectionBox. |
|
|
Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT Implements YWidget. |
|
|
Select item index. Reimplemented from YMultiSelectionBox Implements YMultiSelectionBox. |
|
|
Sends a ValueChanged signal. |
|
|
Set the keyboard focus to one item. Reimplemented from YMultiSelectionBox Implements YMultiSelectionBox. |
|
|
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. |
|
|
Send SelectionChanged event if `opt(`notify) is set. |
|
|
Send ValueChanged event if `opt(`notify) is set. |
|
|
Emitted upon when an item changes its state. |
|
|
|
|
|
|
|
|
|
1.4.4