|
libyui-qt
2.44.0
|


Signals | |
| void | valueChanged () |
Public Member Functions | |
| YQMultiSelectionBox (YWidget *parent, const std::string &label) | |
| ~YQMultiSelectionBox () | |
| virtual void | setLabel (const std::string &label) |
| virtual void | addItem (YItem *item) |
| virtual void | selectItem (YItem *item, bool selected=true) |
| virtual void | deselectAllItems () |
| virtual void | deleteAllItems () |
| virtual YItem * | currentItem () |
| virtual void | setCurrentItem (YItem *item) |
| virtual void | setEnabled (bool enabled) |
| virtual int | preferredWidth () |
| virtual int | preferredHeight () |
| virtual void | setSize (int newWidth, int newHeight) |
| virtual bool | setKeyboardFocus () |
Protected Slots | |
| void | slotSelected () |
| void | slotValueChanged () |
| void | slotItemChanged (QTreeWidgetItem *, int) |
Protected Member Functions | |
| YQMultiSelectionBoxItem * | findItem (YItem *item) |
Protected Attributes | |
| YQWidgetCaption * | _caption |
| QTreeWidget * | _qt_listView |
Definition at line 39 of file YQMultiSelectionBox.h.
| YQMultiSelectionBox::YQMultiSelectionBox | ( | YWidget * | parent, |
| const std::string & | label | ||
| ) |
Constructor.
Definition at line 47 of file YQMultiSelectionBox.cc.

| YQMultiSelectionBox::~YQMultiSelectionBox | ( | ) |
Destructor.
Definition at line 89 of file YQMultiSelectionBox.cc.
|
virtual |
Add an item.
Reimplemented from YSelectionWidget.
Definition at line 104 of file YQMultiSelectionBox.cc.
|
virtual |
Return the the item that currently has the keyboard focus or 0 if no item currently has the keyboard focus.
Reimplemented from YMultiSelectionBox.
Definition at line 165 of file YQMultiSelectionBox.cc.

|
virtual |
Delete all items.
Reimplemented from YSelectionWidget.
Definition at line 155 of file YQMultiSelectionBox.cc.
|
virtual |
Deselect all items.
Reimplemented from YSelectionWidget.
Definition at line 135 of file YQMultiSelectionBox.cc.
|
protected |
Find the counterpart of 'item'. Return 0 if there is none.
Definition at line 310 of file YQMultiSelectionBox.cc.

|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 250 of file YQMultiSelectionBox.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 241 of file YQMultiSelectionBox.cc.
|
virtual |
Select or deselect an item.
Reimplemented from YSelectionWidget.
Definition at line 124 of file YQMultiSelectionBox.cc.

|
virtual |
Set the keyboard focus to the specified item. 0 means clear the keyboard focus.
Reimplemented from YMultiSelectionBox.
Definition at line 204 of file YQMultiSelectionBox.cc.

|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 232 of file YQMultiSelectionBox.cc.
|
virtual |
Accept the keyboard focus.
Definition at line 269 of file YQMultiSelectionBox.cc.
|
virtual |
Change the label text.
Reimplemented from YSelectionWidget.
Definition at line 96 of file YQMultiSelectionBox.cc.

|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 262 of file YQMultiSelectionBox.cc.
|
protectedslot |
Send SelectionChanged event if opt(notify) is set.
Definition at line 278 of file YQMultiSelectionBox.cc.

|
protectedslot |
Send ValueChanged event if opt(notify) is set.
Definition at line 293 of file YQMultiSelectionBox.cc.

|
signal |
Emitted upon when an item changes its state.