Home GnuPG

qt: Extract function for selecting the text of a QLabel

Description

qt: Extract function for selecting the text of a QLabel

* qt/accessibility.h, qt/accessibility.cpp (selectLabelText): New.
* qt/pinentrydialog.cpp (TextLabel::focusInEvent): Use new function.

Details

Provenance
ikloeckerAuthored on Mar 2 2022, 5:25 PM
Parents
rPe7bcc0894e3a: qt: Modernize code
Branches
Unknown
Tags
Unknown
Tasks
T5863: pinentry-qt: Further improve the accessibility