Handle(HYDROData_Object) aFatherObj = anObject3D->GetObject();
if ( !aFatherObj.IsNull() )
anObjectKind = aFatherObj->GetKind();
+ anIcon = QObject::tr( QString("HYDRO_%1TYPE%2_ICO").arg( aNeedUpdate ).arg( anObjectKind ).toLatin1() );
}
else if ( !anObject.IsNull() )
{
//myProfileNames->setInsertPolicy(QComboBox::InsertPolicy::NoInsert);
name_layout->addWidget(myProfileNames);
//
- myAddProfBtn = new QPushButton("Add Profile(s)", this);
- myRemProfBtn = new QPushButton("Remove Profile(s)", this);
+ myAddProfBtn = new QPushButton(tr("ADD_PROFILES"), this);
+ myRemProfBtn = new QPushButton(tr("REMOVE_PROFILE"), this);
name_layout->addWidget(myAddProfBtn);
name_layout->addWidget(myRemProfBtn);
}
if (names.contains(curText))
{
QString mes = tr( "PROFILE_ALREADY_EXISTS" );
- QString title = tr( "PROFILEOP_WARNING" );
+ QString title = tr( "PROFILEDLG_WARNING" );
#ifndef TEST_MODE
SUIT_MessageBox::warning( module()->getApp()->desktop(), title, mes );
#endif