From 191bab9ecdf86605b01ecdb0dd940346388d77c5 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Sat, 25 Sep 2021 01:20:26 +0200 Subject: [PATCH] Welcome: Add a dedicated session settings icon The re-used toolbar settings icon from Utils appears a bit small in comparison to the other icons on the welcome screen. This change adds a dedicated, properly sized "Settings" icon which fits better. Change-Id: I8af239a93806eaa6f355d504be282691b2463f3a Reviewed-by: Christian Stenger --- .../projectexplorer/projectwelcomepage.cpp | 3 +- src/plugins/welcome/images/settings.png | Bin 0 -> 216 bytes src/plugins/welcome/images/settings@2x.png | Bin 0 -> 418 bytes src/plugins/welcome/welcome.qrc | 2 + src/tools/icons/qtcreatoricons.svg | 190 ++++++++++-------- 5 files changed, 113 insertions(+), 82 deletions(-) create mode 100644 src/plugins/welcome/images/settings.png create mode 100644 src/plugins/welcome/images/settings@2x.png diff --git a/src/plugins/projectexplorer/projectwelcomepage.cpp b/src/plugins/projectexplorer/projectwelcomepage.cpp index 64fc21f1c12..2ad0aa27d16 100644 --- a/src/plugins/projectexplorer/projectwelcomepage.cpp +++ b/src/plugins/projectexplorer/projectwelcomepage.cpp @@ -562,8 +562,7 @@ public: auto manageSessionsButton = new WelcomePageButton(this); manageSessionsButton->setText(ProjectWelcomePage::tr("Manage")); - const Icon icon({{":/utils/images/settings.png", Theme::Welcome_ForegroundSecondaryColor}}, Icon::Tint); - manageSessionsButton->setIcon(icon.pixmap()); + manageSessionsButton->setIcon(pixmap("settings", Theme::Welcome_ForegroundSecondaryColor)); manageSessionsButton->setOnClicked([] { ProjectExplorerPlugin::showSessionManager(); }); auto newButton = new WelcomePageButton(this); diff --git a/src/plugins/welcome/images/settings.png b/src/plugins/welcome/images/settings.png new file mode 100644 index 0000000000000000000000000000000000000000..bc4d07a7414c6f6d455a5a171462b51c0bbe2ec5 GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4h9AW2CEqh_A)Rq%=dJ043P-W?Kk8)6d=O# zoQ1JEc)97cTNP)INZe3?cRfQ|Q+Sg;(Mh-TX_^m!0f3t=5evlCQwePi9)4ls$ zXSFm}Nj`agHszyGKIdaq^NT{4lJCzqiqMXlxNTMLsmRX6V}%kH6WTc(>>Kjl{9-hG zGKXzLx|~wfglhbHl_ir_)&sUu_+@6!x;dc;+i8=*ghs>T={vx#)$@!j<9^JH-!J zi%nc#T(e$#!E^RLxVmfI;m+_c?*&!-(<1T_xiJ0I^$-8MnQVKKWm3(LJiBqR#}7Q1Roa{2{W(o zbce|34I+&3N?#2kva2pP?sNX)!@i6!VHI;dU&3?Y{khpECh>`^QOs6$aZzJy@$pS# z=#k&LLLy)*bLxXb+fIr-s0;er#{J?(15d;5O*Kb#b~9|^`eCt+jZf_N=E(g5H~ze9 zZnMnTxis_k$Elf*W$$h|_05jqe#+%
    qHOh0!x(p~C7l=e#p*$0LEAKu#hub;6c V=iwutpjuGid%F6$taD0e0sz&ytMmW> literal 0 HcmV?d00001 diff --git a/src/plugins/welcome/welcome.qrc b/src/plugins/welcome/welcome.qrc index 018d398c1b0..70cf9cd9377 100644 --- a/src/plugins/welcome/welcome.qrc +++ b/src/plugins/welcome/welcome.qrc @@ -25,5 +25,7 @@ images/border.png images/download.png images/download@2x.png + images/settings.png + images/settings@2x.png diff --git a/src/tools/icons/qtcreatoricons.svg b/src/tools/icons/qtcreatoricons.svg index 2983146a838..af3ce0d8a03 100644 --- a/src/tools/icons/qtcreatoricons.svg +++ b/src/tools/icons/qtcreatoricons.svg @@ -3258,86 +3258,89 @@ xlink:href="#backgroundRect" y="0" x="0" /> - - - - - - - - - + + + + + + + + + + + + + + + +