  | 
  
    OpenMS
    2.5.0
    
   | 
 
 
 
  
  
 
Go to the documentation of this file.
   38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h> 
   45 #include <QListWidget> 
   46 #include <QItemDelegate> 
   55     class ListEditorDelegate;
 
   84     void setListRestrictions(
const String & restrictions);
 
   86     void setTypeName(QString name);
 
  129       void removeCurrentRow();
 
  152       QWidget * createEditor(
QWidget * parent, 
const QStyleOptionViewItem & option, 
const QModelIndex & index) 
const override;
 
  154       void setEditorData(
QWidget * editor, 
const QModelIndex & index) 
const override;
 
  156       void setModelData(
QWidget * editor, QAbstractItemModel * model, 
const QModelIndex & index) 
const override;
 
  158       void updateEditorGeometry(
QWidget * editor, 
const QStyleOptionViewItem & option, 
const QModelIndex & index) 
const override;
 
  163       void setRestrictions(
const String & restrictions);
 
  165       void setTypeName(QString name);
 
  167       void setFileName(QString name);
 
  
ListEditor::Type type_
List type.
Definition: ListEditor.h:90
 
QPushButton * removeRowButton_
button for removing row
Definition: ListEditor.h:98
 
QPushButton * CancelButton_
button clicked if modifications are rejected
Definition: ListEditor.h:102
 
QPushButton * OkButton_
button clicked if modifications are accepted
Definition: ListEditor.h:100
 
ListEditor::Type type_
List type.
Definition: ListEditor.h:133
 
Internal delegate class.
Definition: ListEditor.h:143
 
Editor for editing int, double and string lists (including output and input file lists)
Definition: ListEditor.h:61
 
Definition: ListEditor.h:70
 
A more convenient string class.
Definition: String.h:58
 
QString typeName_
type name. used to distinguish output/input from string lists
Definition: ListEditor.h:177
 
Definition: ListEditor.h:72
 
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
 
Definition: ListEditor.h:71
 
QPushButton * newRowButton_
button for new Row
Definition: ListEditor.h:96
 
String restrictions_
restrictions for list elements
Definition: ListEditor.h:175
 
Definition: ListEditor.h:73
 
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
 
QString file_name_
used to set input and output values in setModelData
Definition: ListEditor.h:179
 
Definition: ListEditor.h:111
 
StringList list_
Definition: ListEditor.h:135
 
Type
Definition: ListEditor.h:68
 
Internal::ListTable * listTable_
displays the list
Definition: ListEditor.h:92
 
ListEditor::Type type_
List type.
Definition: ListEditor.h:173
 
Internal::ListEditorDelegate * listDelegate_
Delegate between view and model.
Definition: ListEditor.h:94