X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fgenericgui%2FGenericGui.hxx;h=f73940b76f7287ae73794d4f20636f191b8590e8;hb=1894c52d0838df8676e770bef061fc23ca436452;hp=16390dcc862e1460303a8932dd5e675fda715525;hpb=f3b2b68ffecc5033287a7a255c8507f8989fb87f;p=modules%2Fyacs.git diff --git a/src/genericgui/GenericGui.hxx b/src/genericgui/GenericGui.hxx index 16390dcc8..f73940b76 100644 --- a/src/genericgui/GenericGui.hxx +++ b/src/genericgui/GenericGui.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2006-2013 CEA/DEN, EDF R&D +// Copyright (C) 2006-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -65,11 +65,12 @@ namespace YACS void createMenus(); void createTools(); void initialMenus(); + void hideAllMenus(); void showBaseMenus(bool show); void showEditionMenus(bool show); void showExecMenus(bool show); void showCommonMenus(bool show); - void switchContext(QWidget *view); + void switchContext(QWidget *view, bool onExit = false); bool closeContext(QWidget *view, bool onExit = false); void showDockWidgets(bool isVisible); void raiseStacked(); @@ -122,6 +123,7 @@ namespace YACS QAction *_createDataTypeAct; QAction *_importDataTypeAct; QAction *_newContainerAct; + QAction *_newHPContainerAct; QAction *_selectComponentInstanceAct; QAction *_newSalomeComponentAct; QAction *_newSalomePythonComponentAct; @@ -150,6 +152,9 @@ namespace YACS QAction *_copyItemAct; QAction *_pasteItemAct; QAction *_putInBlocAct; + QAction *_putGraphInBlocAct; + QAction *_putGraphInForLoopAct; + QAction *_putGraphInWhileLoopAct; QAction *_putGraphInOptimizerLoopAct; QAction *_arrangeLocalNodesAct; QAction *_arrangeRecurseNodesAct; @@ -157,6 +162,8 @@ namespace YACS QAction *_zoomToBlocAct; QAction *_centerOnNodeAct; QAction *_shrinkExpand; + QAction *_shrinkExpandChildren; + QAction *_shrinkExpandElementaryRecursively; QAction *_toggleStraightLinksAct; QAction *_toggleAutomaticComputeLinkAct; @@ -256,6 +263,7 @@ namespace YACS void onImportDataType(); void onNewContainer(); + void onNewHPContainer(); void onSelectComponentInstance(); void onNewSalomeComponent(); void onNewSalomePythonComponent(); @@ -286,6 +294,9 @@ namespace YACS void onCopyItem(); void onPasteItem(); void onPutInBloc(); + void onPutGraphInBloc(); + void onPutGraphInForLoop(); + void onPutGraphInWhileLoop(); void onPutGraphInOptimizerLoop(); void onArrangeLocalNodes(); void onArrangeRecurseNodes(); @@ -293,6 +304,8 @@ namespace YACS void onZoomToBloc(); void onCenterOnNode(); void onShrinkExpand(); + void onShrinkExpandChildren(); + void onShrinkExpandElementaryRecursively(); void onToggleStraightLinks(bool checked); void onToggleAutomaticComputeLinks(bool checked); void onToggleSimplifyLinks(bool checked);