Commit graph

447 commits

Author SHA1 Message Date
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
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
d28afffcb9 Workaround menu click-through on macOS 14.1. 2023-11-07 12:39:17 +04:00
John Preston
607c3909dd Fix links in multiline checkboxes. 2023-11-03 09:05:30 +04:00
John Preston
835ba51f5e Don't include newlines in format by default. 2023-10-31 12:47:22 +04:00
John Preston
ab5057f001 Optimize simple Ui::Text::String instances. 2023-10-12 13:53:44 +04:00
John Preston
44f8d862ff Simplify TextStyle: remove linkFont/linkFontOver. 2023-10-12 10:53:02 +04:00
John Preston
c317f2a353 Partially (italic+colored) support blockquotes. 2023-10-05 13:01:03 +04:00
John Preston
3698eb5382 Allow settings selected menu item. 2023-10-05 10:34:16 +04:00
John Preston
0d8717d48a Allow sending pre-blocks with language. 2023-10-04 22:17:27 +04:00
John Preston
02440524ea Add per-line geometry / colors customization for Text. 2023-10-04 22:17:27 +04:00
John Preston
dc6a4e976c Add simple label->value table layout. 2023-09-29 16:15:39 +04:00
Ilya Fedin
ea4c67408e Revert "Workaround Wayland popup menu bug."
This reverts commit 8db6dcf125.
2023-09-26 12:11:33 +04:00
Ilya Fedin
a33bd4e0a5 Fix QApplicationPrivate::translateRawTouchEvent Qt version check 2023-09-22 08:30:49 +04:00
John Preston
8f7fe24ac4 Try title overscroll colors only on macOS. 2023-09-13 09:03:59 +04:00
23rd
aaa88be9d7 Fixed minimal height of menu item with multiline text. 2023-09-11 13:39:58 +03:00
John Preston
1ba24ed511 Allow repainting SeparatePanel title. 2023-09-08 11:25:49 +04:00
Ilya Fedin
ae8a74ea98 Remove Q_OBJECT from CustomEmojiObject 2023-09-07 21:58:45 +04:00
John Preston
9a17d4bd15 Add a checkbox helper for terms accept check. 2023-09-06 13:40:01 +04:00
John Preston
b571c8adfe By default use Real overscroll in ElasticScroll. 2023-09-06 13:39:36 +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