12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
16 #include <QtWidgets/QDialog>
19 class QAbstractButton;
23 class TOPPViewOpenDialogTemplate;
81 Ui::TOPPViewOpenDialogTemplate*
ui_;
A more convenient string class.
Definition: String.h:34
Dataset opening options for TOPPView.
Definition: TOPPViewOpenDialog.h:37
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:78
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:81
int Int
Signed integer type.
Definition: Types.h:72
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition: FLASHDeconvWizardBase.h:37