Quark
0.1
|
A widget for editing a list of strings. More...
#include <StringListEditor.h++>
Signals | |
void | listChanged () |
Emitted when the list of strings changes. More... | |
Public Member Functions | |
StringListEditor (QWidget *parent=NULL) | |
Constructor. More... | |
virtual | ~StringListEditor () |
Destructor. More... | |
void | setValidator (QValidator *validator) |
Sets a validator for the input field. More... | |
void | setStringList (QStringList items) |
Sets the list of strings. More... | |
QStringList | stringList () const |
Gets the list of strings. More... | |
A widget for editing a list of strings.
The layout consists of a list view, a text input field, and "add" and "remove" tool buttons.
StringListEditor | ( | QWidget * | parent = NULL | ) |
Constructor.
|
virtual |
Destructor.
|
signal |
Emitted when the list of strings changes.
void setStringList | ( | QStringList | items | ) |
Sets the list of strings.
void setValidator | ( | QValidator * | validator | ) |
Sets a validator for the input field.
QStringList stringList | ( | ) | const |
Gets the list of strings.