Home GnuPG

qt: Remove focus indication by text selection

Description

qt: Remove focus indication by text selection

* qt/accessibility.cpp, qt/accessibility.h (selectLabelText): Remove.
* qt/pinentryconfirm.cpp, qt/pinentryconfirm.h (focusNextPrevChild):
Remove.
* qt/pinentrydialog.cpp: Remove class TextLabel.
(PinEntryDialog::PinEntryDialog): Use QLabel for all labels.

Now that we have added proper keyboard focus indication for (text) labels
we can remove the crude indication by selecting all text. In particular,
this prevents potentially confusing text selection notifications by
assistive tools.

Details

Provenance
ikloeckerAuthored on Oct 28 2022, 10:37 AM
Parents
rPedc17d497d67: qt: Use same focus indication for labels as Kleopatra
Branches
Unknown
Tags
Unknown
Tasks
T5863: pinentry-qt: Further improve the accessibility