38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
42 #include <QtWidgets/QDialog>
46 class Plot2DGoToDialogTemplate;
80 void setRange(
float min_rt,
float max_rt,
float min_mz,
float max_mz);
96 String getFeatureNumber()
const;
103 Ui::Plot2DGoToDialogTemplate*
ui_;
GoTo dialog used to zoom to a m/z and retention time range or to a feature.
Definition: Plot2DGoToDialog.h:61
Ui::Plot2DGoToDialogTemplate * ui_
Definition: Plot2DGoToDialog.h:103
~Plot2DGoToDialog() override
Destructor.
float getMaxMZ() const
Returns the upper m/z bound.
void enableFeatureNumber(bool)
Disables the feature number field.
void setMinMaxOfRange(float min_rt, float max_rt, float min_mz, float max_mz)
Sets the data range of the complete experiment for better navigation with the dialog.
bool showRange() const
Returns if a range should be display (true) or if a feature should be displayed (false)
Plot2DGoToDialog(QWidget *parent=nullptr)
Constructor.
void fixRange()
Fixes the currently stored range (i.e. ensure correct order of min-max; enforce minimum of 1 Da (or 1...
float getMinMZ() const
Returns the lower m/z bound.
float getMaxRT() const
Returns the upper RT bound.
float getMinRT() const
Returns the lower RT bound.
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Definition: SwathWizardBase.h:63