#include <QMyListBox.h>
Signals | |
| void | sigReturnPressed (int) |
Public Member Functions | |
| QMyListBox (QWidget *parent=0, const char *name=0, WFlags f=0) | |
| void | enableEditMode (bool fOnOff=true) |
Protected Slots | |
| void | sltCatchPressed (QListBoxItem *pqItem) |
| void | sltEditItem (QListBoxItem *pqItem) |
| void | sltChangeItem () |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *pqEvent) |
Private Attributes | |
| bool | m_firstMousePress |
| bool | m_fEditable |
| QListBoxItem * | m_pqItem |
| QLineEdit * | m_pqEditField |
| int | m_nItemIndex |
|
||||||||||||||||
|
|
|
|
Makes the items editable if 'fOnOff' is true. |
|
|
Reimplementation of inherited method for internal things. |
|
|
This signal is return when you press the return or enter key after editing. |
|
|
This slot manages the mouse clicks on the passed item 'pqItem'. |
|
|
This slot changes the last edited item. |
|
|
This slot pops up an edit field over the passed item 'pqItem'. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3