From 75dd928fbb9a3c6c2bb68fde5e2082f53124196d Mon Sep 17 00:00:00 2001 From: defnax Date: Sat, 28 Sep 2019 22:58:28 +0200 Subject: [PATCH] Removed the default stylsheets from titlebar frames Removed the default stylsheets from titlebar frames --- retroshare-gui/src/gui/ChatLobbyWidget.ui | 5 +- .../src/gui/FileTransfer/TransfersDialog.ui | 4 +- retroshare-gui/src/gui/FriendsDialog.ui | 2 +- retroshare-gui/src/gui/Identity/IdDialog.ui | 12 +++- retroshare-gui/src/gui/NewsFeed.ui | 2 +- .../src/gui/common/GroupTreeWidget.cpp | 2 +- .../src/gui/common/GroupTreeWidget.ui | 2 +- .../src/gui/gxs/GxsGroupFrameDialog.ui | 2 +- retroshare-gui/src/gui/msgs/MessagesDialog.ui | 60 +++++++++---------- .../src/gui/qss/stylesheet/Standard.qss | 2 +- 10 files changed, 51 insertions(+), 42 deletions(-) diff --git a/retroshare-gui/src/gui/ChatLobbyWidget.ui b/retroshare-gui/src/gui/ChatLobbyWidget.ui index 072006b40..bc8da9d6b 100644 --- a/retroshare-gui/src/gui/ChatLobbyWidget.ui +++ b/retroshare-gui/src/gui/ChatLobbyWidget.ui @@ -32,7 +32,7 @@ - QFrame::Box + QFrame::NoFrame QFrame::Sunken @@ -116,6 +116,9 @@ + + 1 + diff --git a/retroshare-gui/src/gui/FileTransfer/TransfersDialog.ui b/retroshare-gui/src/gui/FileTransfer/TransfersDialog.ui index 5c25f5d1f..f1685a5d5 100644 --- a/retroshare-gui/src/gui/FileTransfer/TransfersDialog.ui +++ b/retroshare-gui/src/gui/FileTransfer/TransfersDialog.ui @@ -32,7 +32,7 @@ - QFrame::Box + QFrame::NoFrame QFrame::Sunken @@ -176,7 +176,7 @@ - + diff --git a/retroshare-gui/src/gui/FriendsDialog.ui b/retroshare-gui/src/gui/FriendsDialog.ui index beb9a68e5..1ac4095cc 100644 --- a/retroshare-gui/src/gui/FriendsDialog.ui +++ b/retroshare-gui/src/gui/FriendsDialog.ui @@ -32,7 +32,7 @@ - QFrame::Box + QFrame::NoFrame QFrame::Sunken diff --git a/retroshare-gui/src/gui/Identity/IdDialog.ui b/retroshare-gui/src/gui/Identity/IdDialog.ui index c940f763f..d49782bd4 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.ui +++ b/retroshare-gui/src/gui/Identity/IdDialog.ui @@ -32,6 +32,9 @@ 0 + + 6 + @@ -41,7 +44,7 @@ - QFrame::Box + QFrame::NoFrame QFrame::Sunken @@ -138,6 +141,9 @@ + + 1 + @@ -283,8 +289,8 @@ 0 0 - 1372 - 999 + 1003 + 1094 diff --git a/retroshare-gui/src/gui/NewsFeed.ui b/retroshare-gui/src/gui/NewsFeed.ui index baf108650..43908f81a 100644 --- a/retroshare-gui/src/gui/NewsFeed.ui +++ b/retroshare-gui/src/gui/NewsFeed.ui @@ -32,7 +32,7 @@ - QFrame::Box + QFrame::NoFrame QFrame::Sunken diff --git a/retroshare-gui/src/gui/common/GroupTreeWidget.cpp b/retroshare-gui/src/gui/common/GroupTreeWidget.cpp index 62c5f45fc..8a5516f6f 100644 --- a/retroshare-gui/src/gui/common/GroupTreeWidget.cpp +++ b/retroshare-gui/src/gui/common/GroupTreeWidget.cpp @@ -210,7 +210,7 @@ void GroupTreeWidget::addToolButton(QToolButton *toolButton) toolButton->setIconSize(ui->displayButton->iconSize()); toolButton->setFocusPolicy(ui->displayButton->focusPolicy()); - ui->titleBarFrame->layout()->addWidget(toolButton); + ui->toolBarFrame->layout()->addWidget(toolButton); } // Load and save settings (group must be started from the caller) diff --git a/retroshare-gui/src/gui/common/GroupTreeWidget.ui b/retroshare-gui/src/gui/common/GroupTreeWidget.ui index 26167dcd7..4f0eb977d 100644 --- a/retroshare-gui/src/gui/common/GroupTreeWidget.ui +++ b/retroshare-gui/src/gui/common/GroupTreeWidget.ui @@ -27,7 +27,7 @@ 0 - + 0 diff --git a/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.ui b/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.ui index 7431deb97..0a8fa4587 100644 --- a/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.ui +++ b/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.ui @@ -32,7 +32,7 @@ - QFrame::Box + QFrame::NoFrame QFrame::Sunken diff --git a/retroshare-gui/src/gui/msgs/MessagesDialog.ui b/retroshare-gui/src/gui/msgs/MessagesDialog.ui index 6d53864e6..134621e7e 100644 --- a/retroshare-gui/src/gui/msgs/MessagesDialog.ui +++ b/retroshare-gui/src/gui/msgs/MessagesDialog.ui @@ -24,7 +24,7 @@ 0 - + 0 @@ -40,11 +40,11 @@ 16777215 - 36 + 28 - QFrame::Box + QFrame::NoFrame QFrame::Sunken @@ -96,7 +96,7 @@ Compose - + :/images/folder-draft24.png:/images/folder-draft24.png @@ -137,7 +137,7 @@ Delete - + :/images/deletemail24.png:/images/deletemail24.png @@ -201,7 +201,7 @@ Foward - + :/images/mailforward24-hover.png:/images/mailforward24-hover.png @@ -248,7 +248,7 @@ Print - + :/images/print24.png:/images/print24.png @@ -283,7 +283,7 @@ Display - + :/images/looknfeel.png:/images/looknfeel.png @@ -324,7 +324,7 @@ - :/icons/png/messages.png + :/icons/png/messages.png true @@ -343,7 +343,7 @@ Tags - + :/images/tag24.png:/images/tag24.png @@ -390,7 +390,7 @@ Reply - + :/images/replymail-pressed.png:/images/replymail-pressed.png @@ -431,7 +431,7 @@ Reply all - + :/images/replymailall24-hover.png:/images/replymailall24-hover.png @@ -454,7 +454,7 @@ Qt::NoFocus - + :/icons/help_64.png:/icons/help_64.png @@ -570,7 +570,7 @@ Inbox - + :/images/folder-inbox.png:/images/folder-inbox.png @@ -579,7 +579,7 @@ Outbox - + :/images/folder-outbox.png:/images/folder-outbox.png @@ -588,7 +588,7 @@ Draft - + :/images/folder-draft.png:/images/folder-draft.png @@ -597,7 +597,7 @@ Sent - + :/images/folder-sent.png:/images/folder-sent.png @@ -606,7 +606,7 @@ Trash - + :/images/folder-trash.png:/images/folder-trash.png @@ -662,7 +662,7 @@ - :/images/foldermail.png + :/images/foldermail.png @@ -703,7 +703,7 @@ - :/images/tag24.png + :/images/tag24.png true @@ -804,7 +804,7 @@ - + :/images/mail_reply.png:/images/mail_reply.png @@ -813,7 +813,7 @@ - + :/images/mail_replyall.png:/images/mail_replyall.png @@ -822,7 +822,7 @@ - + :/images/mail_forward.png:/images/mail_forward.png @@ -831,16 +831,16 @@ - - StyledLabel - QLabel -
gui/common/StyledLabel.h
-
LineEditClear QLineEdit
gui/common/LineEditClear.h
+ + StyledLabel + QLabel +
gui/common/StyledLabel.h
+
RSTabWidget QTabWidget @@ -853,8 +853,8 @@ listWidget - - + + diff --git a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss index f1420a0a3..f13882fd4 100644 --- a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss +++ b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss @@ -2,7 +2,7 @@ /* Standard rules */ -QFrame#titleBarFrame, QFrame#toolBarFrame { +QFrame#toolBarFrame { background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FEFEFE, stop:1 #E8E8E8); border: 1px solid #CCCCCC; }