Salome HOME
Splash screen was implemented. Changes in packages SUIT and Session are integrated.
[modules/gui.git] / src / SUPERVGraph / SUPERVGraph_ViewManager.cxx
1 #include "SUPERVGraph_ViewManager.h"
2
3 int SUPERVGraph_ViewManager::myMaxId = 0;
4
5 SUPERVGraph_ViewManager::SUPERVGraph_ViewManager( SUIT_Study* theStudy, 
6                                                   SUIT_Desktop* theDesktop, 
7                                                   SUIT_ViewModel* theViewModel )
8   : SUIT_ViewManager( theStudy, theDesktop, theViewModel )
9 {
10   myId = ++myMaxId;
11 }
12
13 SUPERVGraph_ViewManager::~SUPERVGraph_ViewManager()
14 {
15 }
16
17 void SUPERVGraph_ViewManager::setViewName(SUIT_ViewWindow* theView)
18 {
19   int aPos = myViews.find(theView);
20   theView->setCaption( QString( "SUPERVISION  scene:%1 - viewer:%2" ).arg( myId ).arg(aPos+1));
21 }
22
23 void SUPERVGraph_ViewManager::contextMenuPopup( QPopupMenu* thePopup)
24 {
25   SUIT_ViewManager::contextMenuPopup( thePopup );
26   // to be implemented
27 }