Commit graph

1104 commits

Author SHA1 Message Date
23rd
0ea27ae051 Ignored arrow keys with Ctrl modifier by scroll area. 2023-08-15 00:02:09 +03:00
23rd
70867536a4 Added util to generate path of complex rounded rect. 2023-08-14 21:15:36 +03:00
Ilya Fedin
fd55e9b71b Adapt WindowHelper::updateMargins for Windows 11 native resize 2023-08-14 12:20:27 +04:00
Ilya Fedin
cbb9e0bbde Make WindowHelper::updateMargins multi-screen DPI aware 2023-08-14 12:20:27 +04:00
Ilya Fedin
e66ad9c80c Avoid additional calculations in WindowHelper::updateMargins 2023-08-14 12:20:27 +04:00
Ilya Fedin
92cb6f6809 Remove unused variables from WindowHelper::fixMaximizedWindow 2023-08-14 12:20:27 +04:00
John Preston
18ac9868bb Use https:// scheme by default. 2023-08-11 10:22:06 +02:00
Ilya Fedin
eeb2cbc69c Use QWindow's devicePixelRatio for top resize area 2023-08-11 11:49:00 +04:00
John Preston
2631d64a5f Use smaller top resize area. 2023-08-10 22:14:48 +02:00
Ilya Fedin
4a41346a64 Use native window resize on Windows 11 2023-08-10 20:01:11 +04:00
Ilya Fedin
8e31adc0af Remove unused variable 2023-08-10 20:01:11 +04:00
John Preston
b49ee81df9 Disable OpenGL ANGLE backend.
Currently ANGLE can work through desktop OpenGL only with enabled
attribute EGL_SURFACE_ORIENTATION_INVERT_Y_ANGLE.

Qt can't work with it enabled and shows vertically flipped content.
2023-08-10 14:34:33 +02:00
John Preston
5f2e0a32b1 Improve default tabs slider design. 2023-08-09 11:47:15 +02:00
Ilya Fedin
0f25a94510 Port AppLaunchContext to cppgir 2023-08-02 17:35:15 +04: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
91d43ea4b5 Provide (almost) correct modifiers in DirectManipulation. 2023-07-26 12:00:10 +04:00
John Preston
2f0ac38228 Lock tab-focus inside a layer widget. 2023-07-25 10:44:02 +04: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
39d440f774 Don't check requested emoji size. 2023-07-21 14:42:01 +04:00
John Preston
288bec7157 Fix overscroll modification. 2023-07-20 21:41:48 +04:00
Ilya Fedin
0f20eb152a Use string literal instead of const_string for QString constants 2023-07-20 21:33:16 +04:00
John Preston
8f03125ec1 Fix build with Xcode. 2023-07-20 10:19:51 +04:00
John Preston
ae46510920 Cancel system move if didn't start (macOS). 2023-07-20 09:59:54 +04:00
Ilya Fedin
da7f4fe425 Use new glibmm 2.78 API 2023-07-19 22:53:51 +04:00
Ilya Fedin
3e7f1250c5 Mark TitleControlsOnLeft inline 2023-07-19 22:50:07 +04:00
Ilya Fedin
19d044a212 Move TitleControlsLayout from ui_platform_utility to ui_platform_window_title 2023-07-19 14:42:06 +04:00
Ilya Fedin
6419b54383 Extract controls side deduction code 2023-07-19 14:42:06 +04:00
Ilya Fedin
b9aa8a17d4 Allow to pass new title controls layout value to notifier
In case the getter is trivial (has only one implementation)
2023-07-19 14:42:06 +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
Ilya Fedin
6abad69ca6 Cache title controls layout value
So it's not requested on every window width change and etc...
2023-07-04 15:44:46 +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
08f8054866 Use QWindowSystemInterface::handleWheelEvent. 2023-06-29 20:48:38 +04:00