From c4b85dbf9c4c36ad8ba5dbb1d06a26a54addd6b0 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 12 Jun 2020 14:36:06 +0200 Subject: [PATCH] Add Comunic icon --- ComunicWatcher.pro | 3 +++ loginwindow.cpp | 2 +- loginwindow.h | 14 +++++++++----- loginwindow.ui | 13 +++++++++++-- logo_large.png | Bin 0 -> 8642 bytes ressources.qrc | 5 +++++ 6 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 logo_large.png create mode 100644 ressources.qrc diff --git a/ComunicWatcher.pro b/ComunicWatcher.pro index 7828d8d..af00971 100644 --- a/ComunicWatcher.pro +++ b/ComunicWatcher.pro @@ -32,3 +32,6 @@ TRANSLATIONS += \ qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target + +RESOURCES += \ + ressources.qrc diff --git a/loginwindow.cpp b/loginwindow.cpp index 8c23382..787e8f1 100644 --- a/loginwindow.cpp +++ b/loginwindow.cpp @@ -2,7 +2,7 @@ #include "ui_loginwindow.h" LoginWindow::LoginWindow(QWidget *parent) - : QWidget(parent) + : QDialog(parent) , ui(new Ui::LoginWindow) { ui->setupUi(this); diff --git a/loginwindow.h b/loginwindow.h index 36373fd..026f387 100644 --- a/loginwindow.h +++ b/loginwindow.h @@ -1,13 +1,18 @@ -#ifndef LOGINWINDOW_H -#define LOGINWINDOW_H +/** + * Login window + * + * @author Pierre Hubert + */ -#include +#pragma once + +#include QT_BEGIN_NAMESPACE namespace Ui { class LoginWindow; } QT_END_NAMESPACE -class LoginWindow : public QWidget +class LoginWindow : public QDialog { Q_OBJECT @@ -18,4 +23,3 @@ public: private: Ui::LoginWindow *ui; }; -#endif // LOGINWINDOW_H diff --git a/loginwindow.ui b/loginwindow.ui index 0a3e872..1190a75 100644 --- a/loginwindow.ui +++ b/loginwindow.ui @@ -6,14 +6,23 @@ 0 0 - 800 + 337 600 LoginWindow + + + :/logo_large.png:/logo_large.png + + + false + - + + + diff --git a/logo_large.png b/logo_large.png new file mode 100644 index 0000000000000000000000000000000000000000..64abb8f7e1e274cc882e5dc7009256365b6da559 GIT binary patch literal 8642 zcmb_?cUV(Tw{8Lmp$8O@YETjBO?ok?fPjJ`y>~>KNGPF3P>NDj0#fxylNx#rRZuz- zdI`Pv4hDg{L}{x*)#4)aQHzS}0#WH1Ys}s4o-0U{F%ZRiKdqq5fEfVwU_8 zoeWu-lK2_W#EMWcMBI0Caj|nnfbPGtvqIR}!n_?3&tYonkDnO4regttU?BAe%DO(| zn|NfRsov}3T?_npzVEdBs$gb^79+&zAq%L$*lNS2DM24$l;{)0XJZzt!f{HhT8f zADi~=P#i5>0ySBc%8-FTBqSgh>^}}rC}2Jq^lt|U1cX9?K>v9Fk&%JmaL~UU{tE_x z_+Kyp#QztA`0IZkgNXQVw*1Sof3xLZmi?zKO)CBzBs1Cz`}});x?JVDTnBlh+fPTA zpSHU3&F$abIBa)7F6=)v*WB|}DBaf)PB$1})-pL!y>2Fht5h)w_n9jI%QP1=WB2X23JdW*V-ly`i-dVdid4 zLK57P=-6FAy;eH^Ppyxwp`Ee_g&lNbrDr8>law%YRBe1&(Bn0#N#(~Cze9SP_lVz# z5Q(Ua+YS@P<0-fh6T)H3`OV`D6sqYFShE&^cyNuKeaNwbo334~GG8Pk-EC{+{)9DK z`zr-F+!8fjoTVKtg8TVXRgcxaQf!bMCwn%xnYcAJ`ja*i278&ko23+Br4b>_%A}O% z?K|Iov$XQu!RgW6v0pi)DZF6t>&uTYd+W7)Jhhe&-h^18Y=?*Ys%TcWJOkExc5=XE zWcO!UH5waU>E!luF)vwO{l*(V5HoVTnv+cN$^IT-t&NrSXYGqu*15tQ9g*K@j}9CT zFaouQf6lK^kdl$9sd=_%Bx~^x#78k~F?xSpKK|j^_0DxON{kZ>ZiZ1B;+Ai*tW$q{ z&qVujK0TSIw6dWp+u+!BZJCP^3iTIt7$!g1l;FRUJ=oWL89GQnu^v8&|?hc>gP+Igp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V(m$&4-}fXIlJjjWCwO>*oS9FyA_IjzlPvFDIt?{p99nbR#v4p zug$RebF}r1rBy4PSAkTQFQC#@(`c->B-I<508=m-jW+&Bnb7V6I?esz~HsmRM*gG3Buw7eG^d3(Qhwmsa z?AMlx^?bWb#2n7Vf(YoHT{^2RZ*+8rH zW6V;XP>#`X$}erHBd1kx3z&q2B3XZRBw)O1Pz?o}^^#O~A?LMabD)@) z$g>g89QkhL-H&klL2^5z$pK$M=Pj-EI2SR+QpN1FJB4o8KkvLGchguk(RQiSMO z%p{N>XT9>x5X#ExQ5SO2dcoT_2NapDt~{c%t*E=0X*4@C62@EtgCE)OVLqU;7#p+ZP-oa%LvqJ7F ze(2k4-+Sm~-Z_r63$hXlCl<}Qh|dCC44@fnu!Mn1a`8%nIFi=Z87LPYX1btLXV{#d zkYT^0)f88;zBt*{Z;FUGpQgtawICqH{Erg;|ET=_-!Gm2tDygHj{*E|VF2vT|Nlfm c)7KLV{jd<>qdODMAmF90qV=HYo@Ma=0Z^ygvH$=8 literal 0 HcmV?d00001 diff --git a/ressources.qrc b/ressources.qrc new file mode 100644 index 0000000..41e70ef --- /dev/null +++ b/ressources.qrc @@ -0,0 +1,5 @@ + + + logo_large.png + +