]> git.sur5r.net Git - minitube/commitdiff
Lighter fonts
authorFlavio <flavio@odisseo.local>
Tue, 17 Dec 2013 09:37:41 +0000 (10:37 +0100)
committerFlavio <flavio@odisseo.local>
Tue, 17 Dec 2013 09:37:41 +0000 (10:37 +0100)
src/aboutview.cpp
src/loadingwidget.cpp
src/searchview.cpp

index f173a385c1fbfbcff29dc4302ea76b9b96fa89b5..92d6638c804cd589b78753ab71d464235ab8ce1b 100644 (file)
@@ -48,7 +48,7 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
     hLayout->addLayout(layout);
 
     QString info = "<html><style>a { color: palette(text); text-decoration: none; font-weight: bold }</style><body>"
-            "<h1>" + QString(Constants::NAME) + "</h1>"
+            "<h1 style='font-weight:normal'>" + QString(Constants::NAME) + "</h1>"
             "<p>" + tr("There's life outside the browser!") + "</p>"
             "<p>" + tr("Version %1").arg(Constants::VERSION) + "</p>"
             + QString("<p><a href=\"%1/\">%1</a></p>").arg(Constants::WEBSITE);
@@ -89,7 +89,7 @@ AboutView::AboutView(QWidget *parent) : QWidget(parent) {
             "<p>" + tr("Released under the <a href='%1'>GNU General Public License</a>")
             .arg("http://www.gnu.org/licenses/gpl.html") + "</p>"
         #endif
-            "<p>&copy; 2009-2013 " + Constants::ORG_NAME + "</p>"
+            "<p>&copy; 2009-2014 " + Constants::ORG_NAME + "</p>"
             "</body></html>";
     QLabel *infoLabel = new QLabel(info, this);
     infoLabel->setOpenExternalLinks(true);
index 79efe0d3d0431477d1d84527781f54536dad9d1b..1a3701ea93ecc8ac23fda900a6abb1a5d1838579 100644 (file)
@@ -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");
index 522701e29b3fed0b290c134f6819da28f3f12f3f..6cbaa1d005dbbde8766aafc7f5e83699b1c012be 100644 (file)
@@ -84,10 +84,16 @@ SearchView::SearchView(QWidget *parent) : QWidget(parent) {
     hLayout->addLayout(layout);
 
     QLabel *welcomeLabel =
-            new QLabel("<h1 style='font-weight:normal'>" +
+            new QLabel("<h1 style='font-weight:100'>" +
                        tr("Welcome to <a href='%1'>%2</a>,")
                        // .replace("<a ", "<a style='color:palette(text)'")
-                       .replace("<a href", "<a style='text-decoration:none; color:palette(text); font-weight:bold' href")
+                       .replace("<a ", "<a style='text-decoration:none; color:palette(text);font-weight:"
+                            #if defined(APP_UBUNTU) || defined(APP_WIN)
+                                "normal"
+                            #else
+                                "bold"
+                            #endif
+                                "' ")
                        .arg(Constants::WEBSITE, Constants::NAME)
                        + "</h1>", this);
     welcomeLabel->setOpenExternalLinks(true);