]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
right extensions for texture files and link to help pages
authorrnc <rnc@opencascade.com>
Tue, 17 Apr 2012 08:34:15 +0000 (08:34 +0000)
committerrnc <rnc@opencascade.com>
Tue, 17 Apr 2012 08:34:15 +0000 (08:34 +0000)
src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx
src/EntityGUI/EntityGUI_PictureImportDlg.cxx

index e5d83b8de0bf565621b1959f5a5b672b6c19c250..d7e580cdbac1f832508c0597d6d4ee5b031dd872 100644 (file)
@@ -166,6 +166,8 @@ EntityGUI_FeatureDetectorDlg::EntityGUI_FeatureDetectorDlg( GeometryGUI* theGeom
   // Build an instance of detection used to perform image processing operations
   aDetector = new ShapeRec_FeatureDetector();
   
+  setHelpFileName( "shape_recognition_page.html" );
+  
   Init();
   
 }
index e71aa10758f6abbfb38d412e859e52dd310a510d..774e2c2b120952a007e492912cfe5c81535824c4 100644 (file)
@@ -78,7 +78,7 @@ EntityGUI_PictureImportDlg::EntityGUI_PictureImportDlg( GeometryGUI* theGeometry
   layout->setMargin( 0 ); layout->setSpacing( 6 );
   layout->addWidget( GroupFileSel );
 
-//   setHelpFileName( "import_picture_page.html" );
+  setHelpFileName( "import_picture_page.html" );
 
   Init();
 }
@@ -123,7 +123,7 @@ void EntityGUI_PictureImportDlg::Init()
 // =================================================================================
 void EntityGUI_PictureImportDlg::FileSelectionClicked()
 {
-  QString selFile = QFileDialog::getOpenFileName(this,tr( "GEOM_SELECT_IMAGE"),QString(), tr("OCC_IMAGE_FILES"));
+  QString selFile = QFileDialog::getOpenFileName(this,tr( "GEOM_SELECT_IMAGE"),QString(), tr("OCC_TEXTURE_FILES"));
   if ( ! selFile.isEmpty() )
     myLineEdit->setText(selFile);
 }