12 Commits

Author SHA1 Message Date
23rd
3535fafe1a Replaced qMin, qMax and qAbs with std::min, std::max and std::abs. 2026-09-14 18:03:15 +03:00
John Preston
68a25444ab Fixed stack overflow typing a phone with an IME. 2026-08-26 23:25:37 +04:00
Ilya Fedin
6989eeb1be Set input method hints in typed input fields
Phone, e-mail, URL, username, code, date and amount fields now tell the
input method what they are for, so it can pick a suitable layout and skip
predictive text where it only gets in the way. One-time codes and secrets
are additionally marked with Qt::ImhSensitiveData.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 14:56:28 +04:00
John Preston
3da3334131 Correct max userpic length for managed bot. 2026-03-25 21:14:38 +07:00
23rd
71f34f4e31 Added ability to jump from code to phone input in intro with Space. 2025-05-15 18:19:49 +03:00
John Preston
501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
23rd
98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
23rd
297fd0f0c8 Moved regexp for excluding digits to single place. 2022-12-29 13:36:28 +03:00
23rd
8748265b00 Added support of multiple phone pattern groups. 2022-12-29 11:11:08 +03:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
23rd
7bebe699f6 Moved special fields to separated folder. 2022-04-01 15:53:57 +04:00