ExtensionManager: Make some text selectable by mouse

Change-Id: Ic268c80713c4fe7121af32eb0e0bc3ea41ed1660
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2024-07-01 17:28:01 +02:00
parent 6d4e5a0002
commit bdcac43936

View File

@@ -449,6 +449,7 @@ QLabel *tfLabel(const TextFormat &tf, bool singleLine)
label->setFixedHeight(tf.lineHeight());
label->setFont(tf.font());
label->setAlignment(Qt::Alignment(tf.drawTextFlags));
label->setTextInteractionFlags(Qt::TextSelectableByMouse);
QPalette pal = label->palette();
pal.setColor(QPalette::WindowText, tf.color());