35 #ifndef OPENMS_VISUAL_VISUALIZER_BASEVISUALIZERGUI_H 36 #define OPENMS_VISUAL_VISUALIZER_BASEVISUALIZERGUI_H 39 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h> 43 #include <QtGui/QWidget> 76 bool isEditable()
const;
81 void sendStatus(std::string status);
86 virtual void store() = 0;
91 void addLabel_(QString label);
93 void addLabel_(QString label,
UInt row);
95 void addLineEdit_(
QLineEdit * & ptr, QString label);
97 void addIntLineEdit_(
QLineEdit * & ptr, QString label);
99 void addDoubleLineEdit_(
QLineEdit * & ptr, QString label);
101 void addLineEditButton_(QString label,
QLineEdit * & ptr1, QPushButton * & ptr2, QString buttonlabel);
103 void addListView_(
QListWidget * & ptr, QString label);
105 void addTextEdit_(
QTextEdit * & ptr, QString label);
107 void addComboBox_(QComboBox * & ptr, QString label);
109 void addBooleanComboBox_(QComboBox * & ptr, QString label);
111 void fillComboBox_(QComboBox * & ptr,
const std::string * items,
int item_count);
115 void addButton_(QPushButton * & ptr, QString label);
117 void add2Buttons_(QPushButton * & ptr1, QString label1, QPushButton * & ptr2, QString label2);
119 void addSeparator_();
121 void finishAdding_();
135 #endif //OPENMS_VISUAL_VISUALIZER_BASEVISUALIZERGUI_H
QPushButton * undo_button_
Undo button.
Definition: BaseVisualizerGUI.h:124
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
A base class for all visualizer classes.
Definition: BaseVisualizerGUI.h:65
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
UInt row_
Counter for the current grid row.
Definition: BaseVisualizerGUI.h:128
QGridLayout * mainlayout_
The main layout.
Definition: BaseVisualizerGUI.h:126
bool editable_
Edit flag.
Definition: BaseVisualizerGUI.h:130