Editor for editing int, double and string lists (including output and input file lists). More...
#include <OpenMS/VISUAL/ListEditor.h>
Public Types | |
| enum | Type { INT, FLOAT, STRING, OUTPUT_FILE, INPUT_FILE } |
Public Member Functions | |
| ListEditor (QWidget *parent=0, QString title="") | |
| Constructor. | |
| StringList | getList () const |
| returns modified list | |
| void | setList (const StringList &list, ListEditor::Type type) |
| sets list (and its type)that will be modified by user | |
| void | setListRestrictions (const String &restrictions) |
| set restrictions for list elements | |
| void | setTypeName (QString name) |
| set name of type | |
Private Attributes | |
| ListEditor::Type | type_ |
| List type. | |
| Internal::ListTable * | listTable_ |
| displays the list | |
| Internal::ListEditorDelegate * | listDelegate_ |
| Delegate between view and model. | |
| QPushButton * | newRowButton_ |
| buttton for new Row | |
| QPushButton * | removeRowButton_ |
| button for removing row | |
| QPushButton * | OkButton_ |
| button clicked if modifications are accepted | |
| QPushButton * | CancelButton_ |
| button clicked if modifications are rejected | |
Editor for editing int, double and string lists (including output and input file lists).
| enum Type |
| ListEditor | ( | QWidget * | parent = 0, |
|
| QString | title = "" | |||
| ) |
Constructor.
| StringList getList | ( | ) | const |
returns modified list
| void setList | ( | const StringList & | list, | |
| ListEditor::Type | type | |||
| ) |
sets list (and its type)that will be modified by user
| void setListRestrictions | ( | const String & | restrictions | ) |
set restrictions for list elements
| void setTypeName | ( | QString | name | ) |
set name of type
QPushButton* CancelButton_ [private] |
button clicked if modifications are rejected
Internal::ListEditorDelegate* listDelegate_ [private] |
Delegate between view and model.
Internal::ListTable* listTable_ [private] |
displays the list
QPushButton* newRowButton_ [private] |
buttton for new Row
QPushButton* OkButton_ [private] |
button clicked if modifications are accepted
QPushButton* removeRowButton_ [private] |
button for removing row
ListEditor::Type type_ [private] |
List type.
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1 |