Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions

Spectrum2DGoToDialog Class Reference
[Dialogs]

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

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

Inheritance diagram for Spectrum2DGoToDialog:
QDialog Spectrum2DGoToDialogTemplate

List of all members.

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).
void fixRange ()
 Fixes the currently stored range (i.e. ensure correct order of min-max; enforce minimum of 1 Da (or 1 sec for RT) window IFF min==max.
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

String 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.

Detailed Description

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


Constructor & Destructor Documentation

Spectrum2DGoToDialog ( QWidget parent = 0  ) 

Constructor.

Destructor.


Member Function Documentation

void enableFeatureNumber ( bool   ) 

Disables the feature number field.

void fixRange (  ) 

Fixes the currently stored range (i.e. ensure correct order of min-max; enforce minimum of 1 Da (or 1 sec for RT) window IFF min==max.

String getFeatureNumber (  )  const

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

Real getMaxMZ (  )  const

Returns the upper m/z bound.

Real getMaxRT (  )  const

Returns the upper RT bound.

Real getMinMZ (  )  const

Returns the lower m/z bound.

Real getMinRT (  )  const

Returns the lower RT bound.

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

Sets the data range to display initially.

bool showRange (  )  const

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


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1