#include <OpenMS/VISUAL/VISUALIZER/InstrumentSettingsVisualizer.h>
This class provides all functionality to view the meta information of an object of type InstrumentSettings.
Public Member Functions | |
InstrumentSettingsVisualizer (bool editable=FALSE, QWidget *parent=0) | |
Default constructor. | |
void | load (InstrumentSettings &s) |
Loads the meta data from the object to the viewer. | |
Private Slots | |
void | store_ () |
Saves the changes made to the meta data into the object. | |
void | reject_ () |
Deletes all changes made in the viewer and restores the original meta data. | |
Private Member Functions | |
void | update_ () |
Fills the comboboxes with current values. | |
Private Attributes | |
InstrumentSettings * | ptr_ |
Pointer to current object to keep track of the actual object. | |
InstrumentSettings | tempinstrumentsettings_ |
Copy of current object for restoring the original values. | |
Edit fields | |
QComboBox * | instrumentsettings_scan_mode_ |
QComboBox * | instrumentsettings_polarity_ |
QLineEdit * | instrumentsettings_mz_range_start_ |
QLineEdit * | instrumentsettings_mz_range_stop_ |
InstrumentSettingsVisualizer | ( | bool | editable = FALSE , |
|
QWidget * | parent = 0 | |||
) |
Default constructor.
void load | ( | InstrumentSettings & | s | ) |
Loads the meta data from the object to the viewer.
void store_ | ( | ) | [private, virtual, slot] |
void reject_ | ( | ) | [private, virtual, slot] |
Deletes all changes made in the viewer and restores the original meta data.
Implements BaseVisualizer.
void update_ | ( | ) | [private] |
Fills the comboboxes with current values.
InstrumentSettings* ptr_ [private] |
Pointer to current object to keep track of the actual object.
InstrumentSettings tempinstrumentsettings_ [private] |
Copy of current object for restoring the original values.
QComboBox* instrumentsettings_scan_mode_ [private] |
QComboBox* instrumentsettings_polarity_ [private] |
QLineEdit* instrumentsettings_mz_range_start_ [private] |
QLineEdit* instrumentsettings_mz_range_stop_ [private] |
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |