![]() |
OpenMS
|
simple goto/set visible area dialog for exact placement of the viewing window More...
#include <OpenMS/VISUAL/DIALOGS/Plot1DGoToDialog.h>
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_ |
simple goto/set visible area dialog for exact placement of the viewing window
| Plot1DGoToDialog | ( | 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.
| void setMinMaxOfRange | ( | float | min, |
| float | max | ||
| ) |
Sets the m/z range displayed initially.
| void setRange | ( | float | min, |
| float | max | ||
| ) |
Sets the m/z range displayed initially.
|
private |