12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
A base class for all visualizer classes.
Definition: BaseVisualizerGUI.h:40
A base class for all visualizer classes.
Definition: BaseVisualizer.h:28
GradientVisualizer is a visualizer class for objects of type gradient.
Definition: GradientVisualizer.h:34
std::vector< QLabel * > gradientlabel_
Array of temporary pointers to gradient labels.
Definition: GradientVisualizer.h:94
GradientVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
void deleteData_()
Delete all data from gradient.
QPushButton * add_eluent_button_
Definition: GradientVisualizer.h:85
QIntValidator * timepoint_vali_
A validator to check the input for the new timepoint.
Definition: GradientVisualizer.h:100
void loadData_()
Loads a list of eluent, timepoint and percentage triplets.
void addTimepoint_()
Add new timepoint to the list.
QLineEdit * new_timepoint_
Definition: GradientVisualizer.h:72
int nextrow_
Counter to keep track of the actual row in the layout.
Definition: GradientVisualizer.h:103
QLineEdit * new_eluent_
Definition: GradientVisualizer.h:71
void undo_()
Undo the changes made in the GUI.
void update_() override
Updates the GUI from the temp_ variable.
QLineEdit * percentage_
Pointer to fields with actual data.
Definition: GradientVisualizer.h:97
void addEluent_()
Add new eluent to the list.
QGridLayout * viewlayout_
The layout to display the eluents, timepoints and percentages.
Definition: GradientVisualizer.h:106
std::vector< QLineEdit * > gradientdata_
Array of temporary pointers to gradient edit fields.
Definition: GradientVisualizer.h:91
QPushButton * removebutton_
Definition: GradientVisualizer.h:87
void removeData_()
Remove all data from layout.
QPushButton * add_timepoint_button_
Definition: GradientVisualizer.h:86
std::vector< Int > timepoints_
Definition: GradientVisualizer.h:79
std::vector< String > eluents_
Definition: GradientVisualizer.h:78
Representation of a HPLC gradient.
Definition: Gradient.h:27
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22