Mercurial > trustbridge
changeset 780:9f13c00a2647
Make certificate text selectable
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 14 Jul 2014 11:50:02 +0200 |
parents | 395b7a93c1c7 |
children | 60d3f59f0803 |
files | ui/certificateitemwidget.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/certificateitemwidget.cpp Mon Jul 14 11:49:14 2014 +0200 +++ b/ui/certificateitemwidget.cpp Mon Jul 14 11:50:02 2014 +0200 @@ -55,6 +55,10 @@ mLabel->setTextFormat(Qt::RichText); mLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); + + mLabel->setTextInteractionFlags( + Qt::TextSelectableByMouse | + Qt::TextSelectableByKeyboard); mComboBox->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); connect(mComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(currentStateChanged(int)));