#include <faith/listbox.h>
Inheritance diagram for Faith::ListBox:

Signals | |
| void | currentChanged (int index) |
| void | currentChanged (const Faith::String &) |
| void | currentChanged () |
Public Member Functions | |
| ListBox (Faith::Widget *parent, const char *name=0) | |
| ListBox (const Faith::String &s, Faith::Widget *parent, const char *name=0) | |
| ListBox (const std::list< Faith::String > &s, Faith::Widget *parent, const char *name=0) | |
| ~ListBox () | |
| String | currentText () const |
| int | current () const |
| void | setText (int item, const String &str) |
| String | text (int item) const |
| void | insertItem (int at, const String &str) |
| void | addItem (const String &str) |
| void | addItems (const std::list< String > &str) |
| Faith::ListBox::ListBox | ( | Faith::Widget * | parent, | |
| const char * | name = 0 | |||
| ) |
| Faith::ListBox::ListBox | ( | const Faith::String & | s, | |
| Faith::Widget * | parent, | |||
| const char * | name = 0 | |||
| ) |
| Faith::ListBox::ListBox | ( | const std::list< Faith::String > & | s, | |
| Faith::Widget * | parent, | |||
| const char * | name = 0 | |||
| ) |
| Faith::ListBox::~ListBox | ( | ) |
| void Faith::ListBox::addItem | ( | const String & | str | ) |
inserts an item at the end
| void Faith::ListBox::addItems | ( | const std::list< String > & | str | ) |
inserts items at the end
| int Faith::ListBox::current | ( | ) | const |
| void Faith::ListBox::currentChanged | ( | ) | [signal] |
Reimplemented from Faith::ListView< Item >.
| void Faith::ListBox::currentChanged | ( | const Faith::String & | ) | [signal] |
| void Faith::ListBox::currentChanged | ( | int | index | ) | [signal] |
| String Faith::ListBox::currentText | ( | ) | const |
| void Faith::ListBox::insertItem | ( | int | at, | |
| const String & | str | |||
| ) |
inserts an item so that it will be at position at, or at the end if this is not possible
| void Faith::ListBox::setText | ( | int | item, | |
| const String & | str | |||
| ) |
sets the text for the item at index item
| String Faith::ListBox::text | ( | int | item | ) | const |
sets the text for the item at index item
1.4.7