Mercurial > trustbridge
diff ui/aboutdialog.cpp @ 568:8dbfd0cb534b
Made text selectable in about dialog.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 23 May 2014 10:43:04 +0200 |
parents | dec797c7230c |
children | 1e18d4c1932a |
line wrap: on
line diff
--- a/ui/aboutdialog.cpp Fri May 23 10:24:51 2014 +0200 +++ b/ui/aboutdialog.cpp Fri May 23 10:43:04 2014 +0200 @@ -36,6 +36,9 @@ QString version = tr("Version: "); version.append(QApplication::applicationVersion()); QLabel *appVersion = new QLabel(version); + appVersion->setTextInteractionFlags( + Qt::TextSelectableByMouse | + Qt::TextSelectableByKeyboard); QFrame *headerSeparator = new QFrame(); headerSeparator->setFrameShape(QFrame::HLine); @@ -49,16 +52,28 @@ QLabel *textDesc = new QLabel(tr("TrustBridge is a root certificate" " installer for Windows and Linux.")); + textDesc->setTextInteractionFlags( + Qt::TextSelectableByMouse | + Qt::TextSelectableByKeyboard); QLabel *textManage = new QLabel(tr("The root certificate lists are managed" " by the German <a href=\"https://www.bsi.bund.de\">" "Federal Office for Information Security (BSI)</a>.\n\n")); + textManage->setTextInteractionFlags( + Qt::TextBrowserInteraction | + Qt::TextSelectableByKeyboard); QLabel *textDevel = new QLabel(tr("The software was developed by the companies" " <a href=\"http://www.intevation.de\">Intevation GmbH</a> and " " <a href=\"http://www.dn-systems.de\">DN-Systems GmbH</a>, <br>" " contracted by the German Federal Office for Information Security (BSI).\n\n")); + textDevel->setTextInteractionFlags( + Qt::TextBrowserInteraction | + Qt::TextSelectableByKeyboard); QLabel *textLicense = new QLabel(tr("TrustBridge is Free Software licensed" " under GNU GPL v2+.\n\nCopyright (C) 2014 by Bundesamt für Sicherheit" " in der Informationstechnik")); + textLicense->setTextInteractionFlags( + Qt::TextSelectableByMouse | + Qt::TextSelectableByKeyboard); centerLayout->addWidget(headerSeparator); centerLayout->addWidget(textDesc);