From e91f8cd79b69022f33b018bd393634f077e1b28e Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 14 Oct 2019 19:56:47 +0200 Subject: [PATCH] change for chat lobby widget Added new icons replaced for the old ones changes for stylesheet --- retroshare-gui/src/gui/ChatLobbyWidget.cpp | 6 +- retroshare-gui/src/gui/ChatLobbyWidget.ui | 8 ++- .../src/gui/icons/png/chats-private.png | Bin 0 -> 3699 bytes .../src/gui/icons/svg/chats-private.svg | 64 ++++++++++++++++++ .../src/gui/qss/stylesheet/Standard.qss | 5 +- 5 files changed, 78 insertions(+), 5 deletions(-) create mode 100644 retroshare-gui/src/gui/icons/png/chats-private.png create mode 100644 retroshare-gui/src/gui/icons/svg/chats-private.svg diff --git a/retroshare-gui/src/gui/ChatLobbyWidget.cpp b/retroshare-gui/src/gui/ChatLobbyWidget.cpp index a5e5579a0..dea3ea4e2 100644 --- a/retroshare-gui/src/gui/ChatLobbyWidget.cpp +++ b/retroshare-gui/src/gui/ChatLobbyWidget.cpp @@ -69,8 +69,8 @@ #define TYPE_LOBBY 1 #define IMAGE_CREATE "" -#define IMAGE_PUBLIC ":/images/chat_x24.png" -#define IMAGE_PRIVATE ":/images/chat_red24.png" +#define IMAGE_PUBLIC ":/icons/png/chats.png" +#define IMAGE_PRIVATE ":/icons/png/chats-private.png" #define IMAGE_SUBSCRIBE ":/images/edit_add24.png" #define IMAGE_UNSUBSCRIBE ":/images/cancel.png" #define IMAGE_PEER_ENTERING ":images/user/add_user24.png" @@ -211,6 +211,8 @@ ChatLobbyWidget::ChatLobbyWidget(QWidget *parent, Qt::WindowFlags flags) ).arg(QString::number(2*S)).arg(QString::number(S)) ; registerHelpButton(ui.helpButton,help_str,"ChatLobbyDialog") ; + + ui.lobbyTreeWidget->setIconSize(QSize(S*1.5,S*1.5)); } ChatLobbyWidget::~ChatLobbyWidget() diff --git a/retroshare-gui/src/gui/ChatLobbyWidget.ui b/retroshare-gui/src/gui/ChatLobbyWidget.ui index 134b50b9a..9a563f4a7 100644 --- a/retroshare-gui/src/gui/ChatLobbyWidget.ui +++ b/retroshare-gui/src/gui/ChatLobbyWidget.ui @@ -228,12 +228,18 @@ + + + - Selected Chat Room info + Chat Room info + + 6 + diff --git a/retroshare-gui/src/gui/icons/png/chats-private.png b/retroshare-gui/src/gui/icons/png/chats-private.png new file mode 100644 index 0000000000000000000000000000000000000000..039cc2b2dab158b62f87a67561c1b91e04f47966 GIT binary patch literal 3699 zcmZ`+=RX^c*A2DzR=YJ@yA-Y2kyaJ4_a2Fzs1Y@*(OPY&wxO{{TU!*7+C@bXG(~J; zeAN~sv}!z_Kj3#ipL@@}=goO@U!0R-4l-nC5oQ4Z0PIGOfR+~+|NqUza51~}Jq9j- zF7%#}HPc1KFnK3m+|0p`96|vA!HZomnZ}&(^7jQP6!ySA%nAkxi|_~m10o_Kl>MLq zpoZSW5r`OK$dr(JhgHsg^rPYO`-e}SxuLioCR z=`1u*;RRgh4Z7IwdUOKEzmyeEH$u;L@gxGYsas6CLP}=f(^ZIK7?%HoU1d&)gT6CV ztSjp282soF!a@eMOp&jNzD}THT;$9ibu^+F>y~Ybcj`6kN+z57!z^#yrmF>Z=7?1V zw%7edXcd(NodG-eXUe_Nrcm6Esm8y*yr&f6<1pPuh@Oek>h@7c30WDeHR+CipoyC< zdiX1frmCTY3KGae+;^Ni119J98pyZI-Al(!=RN$XO>=-QA@k7}@NJFN!E^3^X93&Y z8oIOvhe+OZ1E56CjXDj#SdB~vC~@N!EN8|2aq85cx-`JMM9)skO=1IFmeC^Yose=^ zgU|GqiFmeDJeb3RB7^dnvG!zF#?9FXT*pqM6>r)C6v7>UixPe4bZ(9wHUh&8Kx1Au zEiOXocxEyLLt10#EYKjVG!ANa(l?*PwulM6!ZW#}q4ZjBR>+kUPL`p@Z=c~hmdLIb zN_=@Gg?7z3;M%N-g|v4!oT&O(kA`ho1m@u408k7YFnlZVm}Y&(A8sd1B16 z{|iv=Y!^Rz@y!49Yb@HWrQt~AO5O(|B@-bB6m-uAM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mSjvgvQdQSu83R7us*$B7_WFun0gaP~f@0UStq%?p#fHT4isYh`|Bmv06M!E2 zk0|mh<;J6U@_DLxbmbfs>|f2d*-J*D5q=ZKlg^#(@=eJi8A8><nz9|y?k8UPs6?? znYzuL>n9ibq=u{|v@z6xm+%Slb+U~Lbtrbv#}ye + + +image/svg+xml \ No newline at end of file diff --git a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss index 05670f863..b817dd9cc 100644 --- a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss +++ b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss @@ -176,8 +176,9 @@ ChatLobbyWidget QGroupBox#lobbyinfo_groupBox ChatLobbyWidget QGroupBox::title#lobbyinfo_groupBox { - padding: 4 12px; - background: transparent; + padding: 4 12px; + background: #039bd5; + color: white; } ChatLobbyWidget QLabel#lobbyInfoLabel {