int OCCViewer_ViewManager::myMaxId = 0;
-//***************************************************************
+//***************************************************************/
OCCViewer_ViewManager::OCCViewer_ViewManager( SUIT_Study* study, SUIT_Desktop* theDesktop, bool DisplayTrihedron )
: SUIT_ViewManager( study, theDesktop )
{
setViewModel( new OCCViewer_Viewer( DisplayTrihedron ) );
}
-//***************************************************************
+//***************************************************************/
OCCViewer_ViewManager::~OCCViewer_ViewManager()
{
}
-//***************************************************************
+//***************************************************************/
void OCCViewer_ViewManager::setViewName(SUIT_ViewWindow* theView)
{
int aPos = myViews.find(theView);
theView->setCaption( QString( "OCC scene:%1 - viewer:%2" ).arg(myId).arg(aPos+1));
}
-//***************************************************************
-/*bool OCCViewer_ViewManager::insertView(SUIT_ViewWindow* theView)
-{
- bool res = SUIT_ViewManager::insertView( theView );
- if ( res ) {
- OCCViewer_ViewWindow* view = (OCCViewer_ViewWindow*)theView;
- connect( view, SIGNAL(cloneView()), this, SLOT(createView()) );
- }
- return res;
-}*/
-
-//***************************************************************
+//***************************************************************/
void OCCViewer_ViewManager::contextMenuPopup( QPopupMenu* popup )
{
SUIT_ViewManager::contextMenuPopup( popup );