comparison ui/mainwindow.cpp @ 1095:a0fb21625cf3

(issue111) Avoid clipping the last charcter in italic font.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 10:40:24 +0200
parents 03a1f3761f45
children 10f0efd197c7
comparison
equal deleted inserted replaced
1094:03a1f3761f45 1095:a0fb21625cf3
876 QLabel *title = new QLabel("<h1>" + QString::fromLatin1(APPNAME) + "</h1>"); 876 QLabel *title = new QLabel("<h1>" + QString::fromLatin1(APPNAME) + "</h1>");
877 QLabel *subTitle = new QLabel(QString::fromLatin1("<h3>") + 877 QLabel *subTitle = new QLabel(QString::fromLatin1("<h3>") +
878 tr("Trust in your digital communication") + QString::fromLatin1("</h3>")); 878 tr("Trust in your digital communication") + QString::fromLatin1("</h3>"));
879 QLabel *swVersion = new QLabel(QString::fromLatin1("<i>") + 879 QLabel *swVersion = new QLabel(QString::fromLatin1("<i>") +
880 tr("Version") + " " + QApplication::applicationVersion() + 880 tr("Version") + " " + QApplication::applicationVersion() +
881 QString::fromLatin1("</i>")); 881 QString::fromLatin1(" </i>"));
882 882
883 swVersion->setTextInteractionFlags(Qt::TextSelectableByKeyboard | Qt::TextSelectableByMouse); 883 swVersion->setTextInteractionFlags(Qt::TextSelectableByKeyboard | Qt::TextSelectableByMouse);
884 swVersion->setTextFormat(Qt::RichText); 884 swVersion->setTextFormat(Qt::RichText);
885 885
886 headerSubtitleLayout->addWidget(subTitle); 886 headerSubtitleLayout->addWidget(subTitle);

http://wald.intevation.org/projects/trustbridge/