OpenMS
Plot1DGoToDialog Class Reference

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

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

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

Public Member Functions

 Plot1DGoToDialog (QWidget *parent=nullptr)
 Constructor. More...
 
 ~Plot1DGoToDialog () 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::Plot1DGoToDialogTemplate * ui_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Plot1DGoToDialog()

Plot1DGoToDialog ( QWidget parent = nullptr)

Constructor.

◆ ~Plot1DGoToDialog()

~Plot1DGoToDialog ( )
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::Plot1DGoToDialogTemplate* ui_
private