#include <OpenMS/VISUAL/VISUALIZER/ContactPersonVisualizer.h>
This class provides all functionality to view the meta information of an object of type ContactPerson.
Public Member Functions | |
ContactPersonVisualizer (bool editable=FALSE, QWidget *parent=0) | |
Default constructor. | |
void | load (ContactPerson &h) |
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 Attributes | |
ContactPerson * | ptr_ |
Pointer to current object to keep track of the actual object. | |
ContactPerson | tempContactPerson_ |
Copy of current object for restoring the original values. | |
Edit fields and buttons | |
QLineEdit * | cp_firstname_ |
QLineEdit * | cp_lastname_ |
QLineEdit * | cp_institution_ |
QLineEdit * | cp_email_ |
QLineEdit * | cp_contact_info_ |
ContactPersonVisualizer | ( | bool | editable = FALSE , |
|
QWidget * | parent = 0 | |||
) |
Default constructor.
void load | ( | ContactPerson & | h | ) |
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.
QLineEdit* cp_firstname_ [private] |
QLineEdit* cp_lastname_ [private] |
QLineEdit* cp_institution_ [private] |
QLineEdit* cp_email_ [private] |
QLineEdit* cp_contact_info_ [private] |
ContactPerson* ptr_ [private] |
Pointer to current object to keep track of the actual object.
ContactPerson tempContactPerson_ [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 |