#include <QMyListBox.h>
Inheritance diagram for QMyListBox::
Signals | |
void | sigReturnPressed (int) |
Public Methods | |
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 Methods | |
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'. |
|
|
|
|
|
|
|
|
|
|