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

Method update

src/openms_gui/source/VISUAL/TOPPViewMenu.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 void TOPPViewMenu::update(const FS_TV status, const LayerDataBase::DataType layer_type)
173 {
174 for (auto& ar : menu_items_)
175 { // only disable if not supported by the view. This way, the user can still see the item (greyed out) and its ToolTip (for how to activate the item)
176 ar.enableAction(status, layer_type);
177 }
178 }
179
180 void TOPPViewMenu::addWindowToggle(QAction* const window_toggle)
181 {

Callers 15

finishHoveringEdgeMethod · 0.45
foreachFunction · 0.45
spectrumSearchText_Method · 0.45
keyPressEventMethod · 0.45
keyReleaseEventMethod · 0.45
spectrumSearchText_Method · 0.45
editParamMethod · 0.45
showStatusMessageMethod · 0.45
showCursorStatusMethod · 0.45
updateLayerBarMethod · 0.45
updateMenuMethod · 0.45
showStatusMessageMethod · 0.45

Calls 1

enableActionMethod · 0.80

Tested by 1

spectrumSearchText_Method · 0.36