]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
added 2 missing icons
authorrnc <rnc@opencascade.com>
Mon, 13 Feb 2012 10:56:08 +0000 (10:56 +0000)
committerrnc <rnc@opencascade.com>
Mon, 13 Feb 2012 10:56:08 +0000 (10:56 +0000)
resources/feature_detect.png [new file with mode: 0644]
resources/import_picture.png [new file with mode: 0644]
src/EntityGUI/EntityGUI_PictureImportDlg.cxx
src/GEOMGUI/GEOM_images.ts

diff --git a/resources/feature_detect.png b/resources/feature_detect.png
new file mode 100644 (file)
index 0000000..ea1e154
Binary files /dev/null and b/resources/feature_detect.png differ
diff --git a/resources/import_picture.png b/resources/import_picture.png
new file mode 100644 (file)
index 0000000..a4b3ace
Binary files /dev/null and b/resources/import_picture.png differ
index f9d3fd1a535af878ba6bb5d9ed0b82031be85db2..eda7d1d7724d6797a9060c8f8999bc404ccc07a4 100644 (file)
@@ -54,9 +54,11 @@ EntityGUI_PictureImportDlg::EntityGUI_PictureImportDlg( GeometryGUI* theGeometry
                                     bool modal, Qt::WindowFlags fl )
   : GEOMBase_Skeleton( theGeometryGUI, parent, modal, fl )
 {
+  QPixmap image0 = QPixmap(SUIT_Session::session()->resourceMgr()->loadPixmap("GEOM", tr("ICON_DLG_IMPORT_PICTURE")));
   setWindowTitle( tr( "GEOM_IMPORT_PICT_TITLE" ) );
   mainFrame()->GroupConstructors->setTitle( tr( "GEOM_PICTURE" ) );
 
+  mainFrame()->RadioButton1->setIcon(image0);
   mainFrame()->RadioButton2->setAttribute(Qt::WA_DeleteOnClose);
   mainFrame()->RadioButton2->close();
   mainFrame()->RadioButton3->setAttribute(Qt::WA_DeleteOnClose);
index 690fbf9b4609a9cfbc480095e55a54db6886b4a2..95cf241bfe750fa495bdcaa48d51eed7ada8597c 100644 (file)
             <source>ICON_DLG_INTERPOL</source>
             <translation>interpol.png</translation>
         </message>
+        <message>
+            <source>ICON_DLG_IMPORT_PICTURE</source>
+            <translation>import_picture.png</translation>
+        </message>
         <message>
             <source>ICON_DLG_LINE_2P</source>
             <translation>line2points.png</translation>
             <source>ICO_FACE_SEL_ONLY</source>
             <translation>build_face.png</translation>
         </message>
+        <message>
+            <source>ICO_FEATURE_DETECTION</source>
+            <translation>feature_detect.png</translation>
+        </message>
         <message>
             <source>ICO_FILLET</source>
             <translation>fillet.png</translation>
             <source>ICO_INERTIA</source>
             <translation>axisinertia.png</translation>
         </message>
-       <message>
+        <message>
+            <source>ICO_PICTURE_IMPORT</source>
+            <translation>import_picture.png</translation>
+        </message>
+           <message>
             <source>ICO_LINE</source>
             <translation>line.png</translation>
         </message>