InstrumentSettingsVisualizer::InstrumentSettingsVisualizer(bool editable, QWidget * parent) : BaseVisualizerGUI(editable, parent), BaseVisualizer<InstrumentSettings>() { addLabel_("Modify the settings of the instrument."); addSeparator_(); addComboBox_(instrumentsettings_scan_mode_, "Scan mode"); addBooleanComboBox_(zoom_scan_, "Zoom scan"); addComboBox_(instrumentsettings_polarity_, "Polarity"); finishAdding_(); }
PeptideIdentificationVisualizer::PeptideIdentificationVisualizer(bool editable, QWidget * parent, MetaDataBrowser * caller) : BaseVisualizerGUI(editable, parent), BaseVisualizer<PeptideIdentification>() { pidv_caller_ = caller; addLineEdit_(identifier_, "Identifier<br>(of corresponding ProteinIdentification)"); addSeparator_(); addLineEdit_(score_type_, "Score type"); addBooleanComboBox_(higher_better_, "Higher score is better"); addDoubleLineEdit_(identification_threshold_, "Peptide significance threshold"); addSeparator_(); addLabel_("Show peptide hits with score equal or better than a threshold."); QPushButton * button; addLineEditButton_("Score threshold", filter_threshold_, button, "Filter"); connect(button, SIGNAL(clicked()), this, SLOT(updateTree_())); finishAdding_(); }