From: asl Date: Fri, 22 Sep 2017 07:26:41 +0000 (+0300) Subject: refs #1324: implementation of the chained operations X-Git-Tag: v2.1~66^2~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e156c1a718e5ce44c00c86336e9e111d69cb984;p=modules%2Fhydro.git refs #1324: implementation of the chained operations --- diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index 4f8eeafd..535770cf 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -1478,6 +1478,9 @@ void HYDROGUI_Module::onViewManagerAdded( SUIT_ViewManager* theViewManager ) } else if( theViewManager->getType() == OCCViewer_Viewer::Type() ) { + OCCViewer_ViewManager* mgr = dynamic_cast( theViewManager ); + mgr->setChainedOperations( true );//TODO: via preferences + connect( theViewManager, SIGNAL( viewCreated( SUIT_ViewWindow* ) ), this, SLOT( onViewCreated( SUIT_ViewWindow* ) ) ); connect( theViewManager, SIGNAL( mouseMove( SUIT_ViewWindow*, QMouseEvent* ) ),