From f05442e748d664e0148b8157ce5f82aa79eddfb1 Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Wed, 8 Mar 2017 14:39:09 +0100 Subject: [PATCH] Added application icon. --- application/appRc.qrc | 1 + application/application.pro | 5 ++++- application/icons/shop.ico | Bin 0 -> 4286 bytes application/logindialog.ui | 2 +- application/mainwindow.ui | 14 +++++++++----- application/shop.ico | Bin 0 -> 4286 bytes application/shop.rc | 1 + 7 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 application/icons/shop.ico create mode 100644 application/shop.ico create mode 100644 application/shop.rc diff --git a/application/appRc.qrc b/application/appRc.qrc index afa9743..e2ffa4c 100644 --- a/application/appRc.qrc +++ b/application/appRc.qrc @@ -5,5 +5,6 @@ style.css icons/settings.svg translations/prodejna_cs_CZ.qm + icons/shop.ico diff --git a/application/application.pro b/application/application.pro index eeb2f76..8ea5e6d 100644 --- a/application/application.pro +++ b/application/application.pro @@ -18,6 +18,8 @@ win32 { INCLUDEPATH += d:/prac/odb/libodb-qt-2.4.0 INCLUDEPATH += d:/prac/odb/libodb-sqlite-2.4.0 INCLUDEPATH += d:/prac/odb/sqlite + + RC_FILE = shop.rc } SOURCES += main.cpp\ @@ -59,4 +61,5 @@ RESOURCES += \ TRANSLATIONS = translations/prodejna_cz.ts -DISTFILES += +DISTFILES += \ + shop.rc diff --git a/application/icons/shop.ico b/application/icons/shop.ico new file mode 100644 index 0000000000000000000000000000000000000000..b7a49f3c124ae08e22f85f748b3b22c57667a1a3 GIT binary patch literal 4286 zcmeH~e@xVM7{@yX+RA)&Oe$3w%S@W8Y1DQ zT-wk~G=9`(xF~kI*>W0^w?Y>wh*)a48R#Z4b+HydlDqHI^L#$v@4nYJ^DesFY94#I z=Xrge=XpQh?>*lgFqVKn1_PtttbGn+_cF%P&=4^j8u44N|K1(2+wG}^p3KVP9Fu=0 zMzt=NYvD|;y!2_~TYm4Nk?*Th;L`f!85z}XD1G!&X^ye#@62Gcxzqe*i++Lz2GBSc zp) zf!x0x!l4jAM<$P4ZI`R;bM&iO9UI(tg$bP1Uu8j*=hfs@O-YhCYru)#qz_~T5kjR z5O?pgvU>sCJ&eiZv&u}JIU4KC69ob zR(5X^cW)Q&9x*ie$4|Ky9Kh#MVQ@fsCeMGOF{}ws&<;*wFWf=QEiXzxc_V$J(U@HA zdwdw$P^;q}tepUPcrWmn7@GXU4$fike2t^ebMfpCxmZh_dJ(VkE*ZxCp7mEVNRpJX zyVCG8e2iLT`wUo%yP(GO-hMm49_$y%$R|c;k(_F&hr-$_4Oda)$?NGOpXYW;N4@!` z5Pk;J|AtX-(jYDU40gMtU6LGdGmNzK`Z!b5&CnJaQj=ca?RMYca5!F*BxgP5Y(X1Q z=fQc;qrX|4(RozcWVbudsr8sYiaoaCHEu-zWzy2?>tl<>G8gAL7SZD%Js_SZNJje8&8bjbX6n`F$2%_aNDC^9%>kTae_6iW>|JTIkWZ{2*ZN?*^=|e1 zf8PO!c*%^d3o({8#n=OpHpW7-^xDu`D@hXdNU50c!E@wjlmbHk1S~ LmLe=dkKEq@$JMw+ literal 0 HcmV?d00001 diff --git a/application/logindialog.ui b/application/logindialog.ui index b4fd75e..56111cb 100644 --- a/application/logindialog.ui +++ b/application/logindialog.ui @@ -59,7 +59,7 @@ - + diff --git a/application/mainwindow.ui b/application/mainwindow.ui index 4a52742..e97c89e 100644 --- a/application/mainwindow.ui +++ b/application/mainwindow.ui @@ -13,6 +13,10 @@ MainWindow + + + :/icons/shop.ico:/icons/shop.ico + @@ -56,12 +60,12 @@ 0 0 1000 - 21 + 19 - File + Fi&le @@ -83,12 +87,12 @@ - Exit + &Exit - Open database... + &Open database... @@ -97,7 +101,7 @@ :/icons/login_32.png:/icons/login_32.png - Login... + &Login... diff --git a/application/shop.ico b/application/shop.ico new file mode 100644 index 0000000000000000000000000000000000000000..b7a49f3c124ae08e22f85f748b3b22c57667a1a3 GIT binary patch literal 4286 zcmeH~e@xVM7{@yX+RA)&Oe$3w%S@W8Y1DQ zT-wk~G=9`(xF~kI*>W0^w?Y>wh*)a48R#Z4b+HydlDqHI^L#$v@4nYJ^DesFY94#I z=Xrge=XpQh?>*lgFqVKn1_PtttbGn+_cF%P&=4^j8u44N|K1(2+wG}^p3KVP9Fu=0 zMzt=NYvD|;y!2_~TYm4Nk?*Th;L`f!85z}XD1G!&X^ye#@62Gcxzqe*i++Lz2GBSc zp) zf!x0x!l4jAM<$P4ZI`R;bM&iO9UI(tg$bP1Uu8j*=hfs@O-YhCYru)#qz_~T5kjR z5O?pgvU>sCJ&eiZv&u}JIU4KC69ob zR(5X^cW)Q&9x*ie$4|Ky9Kh#MVQ@fsCeMGOF{}ws&<;*wFWf=QEiXzxc_V$J(U@HA zdwdw$P^;q}tepUPcrWmn7@GXU4$fike2t^ebMfpCxmZh_dJ(VkE*ZxCp7mEVNRpJX zyVCG8e2iLT`wUo%yP(GO-hMm49_$y%$R|c;k(_F&hr-$_4Oda)$?NGOpXYW;N4@!` z5Pk;J|AtX-(jYDU40gMtU6LGdGmNzK`Z!b5&CnJaQj=ca?RMYca5!F*BxgP5Y(X1Q z=fQc;qrX|4(RozcWVbudsr8sYiaoaCHEu-zWzy2?>tl<>G8gAL7SZD%Js_SZNJje8&8bjbX6n`F$2%_aNDC^9%>kTae_6iW>|JTIkWZ{2*ZN?*^=|e1 zf8PO!c*%^d3o({8#n=OpHpW7-^xDu`D@hXdNU50c!E@wjlmbHk1S~ LmLe=dkKEq@$JMw+ literal 0 HcmV?d00001 diff --git a/application/shop.rc b/application/shop.rc new file mode 100644 index 0000000..befc6d6 --- /dev/null +++ b/application/shop.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON DISCARDABLE "shop.ico"