mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 17:44:17 +05:00
Mantis issue 0021716: EDF 1679 : Create the bounding box in the GUI
This commit is contained in:
parent
e39ee4040b
commit
9023c3cda7
@ -150,6 +150,31 @@ bool MeasureGUI_BndBoxDlg::ClickOnApply()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=================================================================================
|
||||||
|
// function : ActivateThisDialog()
|
||||||
|
// purpose :
|
||||||
|
//=================================================================================
|
||||||
|
void MeasureGUI_BndBoxDlg::ActivateThisDialog()
|
||||||
|
{
|
||||||
|
GEOMBase_Skeleton::ActivateThisDialog();
|
||||||
|
|
||||||
|
connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),
|
||||||
|
this, SLOT(SelectionIntoArgument()));
|
||||||
|
|
||||||
|
globalSelection();
|
||||||
|
displayPreview(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
//=================================================================================
|
||||||
|
// function : enterEvent()
|
||||||
|
// purpose :
|
||||||
|
//=================================================================================
|
||||||
|
void MeasureGUI_BndBoxDlg::enterEvent(QEvent*)
|
||||||
|
{
|
||||||
|
if (!mainFrame()->GroupConstructors->isEnabled())
|
||||||
|
ActivateThisDialog();
|
||||||
|
}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
// function : processObject
|
// function : processObject
|
||||||
// purpose :
|
// purpose :
|
||||||
|
@ -54,6 +54,7 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void Init();
|
void Init();
|
||||||
|
void enterEvent (QEvent*);
|
||||||
bool getParameters (double&, double&, double&, double&, double&, double&);
|
bool getParameters (double&, double&, double&, double&, double&, double&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -64,6 +65,7 @@ private slots:
|
|||||||
void ClickOnOk();
|
void ClickOnOk();
|
||||||
bool ClickOnApply();
|
bool ClickOnApply();
|
||||||
void SelectionIntoArgument();
|
void SelectionIntoArgument();
|
||||||
|
void ActivateThisDialog();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MEASUREGUI_BNDBOXDLG_H
|
#endif // MEASUREGUI_BNDBOXDLG_H
|
||||||
|
Loading…
Reference in New Issue
Block a user