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
John Preston
ed00cd2809
Allow Text::String constructor with entitites.
2023-06-29 14:48:04 +04:00
John Preston
855f8f7b75
Implement custom scrolling using DirectManipulation.
...
Use it in Ui::RpWindow. This is an experiment.
Thanks Chromium and Firefox.
2023-06-28 18:55:08 +04:00
John Preston
a6d472ee68
Ignore touchpad touch events, on macOS unreliable.
2023-06-28 15:04:56 +04:00
John Preston
6fe9e08386
Allow custom touch event processing in scroll area.
2023-06-27 21:25:16 +04:00
John Preston
8908c9b5c0
Allow custom wheel event processing in ScrollArea.
2023-06-27 19:40:11 +04:00
John Preston
fc8d4d25de
Add a hook into click handler activation.
2023-06-23 20:07:54 +04:00
Ilya Fedin
8a56048801
Ensure Wayland integration instance accessor doesn't leak
2023-06-17 15:05:24 +04:00
John Preston
3749f10e7f
Allow getting AnimatedIcon frame rate.
2023-06-15 20:07:58 +04:00
Ilya Fedin
1e89c19a03
Make window check in Wayland integration assert
...
This function was always requiring a window handle but after latest refactor it would fail silently
2023-06-10 17:07:49 +04:00
John Preston
83cab52cd6
Add access to scrollTop[Value] of PopupMenu.
2023-06-01 19:51:28 +04:00
John Preston
57143bfae1
Allow custom rounding radius for PopupMenu.
2023-06-01 19:51:09 +04:00
Ilya Fedin
784dedac4d
Send mouse release event after startSystemMove/startSystemResize
2023-06-01 19:49:19 +04:00
Ilya Fedin
6c216e437d
Fix button state after synthesized mouse release
2023-06-01 19:49:19 +04:00
Ilya Fedin
cf906f14bd
Store xdg-decoration support with std::optional
2023-05-30 19:01:26 +04:00
Ilya Fedin
627abc6728
C++ify wl_registry
2023-05-30 18:15:19 +04:00
John Preston
ff1d5fce29
Allow tracking isLayerShown in LayerManager.
2023-05-30 17:36:11 +04:00
Ilya Fedin
bf4cb33fab
Use new base_linux_wayland_utilities
2023-05-25 21:07:08 +04:00
Ilya Fedin
1893967b4a
Destroy Wayland integration before Wayland disconnection
2023-05-25 21:07:08 +04:00
John Preston
a7d5031889
I hope this fixes some focus problems.
2023-05-24 21:01:23 +04:00
John Preston
facdf5a2d8
Fix build with Xcode.
2023-05-19 22:01:59 +04:00
John Preston
a7b6b97bd7
Improve and unify Ui::Show interface.
2023-05-19 20:47:23 +04:00
John Preston
f86d876eff
Allow arbitrary window now+delayed activation.
2023-05-19 20:47:19 +04:00
John Preston
303a07f946
Remove unused copy-constructor from BoxShow.
2023-05-17 16:28:26 +04:00
John Preston
f0225406ec
Detach mediaview control color from main window.
2023-05-17 15:42:17 +04:00
Ilya Fedin
8c58ebc136
Remove unnecessary private Qt API usage
2023-05-15 12:29:01 +04:00
Ilya Fedin
be0067a8c7
Switch Wayland integration to the new type safe Qt API
...
This also makes it possible to get a more right seat/serial pair
2023-05-15 12:29:01 +04:00
Ilya Fedin
e8857f5792
Get rid of DESKTOP_APP_DISABLE_DBUS_INTEGRATION
2023-05-14 12:12:19 +04:00