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);
"<p>" + tr("Released under the <a href='%1'>GNU General Public License</a>")
.arg("http://www.gnu.org/licenses/gpl.html") + "</p>"
#endif
- "<p>© 2009-2013 " + Constants::ORG_NAME + "</p>"
+ "<p>© 2009-2014 " + Constants::ORG_NAME + "</p>"
"</body></html>";
QLabel *infoLabel = new QLabel(info, this);
infoLabel->setOpenExternalLinks(true);
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");
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);