|
libyui-qt
2.44.0
|


Public Member Functions | |
| YQSelectionBox (YWidget *parent, const std::string &label) | |
| virtual | ~YQSelectionBox () |
| virtual void | setLabel (const std::string &label) |
| virtual void | addItem (YItem *item) |
| virtual void | addItems (const YItemCollection &itemCollection) |
| virtual void | selectItem (YItem *item, bool selected=true) |
| virtual void | deselectAllItems () |
| virtual void | deleteAllItems () |
| virtual void | setEnabled (bool enabled) |
| virtual int | preferredWidth () |
| virtual int | preferredHeight () |
| virtual void | setSize (int newWidth, int newHeight) |
| virtual bool | setKeyboardFocus () |
| virtual bool | eventFilter (QObject *obj, QEvent *ev) |
Protected Slots | |
| void | slotSelectionChanged () |
| void | slotActivated (QListWidgetItem *item) |
| void | returnDelayed () |
| void | returnImmediately () |
Protected Member Functions | |
| void | selectItem (int index) |
| void | addItem (YItem *item, bool batchMode) |
Protected Attributes | |
| YQWidgetCaption * | _caption |
| QListWidget * | _qt_listWidget |
| QTimer | _timer |
Definition at line 39 of file YQSelectionBox.h.
| YQSelectionBox::YQSelectionBox | ( | YWidget * | parent, |
| const std::string & | label | ||
| ) |
Constructor.
Definition at line 53 of file YQSelectionBox.cc.

|
virtual |
Destructor.
Definition at line 91 of file YQSelectionBox.cc.
|
virtual |
|
protected |
Internal addItem() method that will not do expensive operations in batch mode.
Definition at line 126 of file YQSelectionBox.cc.
|
virtual |
Add multiple items.
Reimplemented for efficiency from YSelectionWidget.
Definition at line 104 of file YQSelectionBox.cc.

|
virtual |
Delete all items.
Reimplemented from YSelectionWidget.
Definition at line 217 of file YQSelectionBox.cc.
|
virtual |
Deselect all items.
Reimplemented from YSelectionWidget.
Definition at line 193 of file YQSelectionBox.cc.

|
virtual |
Event filter.
Reimplemented from QWidget.
Definition at line 270 of file YQSelectionBox.cc.

|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 236 of file YQSelectionBox.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 227 of file YQSelectionBox.cc.
|
protectedslot |
Return after some millseconds delay - collect multiple events. This is only relevant if opt(notify ) is set.
Definition at line 386 of file YQSelectionBox.cc.
|
protectedslot |
Return immediately. This is only relevant if opt(notify ) is set.
Definition at line 363 of file YQSelectionBox.cc.

|
virtual |
Select or deselect an item.
Reimplemented from YSelectionWidget.
Definition at line 166 of file YQSelectionBox.cc.
|
protected |
Select an item by index.
Definition at line 175 of file YQSelectionBox.cc.
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 253 of file YQSelectionBox.cc.
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 262 of file YQSelectionBox.cc.
|
virtual |
Change the label text.
Reimplemented from YSelectionWidget.
Definition at line 97 of file YQSelectionBox.cc.

|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 247 of file YQSelectionBox.cc.
|
protectedslot |
Notification that an item has been activated (double clicked).
Definition at line 354 of file YQSelectionBox.cc.

|
protectedslot |
Notification that an item has been selected. This is only relevant if opt(notify ) is set.
Definition at line 311 of file YQSelectionBox.cc.
