◆ YQMultiSelectionBox()
YQMultiSelectionBox::YQMultiSelectionBox |
( |
YWidget * |
parent, |
|
|
const std::string & |
label |
|
) |
| |
◆ ~YQMultiSelectionBox()
YQMultiSelectionBox::~YQMultiSelectionBox |
( |
| ) |
|
◆ addItem()
void YQMultiSelectionBox::addItem |
( |
YItem * |
item | ) |
|
|
virtual |
Add an item.
Reimplemented from YSelectionWidget.
◆ currentItem()
YItem * YQMultiSelectionBox::currentItem |
( |
| ) |
|
|
virtual |
Return the the item that currently has the keyboard focus or 0 if no item currently has the keyboard focus.
Reimplemented from YMultiSelectionBox.
◆ deleteAllItems()
void YQMultiSelectionBox::deleteAllItems |
( |
| ) |
|
|
virtual |
Delete all items.
Reimplemented from YSelectionWidget.
◆ deselectAllItems()
void YQMultiSelectionBox::deselectAllItems |
( |
| ) |
|
|
virtual |
Deselect all items.
Reimplemented from YSelectionWidget.
◆ findItem()
Find the counterpart of 'item'. Return 0 if there is none.
◆ preferredHeight()
int YQMultiSelectionBox::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
int YQMultiSelectionBox::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ selectItem()
void YQMultiSelectionBox::selectItem |
( |
YItem * |
item, |
|
|
bool |
selected = true |
|
) |
| |
|
virtual |
Select or deselect an item.
Reimplemented from YSelectionWidget.
◆ setCurrentItem()
void YQMultiSelectionBox::setCurrentItem |
( |
YItem * |
item | ) |
|
|
virtual |
Set the keyboard focus to the specified item. 0 means clear the keyboard focus.
Reimplemented from YMultiSelectionBox.
◆ setEnabled()
void YQMultiSelectionBox::setEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
◆ setKeyboardFocus()
bool YQMultiSelectionBox::setKeyboardFocus |
( |
| ) |
|
|
virtual |
Accept the keyboard focus.
◆ setLabel()
void YQMultiSelectionBox::setLabel |
( |
const std::string & |
label | ) |
|
|
virtual |
Change the label text.
Reimplemented from YSelectionWidget.
◆ setSize()
void YQMultiSelectionBox::setSize |
( |
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
◆ slotSelected
void YQMultiSelectionBox::slotSelected |
( |
| ) |
|
|
protectedslot |
Send SelectionChanged event if Opt(:notify) is set.
◆ slotValueChanged
void YQMultiSelectionBox::slotValueChanged |
( |
| ) |
|
|
protectedslot |
Send ValueChanged event if Opt(:notify) is set.
◆ valueChanged
void YQMultiSelectionBox::valueChanged |
( |
| ) |
|
|
signal |
Emitted upon when an item changes its state.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQMultiSelectionBox.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQMultiSelectionBox.cc