From 09e82ed39be14073cbd870da5da374f148fbed9e Mon Sep 17 00:00:00 2001 From: rnc Date: Mon, 13 Feb 2012 10:56:08 +0000 Subject: [PATCH] added 2 missing icons --- resources/feature_detect.png | Bin 0 -> 540 bytes resources/import_picture.png | Bin 0 -> 519 bytes src/EntityGUI/EntityGUI_PictureImportDlg.cxx | 2 ++ src/GEOMGUI/GEOM_images.ts | 14 +++++++++++++- 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 resources/feature_detect.png create mode 100644 resources/import_picture.png diff --git a/resources/feature_detect.png b/resources/feature_detect.png new file mode 100644 index 0000000000000000000000000000000000000000..ea1e154921f20c621923d75cfaa997c1fbfe0606 GIT binary patch literal 540 zcmV+%0^|LOP)D;!Q_*|`7!02y>eSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00DGK zL_t(I%f*yUO9D|8hM#LQVg|K{aHB2i2efi5h=dSk)5k7awXIc1D>E>N++>UBS41D1 z{(&R}Em{OEgNQZ}60LVWYe!%SlkWxAtrZxbd zV!a6==tT`cKcFf$AG=aJ6H0U7C2O#Edc)|*0L$TVh6g>r`iZMKaFo6S;Ndw}d$#nJ z{UD=h3q@28l?2N{Xta^S0aSqA{Yc98IA%1fkXmZ=>wACD55$Y0Ix^o zYR>3f=LIPkrv}VSnX+bdL?d!aUv56HZ78+QBx+w`(-APbg{hfiI zxmQ%Tifp$pb;BT_lK=7c$ex=*L+&v!ru2I492fS#0Tm~$%MKVYo1@<$>k%jmzzz5S e)giD9JbeSVq{Aqhq@oZ200009TB<7G;sg`02y>eSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00Cb~ zL_t(I%f*yEO9Md=hM!69!l@9I5Yr?U@kdzt6KqAWxAUV-XPJP#AZi&z5PKW3vJynB zG!T7Z!HjWuIM!nE_CLw9-H<0-%%%wK`e{Qkoly2*bz& zOar>s=WrnP`h?~;9%~l)gA1mUV=T_ zu%8^K&C2ExY9h;OzBo8=el|np`jT>`N;cl;`pX-8SXu)6-Qp!WMPd7}C-7SiU+WFl z3Po%qiL_wrxXk%g2@&DmnS{25bc*h*qJn{oxm{ZNBv=hV5EQ2+_q2(0aiAM|FtF|z z;Fy404xg9B8w;R>@zH27(6&q;OZfVf0=MoI=#i0NV5|Ow9@Ft>$IEmL$NaH-)X+o0 zb9W!eYQwf&=)(RtpcZCy^#f))!!aF_RRx*?#DEl_hXgi(yARrA#$dZ1n?3*l002ov JPDHLkV1nL`(lG!4 literal 0 HcmV?d00001 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 -- 2.39.2