From: rnc Date: Tue, 17 Apr 2012 08:34:15 +0000 (+0000) Subject: right extensions for texture files and link to help pages X-Git-Tag: TRIPOLI_323~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=10957df41ea5099ffb0096d9d4524dee131d1065;p=modules%2Fgeom.git right extensions for texture files and link to help pages --- diff --git a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx index e5d83b8de..d7e580cdb 100644 --- a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx +++ b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx @@ -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(); } diff --git a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx index e71aa1075..774e2c2b1 100644 --- a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx +++ b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx @@ -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); }