Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

PrecursorVisualizer Class Reference

#include <OpenMS/VISUAL/VISUALIZER/PrecursorVisualizer.h>

Inheritance diagram for PrecursorVisualizer:

BaseVisualizer DataTable QWidget

List of all members.


Detailed Description

Class that displays all meta information for Precursor objects.

This class provides all functionality to view the meta information of an object of type Precursor.

Public Member Functions

 PrecursorVisualizer (bool editable=FALSE, QWidget *parent=0)
 Default constructor.
void load (Precursor &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

Precursorptr_
 Pointer to current object to keep track of the actual object.
Precursor tempprecursor_
 Copy of current object for restoring the original values.
Comboboxes to choose properties
QComboBox * precursor_activation_method_
QComboBox * precursor_energy_units_
QLineEdit * precursor_activation_energy_
QLineEdit * precursor_window_size_


Constructor & Destructor Documentation

PrecursorVisualizer ( bool  editable = FALSE,
QWidget parent = 0 
)

Default constructor.


Member Function Documentation

void load ( Precursor s  ) 

Loads the meta data from the object to the viewer.

void store_ (  )  [private, virtual, slot]

Saves the changes made to the meta data into the object.

Implements BaseVisualizer.

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.


Member Data Documentation

Precursor* ptr_ [private]

Pointer to current object to keep track of the actual object.

Precursor tempprecursor_ [private]

Copy of current object for restoring the original values.

QComboBox* precursor_activation_method_ [private]

QComboBox* precursor_energy_units_ [private]

QLineEdit* precursor_activation_energy_ [private]

QLineEdit* precursor_window_size_ [private]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1