#include <OpenMS/VISUAL/VISUALIZER/ModificationVisualizer.h>
This class provides all functionality to view the meta information of an object of type Modification.
Public Member Functions | |
ModificationVisualizer (bool editable=FALSE, QWidget *parent=0) | |
Default constructor. | |
void | load (Modification &m) |
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 | updateMod_ () |
Sets the comboboxes with current values. | |
Private Attributes | |
Modification * | ptr_ |
Pointer to current object to keep track of the actual object. | |
Modification | tempmod_ |
Copy of current object for restoring the original values. | |
Edit fields | |
QLineEdit * | treatmenttype_ |
QTextEdit * | treatmentcomment_ |
QLineEdit * | modificationname_ |
QLineEdit * | modificationmass_ |
QComboBox * | modificationspecificity_ |
QLineEdit * | modificationAA_ |
ModificationVisualizer | ( | bool | editable = FALSE , |
|
QWidget * | parent = 0 | |||
) |
Default constructor.
void load | ( | Modification & | m | ) |
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 updateMod_ | ( | ) | [private] |
Sets the comboboxes with current values.
QLineEdit* treatmenttype_ [private] |
QTextEdit* treatmentcomment_ [private] |
QLineEdit* modificationname_ [private] |
QLineEdit* modificationmass_ [private] |
QComboBox* modificationspecificity_ [private] |
QLineEdit* modificationAA_ [private] |
Modification* ptr_ [private] |
Pointer to current object to keep track of the actual object.
Modification tempmod_ [private] |
Copy of current object for restoring the original values.
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |