From 4d8cd5fa03faf0d638827bd2714dbe8bfa6e2b8a Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 7 Oct 2020 13:19:30 +0200 Subject: [PATCH] Welcome screen: Add "Get Qt" link Change-Id: Ic3a6210a0b1600ae308bbdb43f0c50fc72d910e8 Reviewed-by: Eike Ziller --- src/plugins/welcome/images/download.png | Bin 0 -> 197 bytes src/plugins/welcome/images/download@2x.png | Bin 0 -> 264 bytes src/plugins/welcome/welcome.qrc | 2 ++ src/plugins/welcome/welcomeplugin.cpp | 1 + src/tools/icons/qtcreatoricons.svg | 18 ++++++++++++++++++ 5 files changed, 21 insertions(+) create mode 100644 src/plugins/welcome/images/download.png create mode 100644 src/plugins/welcome/images/download@2x.png diff --git a/src/plugins/welcome/images/download.png b/src/plugins/welcome/images/download.png new file mode 100644 index 0000000000000000000000000000000000000000..7b98258ac34a0ab04d18912469e8c7d67cc6a263 GIT binary patch literal 197 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd7G?$phPQVgfdte8d_r6q7#K7(G<0-ybai!& zjg8C8%j@gwpFMl_{Q2{jFJHcT_3F!)FaQ7lZFMGa!V#TpQT*%-qnyIQ zhW?H0M=WaF9?r1n*l5v~D13PivyHmw7D+$J4*3U>XKoxWNHa`koZiS1@X?c%Rc)E2 x!rRFb5+(1b1|D!D?<_ruBlRaG= zLo|ZVoeb6k+;#enq4#0H63TLwM>~1rgKCnhBM7!efMlnmhE~qtB)T~ ztee1o>yv#!^h4E!)!Pph2v{xKcThz7BTpGG*Uv7up!^w4YXf+#4m((JS~9Xb`5kDS zAY7pEghl4Z%T}I!_X3y;4C>c0@TFC-Jo(JNV#@+Y-uW9E^nO=nZa8E9C*fX{oX^oJ TIq4P#1_lOCS3j3^P6images/expandarrow.png images/expandarrow@2x.png images/border.png + images/download.png + images/download@2x.png diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index f814c9f4702..875cfb7c80f 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -287,6 +287,7 @@ public: auto l = new QVBoxLayout; l->setContentsMargins(0, 0, 0, 0); l->setSpacing(5); + l->addWidget(new IconAndLink("download", tr("Get Qt"), "https://www.qt.io/download", this)); l->addWidget(new IconAndLink("qtaccount", tr("Qt Account"), "https://account.qt.io", this)); l->addWidget(new IconAndLink("community", tr("Online Community"), "https://forum.qt.io", this)); l->addWidget(new IconAndLink("blogs", tr("Blogs"), "https://planet.qt.io", this)); diff --git a/src/tools/icons/qtcreatoricons.svg b/src/tools/icons/qtcreatoricons.svg index d1fbb86a153..40f2f2e8baf 100644 --- a/src/tools/icons/qtcreatoricons.svg +++ b/src/tools/icons/qtcreatoricons.svg @@ -7069,6 +7069,24 @@ id="path5457-0-5" style="display:inline" /> + + + +