From: rnc Date: Mon, 13 Feb 2012 10:56:08 +0000 (+0000) Subject: added 2 missing icons X-Git-Tag: V6_5_0a1~70 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09e82ed39be14073cbd870da5da374f148fbed9e;p=modules%2Fgeom.git added 2 missing icons --- diff --git a/resources/feature_detect.png b/resources/feature_detect.png new file mode 100644 index 000000000..ea1e15492 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 index 000000000..a4b3ace98 Binary files /dev/null and b/resources/import_picture.png differ diff --git a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx index f9d3fd1a5..eda7d1d77 100644 --- a/src/EntityGUI/EntityGUI_PictureImportDlg.cxx +++ b/src/EntityGUI/EntityGUI_PictureImportDlg.cxx @@ -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); diff --git a/src/GEOMGUI/GEOM_images.ts b/src/GEOMGUI/GEOM_images.ts index 690fbf9b4..95cf241bf 100644 --- a/src/GEOMGUI/GEOM_images.ts +++ b/src/GEOMGUI/GEOM_images.ts @@ -279,6 +279,10 @@ ICON_DLG_INTERPOL interpol.png + + ICON_DLG_IMPORT_PICTURE + import_picture.png + ICON_DLG_LINE_2P line2points.png @@ -835,6 +839,10 @@ ICO_FACE_SEL_ONLY build_face.png + + ICO_FEATURE_DETECTION + feature_detect.png + ICO_FILLET fillet.png @@ -883,7 +891,11 @@ ICO_INERTIA axisinertia.png - + + ICO_PICTURE_IMPORT + import_picture.png + + ICO_LINE line.png