mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 04:20:34 +05:00
22252: EDF 2684 SMESH: Extrusion along a path with a curvilinear edge
Activate selection of the Base Point right at checking its check-box
This commit is contained in:
parent
667c4a210e
commit
94ce6f40fc
@ -354,6 +354,7 @@ SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg( SMESHGUI* theMod
|
|||||||
connect(SelectPathMeshButton, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
|
connect(SelectPathMeshButton, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
|
||||||
connect(SelectStartPointButton, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
|
connect(SelectStartPointButton, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
|
||||||
connect(SelectBasePointButton, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
|
connect(SelectBasePointButton, SIGNAL(clicked()), this, SLOT(SetEditCurrentArgument()));
|
||||||
|
connect(BasePointGrp, SIGNAL(toggled(bool)), this, SLOT(SetEditCurrentArgument()));
|
||||||
|
|
||||||
connect(mySMESHGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
|
connect(mySMESHGUI, SIGNAL(SignalDeactivateActiveDialog()), this, SLOT(DeactivateActiveDialog()));
|
||||||
connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
|
connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
|
||||||
@ -914,6 +915,8 @@ void SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument()
|
|||||||
void SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument()
|
void SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument()
|
||||||
{
|
{
|
||||||
QToolButton* send = (QToolButton*)sender();
|
QToolButton* send = (QToolButton*)sender();
|
||||||
|
if ( sender() == BasePointGrp )
|
||||||
|
send = SelectBasePointButton;
|
||||||
if (send != SelectElementsButton &&
|
if (send != SelectElementsButton &&
|
||||||
send != SelectPathMeshButton &&
|
send != SelectPathMeshButton &&
|
||||||
send != SelectStartPointButton &&
|
send != SelectStartPointButton &&
|
||||||
|
Loading…
Reference in New Issue
Block a user