MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / preferencesDialog

Method preferencesDialog

src/openms_gui/source/VISUAL/APPLICATIONS/TOPPViewBase.cpp:500–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498 }
499
500 void TOPPViewBase::preferencesDialog()
501 {
502 Internal::TOPPViewPrefDialog dlg(this);
503 dlg.setParam(param_.copy(user_section, true));
504
505 // --------------------------------------------------------------------
506 // Execute dialog and update parameter object with user modified values
507 if (dlg.exec())
508 {
509 param_.remove(user_section);
510 param_.insert(user_section, dlg.getParam());
511 savePreferences();
512 }
513 }
514
515 TOPPViewBase::LOAD_RESULT TOPPViewBase::addDataFile(const String& filename, bool show_options, bool add_to_recent, String caption, UInt window_id, Size spectrum_id)
516 {

Callers

nothing calls this directly

Calls 5

setParamMethod · 0.45
copyMethod · 0.45
removeMethod · 0.45
insertMethod · 0.45
getParamMethod · 0.45

Tested by

no test coverage detected