OpenMS
2.6.0
|
simple goto/set visible area dialog for exact placement of the viewing window More...
#include <OpenMS/VISUAL/DIALOGS/Spectrum1DGoToDialog.h>
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_ |
simple goto/set visible area dialog for exact placement of the viewing window
Spectrum1DGoToDialog | ( | QWidget * | parent = nullptr | ) |
Constructor.
|
override |
Destructor.
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.
float getMax | ( | ) | const |
Returns the upper m/z bound.
float getMin | ( | ) | const |
Returns the lower m/z bound.
|
private |