![]() |
OpenMS
|
Dialog which allows to enter an AA or NA sequence and generates a theoretical spectrum for it. More...
#include <OpenMS/VISUAL/DIALOGS/TheoreticalSpectrumGenerationDialog.h>
Classes | |
| struct | CheckBox |
| struct for all information about a check box of an ion More... | |
Public Types | |
| enum class | SequenceType { PEPTIDE , RNA , METABOLITE } |
| type of the input sequence (corresponds to the value of the combo box 'ui_->seq_type') More... | |
Public Member Functions | |
| TheoreticalSpectrumGenerationDialog () | |
| Constructor. More... | |
| ~TheoreticalSpectrumGenerationDialog () override | |
| Destructor. More... | |
| const MSSpectrum & | getSpectrum () const |
| returns the calculated spectrum More... | |
| const String | getSequence () const |
| returns the input sequence (is public for TOPPView) More... | |
Protected Slots | |
| void | modelChanged_ () |
| for isotope model changes More... | |
| void | seqTypeSwitch_ () |
| for sequence type changes (combo box) More... | |
| void | listWidgetItemClicked_ (QListWidgetItem *item) |
| change check state of check box on widget click More... | |
| void | calculateSpectrum_ () |
| calculates the spectrum More... | |
Private Member Functions | |
| Param | getParam_ () const |
| calculate parameters from UI elements More... | |
| void | updateIonTypes_ () |
Private Attributes | |
| Ui::TheoreticalSpectrumGenerationDialogTemplate * | ui_ |
| UI. More... | |
| SequenceType | seq_type_ |
| save current sequence setting More... | |
| const std::array< CheckBox, 12 > | check_boxes_ |
| MSSpectrum | spec_ |
| member to save the calculated spectrum to More... | |
Friends | |
| class | TestTSGDialog |
Dialog which allows to enter an AA or NA sequence and generates a theoretical spectrum for it.
|
strong |
Constructor.
|
override |
Destructor.
|
protectedslot |
calculates the spectrum
|
private |
calculate parameters from UI elements
| const String getSequence | ( | ) | const |
returns the input sequence (is public for TOPPView)
Referenced by TOPPViewBase::showSpectrumGenerationDialog().
| const MSSpectrum& getSpectrum | ( | ) | const |
returns the calculated spectrum
Referenced by TOPPViewBase::showSpectrumGenerationDialog().
|
protectedslot |
change check state of check box on widget click
|
protectedslot |
for isotope model changes
|
protectedslot |
for sequence type changes (combo box)
|
private |
iterates through 'check_boxes_' and en-/disables check boxes and corresponding spin boxes (and their labels)
|
friend |
|
private |
array of TSGDialog::CheckBox
Note: Ordering has to be the same as in the UI!
|
private |
save current sequence setting
|
private |
member to save the calculated spectrum to
|
private |
UI.