#include "HYDROGUI_ImportGeomObjectOp.h"
#include "HYDROGUI_ShowHideOp.h"
#include "HYDROGUI_Overview.h"
-
+#include <HYDROGUI_ProfileDlg.h>
#include <HYDROData_Tool.h>
#include <HYDROData_Image.h>
#include <HYDROData_Stream.h>
if (anOCCViewMgr)
anOCCViewMgr->setChainedOperations( aChainedPan );
}
+
+ QList<QDockWidget*> docW = getApp()->desktop()->findChildren<QDockWidget*>();
+ foreach (QDockWidget* qw, docW)
+ {
+ HYDROGUI_ProfileDlg* pdlg = dynamic_cast<HYDROGUI_ProfileDlg*>(qw);
+ if (pdlg)
+ pdlg->viewManager()->setChainedOperations(aChainedPan);
+ }
}
else
LightApp_Module::preferencesChanged( theSection, thePref );
SUIT_Study* aStudy = 0;
#endif
myViewManager = new OCCViewer_ViewManager( aStudy, 0 );
+ bool IsChainedPan = aResMgr->booleanValue( "HYDRO", "chained_panning" );
+ myViewManager->setChainedOperations(IsChainedPan);
OCCViewer_Viewer* aViewer = new OCCViewer_Viewer( dispTrihedron );
aViewer->setBackground( OCCViewer_ViewFrame::TOP_LEFT,