<source>STB_POP_SHADING_WITH_EDGES</source>
<translation>Shading With Edges</translation>
</message>
+ <message>
+ <source>STB_POP_TEXTURE</source>
+ <translation>Texture</translation>
+ </message>
+ <message>
+ <source>STB_POP_VECTORS</source>
+ <translation>Show Edge Direction</translation>
+ </message>
<message>
<source>STB_POP_SETTEXTURE</source>
<translation>Add a texture</translation>
<source>STB_SEWING</source>
<translation>Perform sewing</translation>
</message>
+ <message>
+ <source>STB_WIREFRAME</source>
+ <translation>Wireframe</translation>
+ </message>
<message>
<source>STB_SHADING</source>
<translation>Shading</translation>
</message>
+ <message>
+ <source>STB_SHADING_WITH_EDGES</source>
+ <translation>Shading with edges</translation>
+ </message>
<message>
<source>STB_VECTOR_MODE</source>
<translation>Change Edge Presentation Mode</translation>
</message>
<message>
<source>MEN_POP_VECTORS</source>
- <translation>Montrer l'orientation de l'arête</translation>
+ <translation>Afficher l'orientation des arêtes</translation>
</message>
<message>
<source>MEN_PREFERENCES</source>
<source>STB_POP_SHADING_WITH_EDGES</source>
<translation>Ombrage avec arêtes</translation>
</message>
+ <message>
+ <source>STB_POP_TEXTURE</source>
+ <translation>Texture</translation>
+ </message>
+ <message>
+ <source>STB_POP_VECTORS</source>
+ <translation>Afficher l'orientation des arêtes</translation>
+ </message>
<message>
<source>STB_POP_SETTEXTURE</source>
<translation>Ajoute une texture</translation>
<source>STB_SEWING</source>
<translation>Effectuer la couture</translation>
</message>
+ <message>
+ <source>STB_WIREFRAME</source>
+ <translation>Contours</translation>
+ </message>
<message>
<source>STB_SHADING</source>
<translation>Ombrage</translation>
</message>
+ <message>
+ <source>STB_SHADING_WITH_EDGES</source>
+ <translation>Ombrage avec arêtes</translation>
+ </message>
<message>
<source>STB_VECTOR_MODE</source>
<translation>Changer le mode de représentation des arêtes</translation>
</message>
<message>
<source>STB_PIPETSHAPE</source>
- <translation>Créer un nouveau tuyau en T</translation>
+ <translation>Créer un tuyau en T</translation>
</message>
<message>
<source>GEOM_ADVANCED_201</source>
SUIT_ViewWindow* window = app->desktop()->activeWindow();
bool isOCC = ( window && window->getViewManager()->getType() == OCCViewer_Viewer::Type() );
if ( isOCC ) {
- QString aTexture = QFileDialog::getOpenFileName(window,tr( "GEOM_SELECT_IMAGE"),QString(), tr("OCC_IMAGE_FILES"));
+ QString aTexture = QFileDialog::getOpenFileName(window,tr( "GEOM_SELECT_IMAGE"),QString(), tr("OCC_TEXTURE_FILES"));
if( !aTexture.isEmpty() )
{
SUIT_OverrideCursor();
io = GEOMBase::GetAIS( It.Value(), true );
if ( !io.IsNull() ) {
if ( io->IsKind( STANDARD_TYPE(GEOM_AISShape) ) )
- Handle(GEOM_AISShape)::DownCast( io )->SetTextureFileName(TCollection_AsciiString(aTexture.toStdString().c_str()));
- io->Redisplay( Standard_True );
+ Handle(GEOM_AISShape)::DownCast( io )->SetTextureFileName(TCollection_AsciiString(aTexture.toStdString().c_str()));
+ io->Redisplay( Standard_True );
} // if ( !io.IsNull() )
} // for
ic->UpdateCurrentViewer();