Commit graph

34 commits

Author SHA1 Message Date
John Preston
72a1c98fa6 Fix inner QTextEdit focus in case InputField is focused. 2024-05-16 13:28:21 +04:00
John Preston
3aeeec3dfc Fix initial InputField text setting.
After stargin to merge block format to current cursor the
_lastTextWithTags was cleared before being set from the same reference.
2024-05-13 10:32:54 +04:00
John Preston
41d1fe9232 Improve custom fonts support in the InputField. 2024-05-08 18:36:18 +04:00
John Preston
86dc01e9bc Use custom-adjusted font metrics. 2024-05-02 11:32:44 +04:00
Ilya Fedin
a052b22872 Try to make font handling more straightforward 2024-04-23 09:47:46 +04:00
John Preston
372543de6e Jump by keyboard between time input fields. 2024-04-16 12:41:46 +04:00
23rd
1587f9f1b9 Added storage of proper text size with emoji to input field. 2024-03-08 10:55:17 +04:00
Ilya Fedin
893dab0920 Do exact match for Ctrl+Shift+. 2024-03-08 08:06:33 +04:00
23rd
333587d95e Added function to count characters in input field with emoji. 2024-02-27 04:11:57 +03:00
Ilya Fedin
955bf2dfa9 Normalize signal connections 2023-12-29 12:59:09 +00:00
Ilya Fedin
d95f9e778b Instantiate QRegularExpression instances statically 2023-12-29 12:59:09 +00:00
John Preston
d6133525dc Remove unnecessary includes in input_field. 2023-11-16 14:29:12 +04:00
John Preston
4ea96ef328 Fix saving custom emoji id in property. 2023-11-14 14:43:18 +04:00
John Preston
e3eabf8eff Allow better InputField content restriction. 2023-11-14 12:17:00 +04:00
John Preston
fee301f941 Use plain windows.h now it doesn't define small. 2023-11-13 18:59:56 +04:00
John Preston
f9b24c7551 Fix build on Windows. 2023-11-13 11:26:07 +04:00
Ilya Fedin
d047544584 Add X11 support for Ctrl+Shift+. 2023-11-11 21:25:14 +04:00
Ilya Fedin
f4b87f2322 Compare nativeVirtualKey with enum value 2023-11-11 21:25:14 +04:00
John Preston
85b25a109d Use Ctrl+Shift+Dot workaround on Windows only. 2023-11-10 11:18:46 +04:00
John Preston
835ba51f5e Don't include newlines in format by default. 2023-10-31 12:47:22 +04:00
John Preston
c317f2a353 Partially (italic+colored) support blockquotes. 2023-10-05 13:01:03 +04:00
John Preston
0d8717d48a Allow sending pre-blocks with language. 2023-10-04 22:17:27 +04:00
Ilya Fedin
ae8a74ea98 Remove Q_OBJECT from CustomEmojiObject 2023-09-07 21:58:45 +04:00
John Preston
2107f5a164 Fix build with MSVC. 2023-09-04 12:05:12 +04:00
23rd
5a2402ad5d Slightly optimized include directives in InputField. 2023-08-31 17:09:59 +03:00
23rd
9d2f648a11 Replaced Qt slots in InputField and removed Q_OBJECT macro. 2023-08-31 17:09:59 +03:00
23rd
dfbf009904 Replaced QTimer with base::Timer in InputField. 2023-08-31 17:09:59 +03:00
23rd
6a7718ae96 Replaced Qt signals in InputField with rpl. 2023-08-31 17:09:59 +03:00
23rd
7a245fee51 Moved out InputField files to subfolder. 2023-08-31 17:09:59 +03:00
23rd
faa67d73c5 Moved out MaskedInputField to separate module. 2023-08-31 17:09:59 +03:00
23rd
26b72fedc7 Moved out NumberInput to separate module. 2023-08-31 17:09:59 +03:00
23rd
225380044e Moved out PasswordInput to separate module. 2023-08-31 17:09:59 +03:00
23rd
9f28a0b106 Added MaskedInputField::changed signal on wheel event in Ui::TimePart. 2022-03-28 14:01:24 +03:00
23rd
c026c1125e Moved Ui::TimePart to separated file. 2022-03-28 14:01:24 +03:00