VirtualKeyboard: don't preview keys of a masked input item


The character preview popup enlarges the pressed character above the
key, without considering the echo mode of the focused input item or the
input method hints. The default style provides a character preview
delegate, so the characters typed into a password field were displayed
on the screen one by one, defeating the masking of the input item.

Show the preview only when the input item displays its text in clear.
The alternative keys popup is deliberately left as it is, because the
alternative characters cannot be selected without it.

Pick-to: 6.12 6.11
Task-number: QTBUG-146100
Change-Id: I8c9b7df506cc397138915e86ae0742bd6970b947
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
commit2ce8972d6976891bf20bb738967e17b020379c48
parent71b412976c2a27777afb71140787ee086f59bb55
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>
commit timeTue, 11 Aug 2026 06:08:23 +0000