[KCM] Squeeze key and make it selectable by mouse

Avoids it blowing up the layout
This commit is contained in:
Kai Uwe Broulik 2021-11-30 23:27:21 +01:00
parent 2a3ab4104e
commit 14633d4486

View file

@ -215,10 +215,13 @@
</widget>
</item>
<item>
<widget class="QLabel" name="verificationKey">
<widget class="KSqueezedTextLabel" name="verificationKey">
<property name="text">
<string>🔑 abababab</string>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
</layout>
@ -385,6 +388,11 @@
<header>kmessagewidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>KSqueezedTextLabel</class>
<extends>QLabel</extends>
<header>ksqueezedtextlabel.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>