aViewPort->installEventFilter(aViewer);
Handle(V3d_View) aView = aViewPort->getView();
aViewer->SetScale(aView, aView->Camera()->Scale());
- // We can not create selector here because other modules will be deactivatet later
+ // We can not create selector here because other modules will be deactivated later
//onViewManagerAdded(aMgr);
}
}
//void SHAPERGUI::connectToStudy(CAM_Study* theStudy)
//{
// // if there are created viewer managers, we should try to create viewer
-// // selector and initialize viewer with it. It sets interactive contect to the
+// // selector and initialize viewer with it. It sets interactive context to the
// // proxy viewer. If study is opened, CAM application calls this method before the open()
// // of data model
// // the SHAPER data model is specific and during open(load) redisplay signals are flushed, so
mySelector = createSelector(OCCViewManagers.first());
}
}
- // it should be pefromed after the selector creation in order to have AISContext
+ // it should be performed after the selector creation in order to have AISContext
myWorkshop->activateModule();
//action(myEraseAll)->setEnabled(false);
}
myProxyViewer->activateViewer(true);
- // Postrrocessing for LoadScriptId to remove created(if it was created) SALOME Object Browser
+ // Post-processing for LoadScriptId to remove created(if it was created) SALOME Object Browser
connect(getApp()->action(LightApp_Application::UserID+1), SIGNAL(triggered(bool)),
this, SLOT(onScriptLoaded()));
aResMgr->setValue("Study", "store_positions", myIsStorePositions);
getApp()->setEditEnabled(myIsEditEnabled);
- // Postrrocessing for LoadScriptId to remove created(if it was created) SALOME Object Browser
+ // Post-processing for LoadScriptId to remove created(if it was created) SALOME Object Browser
disconnect(getApp()->action(LightApp_Application::UserID+1), SIGNAL(triggered(bool)),
this, SLOT(onScriptLoaded()));
{
if (!myIsToolbarsModified)
return;
- // Save toolbars config into map
+ // Save toolbars configuration into map
QMap<QString, QStringList> aToolbarsConfig;
QtxActionToolMgr* aMgr = toolMgr();
QStringList aToolbars = myToolbars.keys();
}
aToolbarsConfig[aName] = aContent;
}
- // Store the config into resources
+ // Store the configuration into resources
SUIT_ResourceMgr* aResMgr = application()->resourceMgr();
QStringList aNames = aToolbarsConfig.keys();
QStringList aValues;