comparison ui/mainwindow.cpp @ 844:fa68e5aeeaac

Make links clickable and also change the about info in mainwindow.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 30 Jul 2014 10:44:52 +0200
parents bd33c6585cd0
children d33834129d2a
comparison
equal deleted inserted replaced
843:c27a9b2b096e 844:fa68e5aeeaac
483 " under GNU GPL v2+.<br/><br/>Copyright (C) 2014 by Bundesamt für Sicherheit" 483 " under GNU GPL v2+.<br/><br/>Copyright (C) 2014 by Bundesamt für Sicherheit"
484 " in der Informationstechnik")); 484 " in der Informationstechnik"));
485 textDesc->setTextFormat(Qt::RichText); 485 textDesc->setTextFormat(Qt::RichText);
486 textDesc->setTextInteractionFlags( 486 textDesc->setTextInteractionFlags(
487 Qt::TextSelectableByMouse | 487 Qt::TextSelectableByMouse |
488 Qt::TextSelectableByKeyboard); 488 Qt::TextSelectableByKeyboard |
489 Qt::LinksAccessibleByMouse);
490 textDesc->setOpenExternalLinks(true);
489 491
490 infoCenterLayout->addWidget(infoHeaderSeparator); 492 infoCenterLayout->addWidget(infoHeaderSeparator);
491 infoCenterLayout->addWidget(textDesc); 493 infoCenterLayout->addWidget(textDesc);
492 infoCenterLayout->insertSpacing(2, 10); 494 infoCenterLayout->insertSpacing(2, 10);
493 infoCenterLayout->insertSpacing(4, 10); 495 infoCenterLayout->insertSpacing(4, 10);

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