PAL18696 SMESH : version of MED export

use GetVersionString(SMESH::MED_VERSION version, CORBA::Short nbDigits);
This commit is contained in:
eap 2008-01-29 13:46:48 +00:00
parent 8579e44356
commit fc9f03f0d9

View File

@ -278,9 +278,11 @@ using namespace std;
if (aRet) if (aRet)
return; return;
} }
// PAL18696
aFilterMap.insert( QObject::tr("MED 2.1 (*.med)"), SMESH::MED_V2_1 ); QString v21( aMesh->GetVersionString( SMESH::MED_V2_1, 2));
aFilterMap.insert( QObject::tr("MED 2.2 (*.med)"), SMESH::MED_V2_2 ); QString v22( aMesh->GetVersionString( SMESH::MED_V2_2, 2));
aFilterMap.insert( QString("MED ") + v21 + " (*.med)", SMESH::MED_V2_1 );
aFilterMap.insert( QString("MED ") + v22 + " (*.med)", SMESH::MED_V2_2 );
} }
break; break;
case 124: case 124: