Commit graph

390 commits

Author SHA1 Message Date
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
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
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
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
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
John Preston
b850852221 Simplify working with Ui::Show and toasts. 2023-05-03 22:59:33 +04:00
John Preston
bfdd116000 Handle emoji myself in custom macOS title. 2023-04-26 22:50:22 +04:00
John Preston
37531086ec Drop all formatting by default in InputField. 2023-04-24 21:25:20 +04:00
John Preston
56945859e3 Try allowing correct   handling. 2023-04-20 13:36:37 +04:00
John Preston
aa5cc61b6b Allow DividerLabel to wrap any widget, not just FlatLabel. 2023-04-04 17:06:52 +04:00
23rd
db4419eb30 Switched preferred width of multiline menu item to fit icon height. 2023-03-22 21:42:16 +03:00
John Preston
3185e6cd55 Fix possible stack overflow. 2023-03-17 20:46:09 +04:00
John Preston
62a62d1fb5 Move MediaPlayerButton style outside of lib_ui. 2023-03-14 17:30:27 +04:00
John Preston
849a840503 Implement BoxShow as a wrapper around long-living *Show. 2023-03-10 18:40:49 +04:00
23rd
2996fb7030 Moved out menu item with multiline text to separated file. 2023-03-01 21:13:53 +03:00
John Preston
3b69ec499c Allow querying manual rounding radius of RpWindow. 2023-02-17 12:10:00 +04:00
John Preston
1b9b173964 Support spoilers in FlatLabel. 2023-02-07 20:05:34 +04:00
John Preston
98fa93787a Use new dropdown arrow everywhere. 2023-02-03 20:46:55 +04:00
John Preston
6c01a81900 Allow opening popup menu shifted to the cursor. 2023-02-03 19:31:57 +04:00
23rd
5535a3fe57 Removed unused keys from style files. 2023-01-31 19:04:28 +03:00
23rd
35cc61cb48 Added ability to finish animation of toggle in SettingsButton. 2023-01-31 18:32:02 +03:00