[KCM] Squeeze key and make it selectable by mouse
Avoids it blowing up the layout
This commit is contained in:
parent
2a3ab4104e
commit
14633d4486
1 changed files with 9 additions and 1 deletions
10
kcm/kcm.ui
10
kcm/kcm.ui
|
@ -215,10 +215,13 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="verificationKey">
|
<widget class="KSqueezedTextLabel" name="verificationKey">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>🔑 abababab</string>
|
<string>🔑 abababab</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="textInteractionFlags">
|
||||||
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
@ -385,6 +388,11 @@
|
||||||
<header>kmessagewidget.h</header>
|
<header>kmessagewidget.h</header>
|
||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
|
<customwidget>
|
||||||
|
<class>KSqueezedTextLabel</class>
|
||||||
|
<extends>QLabel</extends>
|
||||||
|
<header>ksqueezedtextlabel.h</header>
|
||||||
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
|
|
Loading…
Reference in a new issue