X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_TwoImagesDlg.cxx;h=7ec78132a5c38f10e5f88cba4c5e8eac984442c0;hb=a1431f03eac1d1aed4203d0568d987c41ce939b3;hp=44b0283ea9cdc0fa9e429102a5e9b6e9b0d54f22;hpb=7d335be2e47197e9b7d1ddf1a20dc1f3fa9507bd;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_TwoImagesDlg.cxx b/src/HYDROGUI/HYDROGUI_TwoImagesDlg.cxx index 44b0283e..7ec78132 100644 --- a/src/HYDROGUI/HYDROGUI_TwoImagesDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_TwoImagesDlg.cxx @@ -62,7 +62,8 @@ HYDROGUI_TwoImagesDlg::HYDROGUI_TwoImagesDlg( HYDROGUI_Module* theModule, const myImage2 = new HYDROGUI_ObjSelector( theModule, KIND_IMAGE, aParamGroup ); myPolylineLabel = new QLabel( tr( "POLYLINE" ), aParamGroup ); - myPolyline = new HYDROGUI_ObjSelector( theModule, KIND_POLYLINEXY, aParamGroup ); + myPolyline = new HYDROGUI_ObjSelector( theModule, KIND_POLYLINEXY, aParamGroup, + HYDROGUI_ObjSelector::ClosedPolyline); QFrame* aBackgroundFrame = new QFrame( aParamGroup ); QLabel* aBackgroundLabel = new QLabel( tr( "BACKGROUND" ), aBackgroundFrame ); @@ -99,6 +100,10 @@ HYDROGUI_TwoImagesDlg::HYDROGUI_TwoImagesDlg( HYDROGUI_Module* theModule, const this, SLOT( onModifySelectedImage( bool ) ) ); connect( myTransparent, SIGNAL( toggled( bool ) ), myColorBox, SLOT( setDisabled( bool ) ) ); + connect( myImage1, SIGNAL( alreadySelected( const QString& ) ), + this, SIGNAL( alreadySelected( const QString& ) ) ); + connect( myImage2, SIGNAL( alreadySelected( const QString& ) ), + this, SIGNAL( alreadySelected( const QString& ) ) ); setMode( myMode, myIsEdit ); }