Commit graph

415 commits

Author SHA1 Message Date
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
John Preston
b6cb6cb770 Ignore wrong wheel direction in ElasticScroll. 2023-07-12 23:01:19 +04:00
John Preston
8db6dcf125 Workaround Wayland popup menu bug.
When hiding a child popup first the app receives ApplicationDeactivate
event and in a short time (a couple of ms) ApplicationActivate.

But the first event hides all popups, so the parent popup gets closed too.

Delay handling of ApplicationDeactivate event in this specific case.
2023-07-12 22:05:12 +04:00
John Preston
d04a38e15d Try different overscroll function. 2023-07-12 12:20:54 +04:00
John Preston
6af98c0802 Process touch through wheel events. 2023-07-11 21:40:50 +04:00
John Preston
427fc4c8f7 Fix painting glitch in elastic scroll. 2023-07-11 19:18:20 +04:00
John Preston
763b3a37c3 Allow to change overscroll from outside. 2023-07-11 12:21:33 +04:00
John Preston
80308cea4f Support non-zero default overscroll amounts. 2023-07-11 11:13:17 +04:00
John Preston
081d1725af Fix scrolling by scrollbar drag. 2023-07-10 11:06:56 +04:00
John Preston
7135f3ed87 First attempt to implement Ui::ElasticScroll. 2023-07-07 22:49:11 +04:00
John Preston
d431d803c8 Allow a more customized round checkbox. 2023-07-05 12:55:05 +04:00
John Preston
c3aab1bd14 Allow disabling spoilers / emoji in FlatLabel. 2023-06-30 21:12:21 +04:00
John Preston
67dc933d72 Move InfoTopBar to the child project styles. 2023-06-30 15:24:37 +04:00
John Preston
a6d472ee68 Ignore touchpad touch events, on macOS unreliable. 2023-06-28 15:04:56 +04:00