#include <klistbox.h>
Inheritance diagram for KListBox:

Signals | |
| void | executed (QListBoxItem *item) |
| void | executed (QListBoxItem *item, const QPoint &pos) |
| void | doubleClicked (QListBoxItem *item, const QPoint &pos) |
Protected Slots | |
| void | slotAutoSelect () |
Protected Methods | |
| virtual void | keyPressEvent (QKeyEvent *e) |
| virtual void | focusOutEvent (QFocusEvent *fe) |
| virtual void | leaveEvent (QEvent *e) |
| virtual void | contentsMousePressEvent (QMouseEvent *e) |
| virtual void | contentsMouseDoubleClickEvent (QMouseEvent *e) |
Extends the functionality of QListBox to honor the system wide settings for Single Click/Double Click mode, Auto Selection and Change Cursor over Link.
There is a new signal executed(). It gets connected to either QListBox::clicked() or QListBox::doubleClicked() depending on the KDE wide Single Click/Double Click settings. It is strongly recomended that you use this signal instead of the above mentioned. This way you donīt need to care about the current settings. If you want to get informed when the user selects something connect to the QListBox::selectionChanged() signal.
Definition at line 38 of file klistbox.h.
|
|
@reimplemented |
|
|
@reimplemented |
|
||||||||||||
|
This signal gets emitted whenever the user double clicks into the listbox.
This signal is more or less here for the sake of completeness. You should normally not need to use this. In most cases itīs better to use executed() instead. |
|
||||||||||||
|
Emitted whenever the user executes an listbox item. That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item.
|
|
|
Emitted whenever the user executes an listbox item. That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item.
|
|
|
@reimplemented |
|
|
@reimplemented |
|
|
@reimplemented |
|
|
Auto selection happend. |
1.2.18