|
|
An editable listbox
This class provides a editable listbox ;-), this means a listbox which is accompanied by a line edit to enter new items into the listbox and pushbuttons to add and remove items from the listbox and two buttons to move items up and down.
enum |
Enumeration of the buttons, the listbox offers. Specify them in the constructor in the buttons parameter.
|
Create an editable listbox.
If checkAtEntering
is true, after every character you type
in the line edit KEditListBox will enable or disable
the Add-button, depending whether the current content of the
line edit is already in the listbox. Maybe this can become a
performance hit with large lists on slow machines.
If checkAtEntering
is false,
it will be checked if you press the Add-button. It is not
possible to enter items twice into the listbox.
|
Create an editable listbox.
The same as the other constructor, additionally it takes @title, which will be the title of the frame around the listbox.
|
[virtual]
QListBox* |
[const]
Return a pointer to the embedded QListBox.
KLineEdit* |
[const]
Return a pointer to the embedded QLineEdit.
QPushButton* |
[const]
Return a pointer to the Add button
QPushButton* |
[const]
Return a pointer to the Remove button
QPushButton* |
[const]
Return a pointer to the Up button
QPushButton* |
[const]
Return a pointer to the Down button
int |
[const]
See QListBox::count()
void |
See QListBox::insertStringList()
void |
See QListBox::insertStringList()
void |
See QListBox::insertStrList()
void |
See QListBox::insertStrList()
void |
See QListBox::insertItem()
void |
Clears both the listbox and the line edit.
QString |
[const]
See QListBox::text()
int |
[const]
See QListBox::currentItem()
QString |
[const]
See QListBox::currentText()
QStringList |
[const]
Returns: a stringlist of all items in the listbox
void |
[signal]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
void |
[ protected slots: slot]
QListBox * |
[ protected: ]
QPushButton * |
[ protected: ]
QPushButton * |
[ protected: ]
QPushButton * |
[ protected: ]
QPushButton * |
[ protected: ]
KLineEdit * |
[ protected: ]
Generated by: marc@yogi on Tue Mar 27 13:07:09 2001, using kdoc 2.0a48. |