#include <OpenMS/VISUAL/VISUALIZER/SampleVisualizer.h>
This class provides all functionality to view the meta information of an object of type Sample.
Public Member Functions | |
SampleVisualizer (bool editable=FALSE, QWidget *parent=0) | |
Default constructor. | |
void | load (Sample &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_ () |
Sets the comboboxes with current values. | |
Private Attributes | |
Sample * | ptr_ |
Pointer to current object to keep track of the actual object. | |
Sample | tempsample_ |
Copy of current object for restoring the original values. | |
Edit fields | |
QLineEdit * | samplename_ |
QLineEdit * | samplenumber_ |
QLineEdit * | sampleorganism_ |
QTextEdit * | samplecomment_ |
QComboBox * | samplestate_ |
QLineEdit * | samplemass_ |
QLineEdit * | samplevolume_ |
QLineEdit * | sampleconcentration_ |
SampleVisualizer | ( | bool | editable = FALSE , |
|
QWidget * | parent = 0 | |||
) |
Default constructor.
void load | ( | Sample & | 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] |
Sets the comboboxes with current values.
Sample tempsample_ [private] |
Copy of current object for restoring the original values.
QLineEdit* samplename_ [private] |
QLineEdit* samplenumber_ [private] |
QLineEdit* sampleorganism_ [private] |
QTextEdit* samplecomment_ [private] |
QComboBox* samplestate_ [private] |
QLineEdit* samplemass_ [private] |
QLineEdit* samplevolume_ [private] |
QLineEdit* sampleconcentration_ [private] |
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |