From 9c361b01b2315800148c9273464f5464ec54ee92 Mon Sep 17 00:00:00 2001 From: Flavio Date: Tue, 17 Dec 2013 10:37:41 +0100 Subject: [PATCH] Lighter fonts --- src/aboutview.cpp | 4 ++-- src/loadingwidget.cpp | 3 ++- src/searchview.cpp | 10 ++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/aboutview.cpp b/src/aboutview.cpp index f173a38..92d6638 100644 --- a/src/aboutview.cpp +++ b/src/aboutview.cpp @@ -48,7 +48,7 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) { hLayout->addLayout(layout); QString info = "" - "

" + QString(Constants::NAME) + "

" + "

" + QString(Constants::NAME) + "

" "

" + tr("There's life outside the browser!") + "

" "

" + tr("Version %1").arg(Constants::VERSION) + "

" + QString("

%1

").arg(Constants::WEBSITE); @@ -89,7 +89,7 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) { "

" + tr("Released under the GNU General Public License") .arg("http://www.gnu.org/licenses/gpl.html") + "

" #endif - "

© 2009-2013 " + Constants::ORG_NAME + "

" + "

© 2009-2014 " + Constants::ORG_NAME + "

" ""; QLabel *infoLabel = new QLabel(info, this); infoLabel->setOpenExternalLinks(true); diff --git a/src/loadingwidget.cpp b/src/loadingwidget.cpp index 79efe0d..1a3701e 100644 --- a/src/loadingwidget.cpp +++ b/src/loadingwidget.cpp @@ -62,8 +62,9 @@ LoadingWidget::LoadingWidget(QWidget *parent) : QWidget(parent) { void LoadingWidget::setVideo(Video *video) { QFont titleFont; + titleFont.setStyleName("Light"); #ifdef APP_MAC - titleFont.setFamily("Helvetica"); + titleFont.setFamily("Helvetica Neue"); #endif #ifdef APP_WIN titleFont.setFamily("Segoe UI Light"); diff --git a/src/searchview.cpp b/src/searchview.cpp index 522701e..6cbaa1d 100644 --- a/src/searchview.cpp +++ b/src/searchview.cpp @@ -84,10 +84,16 @@ SearchView::SearchView(QWidget *parent) : QWidget(parent) { hLayout->addLayout(layout); QLabel *welcomeLabel = - new QLabel("

" + + new QLabel("

" + tr("Welcome to %2,") // .replace("", this); welcomeLabel->setOpenExternalLinks(true); -- 2.39.5