Commit graph

20 commits

Author SHA1 Message Date
John Preston
a6d7e3f545 Fix possible render glitch.
In some rare cases opening main menu was leading to some
widgets showing "over" the background darkening filling.
The glitch disappeared on the next repaint, so we trigger
this repaint explicitly.

The case it was reproducing with 100% rate: in TDesktop with
disabled interface animations after showing and hiding of bot
keyboard the message input field (widget with OpaquePaintEvent)
was painted on top of the backround dark filling below main menu.
2023-08-18 18:03:35 +02:00
John Preston
2f0ac38228 Lock tab-focus inside a layer widget. 2023-07-25 10:44:02 +04:00
John Preston
849a840503 Implement BoxShow as a wrapper around long-living *Show. 2023-03-10 18:40:49 +04:00
John Preston
3cb645f507 Allow fully custom QImage shadows. 2023-01-06 17:05:24 +04:00
23rd
9f5ddf3d8a Added missed call of LayerWidget::showFinished to main menu. 2022-12-21 18:04:00 +03:00
John Preston
14cc3ff52b Set some layers crash annotations. 2022-09-25 16:14:13 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
23rd
b9a702f6e0 Added masked shadow corners for special layers. 2022-06-02 14:59:32 +03:00
John Preston
681da392eb Improve box rounding and buttons. 2022-02-08 11:06:19 +03:00
23rd
beb09445d1 Appended references to const auto type in loop to prevent copying. 2021-09-08 14:01:07 +03:00
John Preston
1b590f9e16 Expose topShownLayer from LayerStackWidget/LaayerManager. 2021-08-11 11:05:27 +03:00
23rd
8c7ebd89f6 Added ability to pass custom layer widgets to stack. 2021-07-02 23:00:21 +03:00
John Preston
7287e235e0 Allow different styles for box layers. 2020-11-29 21:26:20 +03:00
John Preston
d4c99701b5 Fix deprecation warnings on Qt 5.15.1. 2020-11-04 18:44:45 +03:00
John Preston
d6e7aa6f63 Allow prepare + run layer hide animation. 2020-06-29 16:10:40 +04:00
John Preston
2a0d189ee2 Allow badge in main menu button. 2020-06-23 13:13:22 +04:00
John Preston
ed97ff0d4f Don't loose focus from layer in animation. 2020-03-18 16:14:19 +04:00
John Preston
765e525458 Add Ui::AppInFocus() method. 2019-12-31 16:48:25 +03:00
John Preston
d5c9ad77a9 Support nice Ui::Window under Windows. 2019-09-26 09:53:57 +03:00
John Preston
f4904e5ec4 Add layer and box management. 2019-09-18 14:17:24 +03:00