 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
37 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
39 #include <QtWidgets/QDialog>
40 #include <QtWidgets/qspinbox.h>
41 #include <QtWidgets/qlabel.h>
51 class TheoreticalSpectrumGenerationDialogTemplate;
54 class QListWidgetItem;
82 CheckBox(QDoubleSpinBox** sb, QLabel** l, std::array<CheckBoxState, 3> s, std::pair<String, String> p_t, std::pair<String, String> p_s);
91 const std::array<CheckBoxState, 3>
state;
108 friend class TestTSGDialog;
119 const String getSequence()
const;
124 void modelChanged_();
126 void seqTypeSwitch_();
128 void listWidgetItemClicked_(QListWidgetItem* item);
130 void calculateSpectrum_();
136 Param getParam_()
const;
140 void updateIonTypes_();
143 Ui::TheoreticalSpectrumGenerationDialogTemplate*
ui_;
CheckBoxState
state of an ion (and its intensity)
Definition: TheoreticalSpectrumGenerationDialog.h:61
const std::pair< String, String > param_spin
parameter with description of the ion intensity
Definition: TheoreticalSpectrumGenerationDialog.h:97
A more convenient string class.
Definition: String.h:58
check box enabled (visible, but not checked)
QDoubleSpinBox ** ptr_to_spin_box
pointer to the corresponding ion intensity spin box
Definition: TheoreticalSpectrumGenerationDialog.h:85
SequenceType seq_type_
save current sequence setting
Definition: TheoreticalSpectrumGenerationDialog.h:146
QLabel ** ptr_to_spin_label
pointer to the label of the spin box
Definition: TheoreticalSpectrumGenerationDialog.h:88
const std::pair< String, String > param_this
parameter with description of this ion
Definition: TheoreticalSpectrumGenerationDialog.h:94
const std::array< CheckBox, 12 > check_boxes_
Definition: TheoreticalSpectrumGenerationDialog.h:151
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
struct for all information about a check box of an ion
Definition: TheoreticalSpectrumGenerationDialog.h:80
Definition: SwathWizardBase.h:62
check box hidden (invisible)
Ui::TheoreticalSpectrumGenerationDialogTemplate * ui_
UI.
Definition: TheoreticalSpectrumGenerationDialog.h:143
check box enabled and checked by default
Definition: MetaData.h:69
const std::array< CheckBoxState, 3 > state
State of this check box depending on sequence type ("Peptide", "RNA", "Metabolite")
Definition: TheoreticalSpectrumGenerationDialog.h:91
Management and storage of parameters / INI files.
Definition: Param.h:69
Dialog which allows to enter an AA or NA sequence and generates a theoretical spectrum for it.
Definition: TheoreticalSpectrumGenerationDialog.h:73
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
SequenceType
type of the input sequence (corresponds to the value of the combo box 'ui_->seq_type')
Definition: TheoreticalSpectrumGenerationDialog.h:101
MSSpectrum spec_
member to save the calculated spectrum to
Definition: TheoreticalSpectrumGenerationDialog.h:154