Reimplemented from YACS::HMI::MenusBase.
Definition at line 129 of file Menus.cxx.
References YACS::HMI::GenericGui::_arrangeLocalNodesAct, YACS::HMI::GenericGui::_arrangeRecurseNodesAct, YACS::HMI::GenericGui::_blockNodeAct, YACS::HMI::GenericGui::_centerOnNodeAct, YACS::HMI::GenericGui::_computeLinkAct, YACS::HMI::GenericGui::_copyItemAct, YACS::HMI::GenericGui::_cutItemAct, YACS::HMI::GenericGui::_deEmphasizeAllAct, YACS::HMI::GenericGui::_deleteItemAct, YACS::HMI::GenericGui::_emphasisPortLinksAct, YACS::HMI::GenericGui::_FORNodeAct, YACS::HMI::GenericGui::_getErrorDetailsAct, YACS::HMI::GenericGui::_getErrorReportAct, YACS::HMI::GenericGui::_hideCtrlLinksAct, YACS::HMI::GenericGui::_inDataNodeAct, YACS::HMI::GenericGui::_inlineFunctionNodeAct, YACS::HMI::GenericGui::_inlineScriptNodeAct, YACS::HMI::GenericGui::_inStudyNodeAct, YACS::HMI::GenericGui::_nodeFromCatalogAct, YACS::HMI::GenericGui::_OptimizerLoopAct, YACS::HMI::GenericGui::_outDataNodeAct, YACS::HMI::GenericGui::_outStudyNodeAct, YACS::HMI::GenericGui::_pasteItemAct, YACS::HMI::GenericGui::_putInBlocAct, YACS::HMI::GenericGui::_showCtrlLinksAct, YACS::HMI::GenericGui::_showOnlyCtrlLinksAct, YACS::HMI::GenericGui::_shrinkExpand, YACS::HMI::GenericGui::_shrinkExpandChildren, YACS::HMI::GenericGui::_shrinkExpandElementaryRecursively, YACS::HMI::GenericGui::_SWITCHNodeAct, YACS::HMI::GenericGui::_WHILENodeAct, YACS::HMI::GenericGui::_zoomToBlocAct, YACS::HMI::MenusBase::addForEachMenu(), YACS::HMI::MenusBase::addHeader(), YACS::HMI::QtGuiContext::getGMain(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::QtGuiContext::getSelectedSubject(), YACS::HMI::QtGuiContext::isEdition(), and YACS::HMI::SubjectNode::isValid().
Referenced by YACS::HMI::SchemaComposedNodeItem::popupMenu(), and YACS::HMI::SceneComposedNodeItem::popupMenu().
133 QMenu menu(
m, caller);
134 QActionGroup actgroup(
this);
138 QMenu *CNmenu = menu.addMenu(tr(
"Create Node"));
143 CNmenu->addSeparator();
146 CNmenu->addSeparator();
151 CNmenu->addSeparator();
153 CNmenu->addSeparator();
204 menu.exec(globalPos);