38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
43 #include <QtWidgets/QDialog>
44 class QAbstractButton;
48 class TOPPViewOpenDialogTemplate;
106 Ui::TOPPViewOpenDialogTemplate*
ui_;
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:52
A more convenient string class.
Definition: String.h:60
Dataset opening options for TOPPView.
Definition: TOPPViewOpenDialog.h:62
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 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:103
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:106
int Int
Signed integer type.
Definition: Types.h:102
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Definition: SwathWizardBase.h:63