X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVGUI%2FPVGUI_Module_actions.cxx;h=beee3a52b6fa571018eb8763c66e736db8a137d0;hb=e4350e9cdbb25c86c1b7caa25182a8c99381ead9;hp=b7614908ac6057d2ee9892efdc849030c9a8d8b7;hpb=89c33033151baa33eeac8fb09d9c0488acb43c35;p=modules%2Fparavis.git diff --git a/src/PVGUI/PVGUI_Module_actions.cxx b/src/PVGUI/PVGUI_Module_actions.cxx index b7614908..beee3a52 100644 --- a/src/PVGUI/PVGUI_Module_actions.cxx +++ b/src/PVGUI/PVGUI_Module_actions.cxx @@ -1,6 +1,6 @@ // PARAVIS : ParaView wrapper SALOME module // -// Copyright (C) 2010-2012 CEA/DEN, EDF R&D +// Copyright (C) 2010-2013 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -39,7 +39,7 @@ #include #include -#include +// #include #include #include #include @@ -373,6 +373,13 @@ void PVGUI_Module::pvCreateActions() connect(anAction, SIGNAL(triggered()), this, SLOT(onShowTrace())); registerAction(ShowTraceId, anAction); + //Show Trace + anAction = new QAction(tr("MEN_RESTART_TRACE"), this); + anAction->setToolTip(tr("TOP_RESTART_TRACE")); + anAction->setStatusTip(tr("STB_RESTART_TRACE")); + connect(anAction, SIGNAL(triggered()), this, SLOT(onRestartTrace())); + registerAction(RestartTraceId, anAction); + // --- Menu "Help" // About @@ -521,6 +528,7 @@ void PVGUI_Module::pvCreateMenus() createMenu( PythonShellId, aToolsMnu ); createMenu( separator(), aToolsMnu ); createMenu( ShowTraceId, aToolsMnu ); + createMenu( RestartTraceId, aToolsMnu ); // --- Menu "Help"