Commit graph

428 commits

Author SHA1 Message Date
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
23rd
2c5923dc79 Removed unused HexInput class. 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
4389f17120 Removed unused InputField::commitMarkdownReplacement method. 2023-08-31 17:09:59 +03:00
Ilya Fedin
bcf88b9065 Fix window extents terminology
Extents is a synonym of size but we're setting not window size.
2023-08-29 07:47:50 +02:00
John Preston
b3580f7987 Use FlatLabel::textMaxWidth. 2023-08-17 13:54:01 +02:00
23rd
0ea27ae051 Ignored arrow keys with Ctrl modifier by scroll area. 2023-08-15 00:02:09 +03:00
John Preston
5f2e0a32b1 Improve default tabs slider design. 2023-08-09 11:47:15 +02:00
John Preston
7c60b03c9b Resize centered labels wide by default. 2023-08-01 19:05:34 +02:00
John Preston
ad356135e4 Improve toasts: adaptive, with a title. 2023-08-01 19:05:07 +02:00
John Preston
8314fc9b3f Improve default style of important tooltip. 2023-07-24 21:40:53 +04:00
John Preston
bd1e8f7c47 Update default tooltip colors. 2023-07-24 16:59:55 +04:00
John Preston
ad852f0f4a Fix incorrect state of ElasticScroll. 2023-07-24 10:43:45 +04:00
John Preston
079d966e45 Provide menu shown signal from InputField. 2023-07-21 17:10:30 +04:00
John Preston
288bec7157 Fix overscroll modification. 2023-07-20 21:41:48 +04:00
John Preston
048156ecda Support fractional border in rounded input field. 2023-07-18 20:44:53 +04:00
John Preston
1c0889f78a Fix ElasticScroll glitch after resizing. 2023-07-18 12:15:05 +04:00
John Preston
c7e0b7af37 Apply interface scale multiplier in overscroll. 2023-07-17 11:39:31 +04:00
John Preston
fd1752a5c2 Improve overscroll handling. 2023-07-14 16:08:47 +04:00