#include "SUPERVGraph_ViewManager.h"
+int SUPERVGraph_ViewManager::myMaxId = 0;
+
SUPERVGraph_ViewManager::SUPERVGraph_ViewManager( SUIT_Study* theStudy,
SUIT_Desktop* theDesktop,
SUIT_ViewModel* theViewModel )
: SUIT_ViewManager( theStudy, theDesktop, theViewModel )
{
+ myId = ++myMaxId;
}
SUPERVGraph_ViewManager::~SUPERVGraph_ViewManager()
void SUPERVGraph_ViewManager::setViewName(SUIT_ViewWindow* theView)
{
int aPos = myViews.find(theView);
- theView->setCaption( QString( "SUPERVISION - viewer:%1" ).arg(aPos+1));
+ theView->setCaption( QString( "SUPERVISION scene:%1 - viewer:%2" ).arg( myId ).arg(aPos+1));
}
void SUPERVGraph_ViewManager::contextMenuPopup( QPopupMenu* thePopup)