The ListBoxRenderer class provides a QListBox that can be embedded in an HTML form.
Publicly inherits FormObjectRenderer.
ListBoxRenderer | ( int size, Canvas* canvas, int clipWidth=???, QObject* parent=???, const char* name=??? ); | |
void | addItem | ( const char* text, bool selected, const char* value ); |
bool | redraw | ( ); |
void | reset | ( ); |
QString | value | ( ); |
void | endOfData | ( ); |
QListBox* | _listBox; |
int | _selected; |
QStrList | _values; |
Add an item to the list box. If no value is given then the text will be used as the item's value.
Resize the list box to fit its contents.
A value is returned only if the list box has a name. Otherwise, an empty string is returned.
Do nothing.