myImage2 = new HYDROGUI_ObjSelector( theModule, KIND_IMAGE, aParamGroup );
myPolylineLabel = new QLabel( tr( "POLYLINE" ), aParamGroup );
- myPolyline = new HYDROGUI_ObjSelector( theModule, KIND_POLYLINE, aParamGroup );
+ myPolyline = new HYDROGUI_ObjSelector( theModule, KIND_POLYLINEXY, aParamGroup );
QFrame* aBackgroundFrame = new QFrame( aParamGroup );
QLabel* aBackgroundLabel = new QLabel( tr( "BACKGROUND" ), aBackgroundFrame );
connect( myModifySelectedImage, SIGNAL( toggled( bool ) ),
this, SLOT( onModifySelectedImage( bool ) ) );
+ connect( myTransparent, SIGNAL( toggled( bool ) ),
+ myColorBox, SLOT( setDisabled( bool ) ) );
setMode( myMode, myIsEdit );
}
myPolyline->Clear();
myTransparent->setChecked( true );
myColorBox->resetColor();
+ myColorBox->setDisabled( true );
}
void HYDROGUI_TwoImagesDlg::setMode( const int theMode, const bool theIsEdit )