OpenMS  2.6.0
Public Member Functions | Private Attributes | List of all members
Spectrum1DGoToDialog Class Reference

simple goto/set visible area dialog for exact placement of the viewing window More...

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

Inheritance diagram for Spectrum1DGoToDialog:
[legend]
Collaboration diagram for Spectrum1DGoToDialog:
[legend]

Public Member Functions

 Spectrum1DGoToDialog (QWidget *parent=nullptr)
 Constructor. More...
 
 ~Spectrum1DGoToDialog () override
 Destructor. More...
 
void setRange (float min, float max)
 Sets the m/z range displayed initially. More...
 
void setMinMaxOfRange (float min, float max)
 Sets the m/z range displayed initially. More...
 
bool checked ()
 
void fixRange ()
 Fixes the currently stored range (i.e. ensure correct order of min-max; enforce minimum of 1 Da window IFF min==max. More...
 
float getMin () const
 Returns the lower m/z bound. More...
 
float getMax () const
 Returns the upper m/z bound. More...
 

Private Attributes

Ui::Spectrum1DGoToDialogTemplate * ui_
 

Detailed Description

simple goto/set visible area dialog for exact placement of the viewing window

Constructor & Destructor Documentation

◆ Spectrum1DGoToDialog()

Spectrum1DGoToDialog ( QWidget parent = nullptr)

Constructor.

◆ ~Spectrum1DGoToDialog()

~Spectrum1DGoToDialog ( )
override

Destructor.

Member Function Documentation

◆ checked()

bool checked ( )

◆ fixRange()

void fixRange ( )

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

◆ getMax()

float getMax ( ) const

Returns the upper m/z bound.

◆ getMin()

float getMin ( ) const

Returns the lower m/z bound.

◆ setMinMaxOfRange()

void setMinMaxOfRange ( float  min,
float  max 
)

Sets the m/z range displayed initially.

◆ setRange()

void setRange ( float  min,
float  max 
)

Sets the m/z range displayed initially.

Member Data Documentation

◆ ui_

Ui::Spectrum1DGoToDialogTemplate* ui_
private