+
+/*!
+ \brief Sets the ParaView multi-view manager for this view window
+*/
+void PVGUI_ViewWindow::setMultiViewManager( pqViewManager* viewMgr )
+{
+ myPVMgr = viewMgr;
+ myPVMgr->setParent( this );
+ // This is mandatory, see setParent() method in Qt 4 documentation
+ myPVMgr->show();
+ setCentralWidget( myPVMgr );
+}
+
+/*!
+ \brief Returns the ParaView multi-view manager previously set with setMultiViewManager()
+*/
+pqViewManager* PVGUI_ViewWindow::getMultiViewManager() const
+{
+ return myPVMgr;
+}