//extern VisuGUI *visuGUI;
-VisuGUI_CutPlanesPane::VisuGUI_CutPlanesPane (QWidget* theParent/*, SUIT_ViewManager* theMgr*/)
- : QFrame(theParent), myPreviewActor(0)//, myMgr(theMgr)
+VisuGUI_CutPlanesPane::VisuGUI_CutPlanesPane (QWidget* theParent)
+ : QFrame(theParent), myPreviewActor(0)
{
QGridLayout* TopLayout = new QGridLayout( this );
TopLayout->setSpacing( 6 );
/*!
Constructor
*/
-VisuGUI_CutPlanesDlg::VisuGUI_CutPlanesDlg (QWidget* parent, bool theIsCreation, bool theIsModal)
- : QDialog(parent, "VisuGUI_CutPlanesDlg", theIsModal, WStyle_Customize |
+VisuGUI_CutPlanesDlg::VisuGUI_CutPlanesDlg (SalomeApp_Module* theModule,
+ bool theIsCreation, bool theIsModal)
+ : QDialog(VISU::GetDesktop(theModule), "VisuGUI_CutPlanesDlg", theIsModal, WStyle_Customize |
WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
- //,myMgr(VisuGUI::application()->activeViewManager())
{
- //myStudyWnd = myMgr->getActiveView();
if (!theIsModal) {
setWFlags(getWFlags() | WDestructiveClose);
}