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

Spectrum2DGoToDialog Class Reference
[Dialogs]

#include <OpenMS/VISUAL/DIALOGS/Spectrum2DGoToDialog.h>

Inheritance diagram for Spectrum2DGoToDialog:

QDialog Ui::Spectrum2DGoToDialogTemplate

List of all members.


Detailed Description

GoTo dialog used to zoom to a m/z and retention time range or to a feature.

Public Member Functions

 Spectrum2DGoToDialog (QWidget *parent=0)
 Constructor.
 ~Spectrum2DGoToDialog ()
 Destructor.
bool showRange () const
 Returns if a range should be display (true) or if a feature should be displayed (false).
Methods for ranges
void setRange (Real min_rt, Real max_rt, Real min_mz, Real max_mz)
 Sets the data range to display initially.
Real getMinRT () const
 Returns the lower RT bound.
Real getMaxRT () const
 Returns the upper RT bound.
Real getMinMZ () const
 Returns the lower m/z bound.
Real getMaxMZ () const
 Returns the upper m/z bound.
Methods for feature numbers
UInt getFeatureNumber () const
 Returns the selected feature numbers. If a number is retuned, the feature rather than the range should be displayed.
void enableFeatureNumber (bool)
 Disables the feature number field.

Constructor & Destructor Documentation

Spectrum2DGoToDialog ( QWidget parent = 0  ) 

Constructor.

~Spectrum2DGoToDialog (  ) 

Destructor.


Member Function Documentation

bool showRange (  )  const

Returns if a range should be display (true) or if a feature should be displayed (false).

void setRange ( Real  min_rt,
Real  max_rt,
Real  min_mz,
Real  max_mz 
)

Sets the data range to display initially.

Real getMinRT (  )  const

Returns the lower RT bound.

Real getMaxRT (  )  const

Returns the upper RT bound.

Real getMinMZ (  )  const

Returns the lower m/z bound.

Real getMaxMZ (  )  const

Returns the upper m/z bound.

UInt getFeatureNumber (  )  const

Returns the selected feature numbers. If a number is retuned, the feature rather than the range should be displayed.

void enableFeatureNumber ( bool   ) 

Disables the feature number field.


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