Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | List of all members
Spectrum2DGoToDialog Class Reference

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

Public Member Functions

 Spectrum2DGoToDialog (QWidget *parent=0)
 Constructor. More...
 
 ~Spectrum2DGoToDialog ()
 Destructor. More...
 
bool showRange () const
 Returns if a range should be display (true) or if a feature should be displayed (false) More...
 
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. More...
 
Methods for ranges
void setRange (Real min_rt, Real max_rt, Real min_mz, Real max_mz)
 Sets the data range to display initially. More...
 
Real getMinRT () const
 Returns the lower RT bound. More...
 
Real getMaxRT () const
 Returns the upper RT bound. More...
 
Real getMinMZ () const
 Returns the lower m/z bound. More...
 
Real getMaxMZ () const
 Returns the upper m/z bound. More...
 
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. More...
 
void enableFeatureNumber (bool)
 Disables the feature number field. More...
 

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.11.1 Documentation generated on Thu Nov 14 2013 11:19:35 using doxygen 1.8.5