return !theName1.isEmpty() && !theName2.isEmpty();
}
+void HYDROGUI_TwoImagesDlg::setPreselectedObject( const QString& theName )
+{
+ myImage1->SetName( theName );
+
+ HYDROGUI_ObjSelector* aSelector = myMode == TwoImages ? myImage2 : myPolyline;
+ aSelector->SetChecked( true );
+ aSelector->SetName( QString() );
+}
+
void HYDROGUI_TwoImagesDlg::setColor( const QColor& theColor )
{
if( theColor.alpha() == 0 ) // transparent