int OCCViewer_ViewManager::myMaxId = 0;
-//***************************************************************/
+/*!
+ Constructor
+*/
OCCViewer_ViewManager::OCCViewer_ViewManager( SUIT_Study* study, SUIT_Desktop* theDesktop, bool DisplayTrihedron )
: SUIT_ViewManager( study, theDesktop )
{
setViewModel( new OCCViewer_Viewer( DisplayTrihedron ) );
}
-//***************************************************************/
+/*!
+ Destructor
+*/
OCCViewer_ViewManager::~OCCViewer_ViewManager()
{
}
-//***************************************************************/
+/*!
+ Sets view name
+ \param theView - view to assign name
+*/
void OCCViewer_ViewManager::setViewName(SUIT_ViewWindow* theView)
{
int aPos = myViews.find(theView);
theView->setCaption( tr( "OCC_VIEW_TITLE" ).arg( myId ).arg( aPos + 1 ) );
}
-//***************************************************************/
+/*!
+ Fills popup menu with custom actions
+ \param popup - popup menu to be filled with
+*/
void OCCViewer_ViewManager::contextMenuPopup( QPopupMenu* popup )
{
SUIT_ViewManager::contextMenuPopup( popup );