comparison ui/aboutdialog.cpp @ 843:c27a9b2b096e

Allow to open external links from aboutdialog label.
author Emanuel Schuetze <emanuel@intevation.de>
date Wed, 30 Jul 2014 10:36:58 +0200
parents 1e18d4c1932a
children fa68e5aeeaac
comparison
equal deleted inserted replaced
842:bd33c6585cd0 843:c27a9b2b096e
55 " in der Informationstechnik")); 55 " in der Informationstechnik"));
56 textDesc->setTextFormat(Qt::RichText); 56 textDesc->setTextFormat(Qt::RichText);
57 textDesc->setTextInteractionFlags( 57 textDesc->setTextInteractionFlags(
58 Qt::TextSelectableByMouse | 58 Qt::TextSelectableByMouse |
59 Qt::TextSelectableByKeyboard); 59 Qt::TextSelectableByKeyboard);
60 textDesc->setOpenExternalLinks(true);
60 61
61 centerLayout->addWidget(textDesc); 62 centerLayout->addWidget(textDesc);
62 centerLayout->insertStretch(8, 10); 63 centerLayout->insertStretch(8, 10);
63 64
64 QPushButton *closeButton = new QPushButton(tr("Close")); 65 QPushButton *closeButton = new QPushButton(tr("Close"));

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