org.kde.koala
public class KEditListBox extends QGroupBox
UNKNOWN: An editable listbox
Field Summary | |
---|---|
static int | Add
Enumeration of the buttons, the listbox offers. |
static int | All |
static int | Remove |
static int | UpDown |
Constructor Summary | |
---|---|
protected | KEditListBox(Class dummy) |
KEditListBox(QWidget parent, String name, boolean checkAtEntering, int buttons)
Create an editable listbox.
| |
KEditListBox(QWidget parent, String name, boolean checkAtEntering) | |
KEditListBox(QWidget parent, String name) | |
KEditListBox(QWidget parent) | |
KEditListBox() | |
KEditListBox(String title, QWidget parent, String name, boolean checkAtEntering, int buttons)
Create an editable listbox.
| |
KEditListBox(String title, QWidget parent, String name, boolean checkAtEntering) | |
KEditListBox(String title, QWidget parent, String name) | |
KEditListBox(String title, QWidget parent) | |
KEditListBox(String title) |
Method Summary | |
---|---|
QPushButton | addButton()
Return a pointer to the Add button |
protected void | addItem() |
int | buttons()
Returns which buttons are visible |
String | className() |
void | clear()
Clears both the listbox and the line edit. |
int | count()
See QListBox.count() |
int | currentItem()
See QListBox.currentItem() |
String | currentText()
See QListBox.currentText() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
QPushButton | downButton()
Return a pointer to the Down button |
protected void | enableMoveButtons(int index) |
protected void | finalize() Deletes the wrapped C++ instance |
void | insertItem(String text, int index)
See QListBox.insertItem() |
void | insertItem(String text) |
void | insertStringList(String[] list, int index)
See QListBox.insertStringList() |
void | insertStringList(String[] list) |
void | insertStrList(String[] list, int index)
See QListBox.insertStringList() |
void | insertStrList(String[] list) |
void | insertStrList(String[] list, int numStrings, int index)
See QListBox.insertStrList() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
ArrayList | items() |
KLineEdit | lineEdit()
Return a pointer to the embedded QLineEdit. |
QListBox | listBox()
Return a pointer to the embedded QListBox. |
QMetaObject | metaObject() |
protected void | moveItemDown() |
protected void | moveItemUp() |
QPushButton | removeButton()
Return a pointer to the Remove button |
protected void | removeItem() |
void | setButtons(int buttons)
Specifies which buttons should be visible |
void | setItems(String[] items)
Clears the listbox and sets the contents to items |
String | text(int index)
See QListBox.text() |
protected void | typedSomething(String text) |
QPushButton | upButton()
Return a pointer to the Up button |
UNKNOWN: Enumeration of the buttons, the listbox offers.
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.UNKNOWN: Create an editable listbox.
title
, which will be the title of the frame around the listbox.UNKNOWN: Create an editable listbox.
UNKNOWN: Return a pointer to the Add button
UNKNOWN: Returns which buttons are visible
UNKNOWN: Clears both the listbox and the line edit.
UNKNOWN: See QListBox.count()
UNKNOWN: See QListBox.currentItem()
UNKNOWN: See QListBox.currentText()
UNKNOWN: Return a pointer to the Down button
UNKNOWN: See QListBox.insertItem()
UNKNOWN: See QListBox.insertStringList()
UNKNOWN: See QListBox.insertStringList()
UNKNOWN: See QListBox.insertStrList()
Returns: a stringlist of all items in the listbox
UNKNOWN:
UNKNOWN: Return a pointer to the embedded QLineEdit.
UNKNOWN: Return a pointer to the embedded QListBox.
UNKNOWN: Return a pointer to the Remove button
UNKNOWN: Specifies which buttons should be visible
items
UNKNOWN: Clears the listbox and sets the contents to items
UNKNOWN: See QListBox.text()
UNKNOWN: Return a pointer to the Up button