VariableChooser: Make help text selectable

Change-Id: Ic588c09dec33476a0729c3dbf3313c827930d9e7
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
hjk
2015-07-07 11:35:47 +02:00
parent b500205e71
commit 508da18c24

View File

@@ -255,6 +255,7 @@ VariableChooserPrivate::VariableChooserPrivate(VariableChooser *parent)
m_variableDescription->setAlignment(Qt::AlignLeft|Qt::AlignTop);
m_variableDescription->setWordWrap(true);
m_variableDescription->setAttribute(Qt::WA_MacSmallSize);
m_variableDescription->setTextInteractionFlags(Qt::TextBrowserInteraction);
QVBoxLayout *verticalLayout = new QVBoxLayout(q);
verticalLayout->setContentsMargins(3, 3, 3, 12);