Commit graph

478 commits

Author SHA1 Message Date
John Preston
34fcd4981d Join block format changing to the same edit block. 2024-05-27 22:21:33 +04:00
John Preston
b2653606be Fix newline regression on Linux. 2024-05-27 22:07:51 +04:00
John Preston
f1d0a67d41 Attempt to fix link-formatting. 2024-05-27 15:02:22 +04:00
John Preston
951ccf4bb0 Fix wrong Backspace propagation. 2024-05-27 15:02:22 +04:00
John Preston
b0e408e53d Allow attaching length limit to InputField. 2024-05-24 09:37:18 +04:00
Ilya Fedin
037ceb272c Remove a no longer needed workaround for QTextEdit on X11
It's fixed in Qt 6.2 and seem to be even backported to 5.15

4b0b87b5c2
2024-05-19 09:54:52 +04:00
John Preston
72a1c98fa6 Fix inner QTextEdit focus in case InputField is focused. 2024-05-16 13:28:21 +04:00
Ilya Fedin
ebe8e91b4d Communicate shadow size to the system for SeparatePanel 2024-05-16 12:52:30 +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
19193b3c7b Clear last separator in geometry prepare. 2024-05-10 14:09:33 +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
23rd
08b56a1789 Added text selection to context menu request from FlatLabel. 2024-04-30 17:22:23 +03:00
23rd
553d5509b5 Added universal duration to styles. 2024-04-23 20:10:07 +03:00
John Preston
27b7534734 Allow animated scroll-to in BoxContent. 2024-04-23 19:11:31 +04:00
Ilya Fedin
a052b22872 Try to make font handling more straightforward 2024-04-23 09:47:46 +04:00
John Preston
eab785a1c8 Fix resizing LinkButton with padding. 2024-04-19 12:58:59 +04:00
John Preston
372543de6e Jump by keyboard between time input fields. 2024-04-16 12:41:46 +04:00
John Preston
d2420c6bf8 Allow custom separators in menu-add-action-callback. 2024-04-11 16:09:57 +04:00
John Preston
bdf4ff34f2 Add FlatLabel::st() accessor. 2024-04-01 10:19:04 +04:00
Ilya Fedin
476d751251 Let Wayland to use QGuiApplication::screenAt
Looks like it works correctly nowadays
2024-03-28 10:09:09 +04:00
John Preston
fa8de8b199 Fix possible crash in ElasticScroll destructor. 2024-03-24 10:19:05 +04:00
John Preston
fb1716c91f Add fast Ctrl/Shift scroll to ElasticScroll. 2024-03-12 17:06:28 +04:00
23rd
1587f9f1b9 Added storage of proper text size with emoji to input field. 2024-03-08 10:55:17 +04:00
23rd
5d7445ce7d Fixed title elision in separate panels when back button is present. 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
John Preston
14794d2221 Allow default toast to work with .adaptive flag. 2024-03-01 12:28:16 +04:00
23rd
333587d95e Added function to count characters in input field with emoji. 2024-02-27 04:11:57 +03:00
John Preston
0c6b2c611d Add rpl interface to RadiobuttonGroup. 2024-02-23 13:24:20 +04:00
23rd
08a19be802 Added initial support of right side arrow to tooltip. 2024-01-14 19:27:39 +03:00
Ilya Fedin
00f5bdaccd Add wheel scroll lines setting support for elastic scroll 2024-01-09 21:53:32 -08:00
John Preston
30c5dfe6f6 Allow querying current SeparatePanel::inner widget. 2024-01-04 18:17:12 +04:00
Ilya Fedin
99e36f9ac6 Multiple by the magic multiplier only on Wayland 2024-01-02 03:16:46 +00:00
Ilya Fedin
e9901b1719 Adjust pixel delta conversion a bit 2023-12-31 15:22:54 +00:00
John Preston
6ff9eb237b Improve scrolling constants. 2023-12-31 18:58:42 +04:00
Ilya Fedin
88f53cf1d9 Use pixel delta whenever it's present 2023-12-31 07:56:15 +00:00
Ilya Fedin
30ec6ea20d Multiple pixel delta by 2.5 on Linux 2023-12-31 07:56:15 +00:00
Ilya Fedin
fb3d00bab0 Do pixel<->angle delta conversion right 2023-12-31 07:56:15 +00: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
Ilya Fedin
a8b24e6f6f Fix a crash with QHighDpiScaling 2023-12-05 21:06:33 +04:00
John Preston
6b5524b63c Allow clearing system buttons state on Windows. 2023-12-04 14:18:49 +04:00
John Preston
4f2a33ea70 Allow disabling window title shadow on Windows. 2023-12-04 14:18:35 +04:00
23rd
66ca90c1b2 Moved style values for shake animation. 2023-11-28 02:05:16 +03:00
23rd
97a725c791 Fixed legal link in some files. 2023-11-28 02:05:16 +03:00
John Preston
cd4e9d378c Allow to use ForceFullRepaintSync on Linux. 2023-11-22 12:17:32 +04:00
Ilya Fedin
1d1c524b2c Use setFixedSize for popup menu and tooltip 2023-11-21 09:08:01 +04:00
Ilya Fedin
89d664b6f7 Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 09:08:01 +04: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