38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
42 #include <QtWidgets/QDialog>
45 class QAbstractButton;
49 class TOPPViewOpenDialogTemplate;
107 Ui::TOPPViewOpenDialogTemplate*
ui_;
A more convenient string class.
Definition: String.h:60
Dataset opening options for TOPPView.
Definition: TOPPViewOpenDialog.h:63
bool viewMapAs1D() const
Returns true, if 1D mode is to be used for maps.
bool isCutoffEnabled() const
Returns if the low intensity peaks should be hidden.
void disableDimension(bool as_2d)
Disables view dimension section and sets the selected option.
void setMergeLayers(const std::map< Size, String > &layers)
Sets the possible merge layers (index and name) and activates the option.
~TOPPViewOpenDialog() override
Destructor.
void disableLocation(bool window)
Disables opening location section and sets the selected option.
TOPPViewOpenDialog(const String &data_name, bool as_window, bool as_2d, bool cutoff, QWidget *parent=nullptr)
Constructor.
bool map_as_2d_disabled_
Stores if this option is disabled, to avoid activating it in updateViewMode_()
Definition: TOPPViewOpenDialog.h:104
bool isDataDIA() const
Returns if the data is DIA / SWATH-MS data.
void disableCutoff(bool cutoff_on)
Disables cutoff section and sets the selected option.
Int getMergeLayer() const
Returns the index of the selected merge layer. If the option is not selected -1 is returned.
void updateViewMode_(QAbstractButton *button)
slot that disables 2D/3D options, when as layer is selected
bool openAsNewWindow() const
Returns true, if the data should be opened in a new window.
bool viewMapAs2D() const
Returns true, if 2D mode is to be used for maps.
Ui::TOPPViewOpenDialogTemplate * ui_
Definition: TOPPViewOpenDialog.h:107
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
Definition: FLASHDeconvWizardBase.h:63