comparison ui/mainwindow.cpp @ 689:6df31cb47d54

Updated translations.
author Emanuel Schuetze <emanuel@intevation.de>
date Tue, 01 Jul 2014 14:37:45 +0200
parents 973a7ce19658
children e4abb41484a0
comparison
equal deleted inserted replaced
688:b430f890d3ee 689:6df31cb47d54
443 QImage *logoImage = new QImage(":/img/logo.png"); 443 QImage *logoImage = new QImage(":/img/logo.png");
444 QLabel *logo = new QLabel; 444 QLabel *logo = new QLabel;
445 logo->setBackgroundRole(QPalette::Base); 445 logo->setBackgroundRole(QPalette::Base);
446 logo->setPixmap(QPixmap::fromImage(*logoImage)); 446 logo->setPixmap(QPixmap::fromImage(*logoImage));
447 QLabel *title = new QLabel("<h1>" + QString::fromLatin1(APPNAME) + "</h1>"); 447 QLabel *title = new QLabel("<h1>" + QString::fromLatin1(APPNAME) + "</h1>");
448 QLabel *subTitle = new QLabel("Trust in your digital communication"); 448 QLabel *subTitle = new QLabel(tr("Trust in your digital communication"));
449 headerTextLayout->addWidget(title); 449 headerTextLayout->addWidget(title);
450 headerTextLayout->addWidget(subTitle); 450 headerTextLayout->addWidget(subTitle);
451 headerLayout->addWidget(logo); 451 headerLayout->addWidget(logo);
452 headerLayout->addLayout(headerTextLayout); 452 headerLayout->addLayout(headerTextLayout);
453 headerLayout->setStretch(0, 0); 453 headerLayout->setStretch(0, 0);

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