38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
A base class for all visualizer classes.
Definition: BaseVisualizerGUI.h:66
A base class for all visualizer classes.
Definition: BaseVisualizer.h:54
GradientVisualizer is a visualizer class for objects of type gradient.
Definition: GradientVisualizer.h:60
std::vector< QLabel * > gradientlabel_
Array of temporary pointers to gradient labels.
Definition: GradientVisualizer.h:120
GradientVisualizer(bool editable=false, QWidget *parent=nullptr)
Constructor.
void deleteData_()
Delete all data from gradient.
QPushButton * add_eluent_button_
Definition: GradientVisualizer.h:111
QIntValidator * timepoint_vali_
A validator to check the input for the new timepoint.
Definition: GradientVisualizer.h:126
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:98
int nextrow_
Counter to keep track of the actual row in the layout.
Definition: GradientVisualizer.h:129
QLineEdit * new_eluent_
Definition: GradientVisualizer.h:97
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:123
void addEluent_()
Add new eluent to the list.
QGridLayout * viewlayout_
The layout to display the eluents, timepoints and percentages.
Definition: GradientVisualizer.h:132
std::vector< QLineEdit * > gradientdata_
Array of temporary pointers to gradient edit fields.
Definition: GradientVisualizer.h:117
QPushButton * removebutton_
Definition: GradientVisualizer.h:113
void removeData_()
Remove all data from layout.
QPushButton * add_timepoint_button_
Definition: GradientVisualizer.h:112
std::vector< Int > timepoints_
Definition: GradientVisualizer.h:105
std::vector< String > eluents_
Definition: GradientVisualizer.h:104
Representation of a HPLC gradient.
Definition: Gradient.h:53
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47