Commit graph

26 commits

Author SHA1 Message Date
Ilya Fedin
50a0e7da64 Add IsOverlapped method 2021-04-20 15:35:31 +03:00
Ilya Fedin
99089134e3 Add a method to clear transient parent 2021-04-05 10:16:46 +03:00
John Preston
84e0979f47 Fix window title update on macOS. 2021-02-26 21:16:48 +04:00
Ilya Fedin
6500dc9610 Qt-based title widget ported from tdesktop 2021-02-04 18:12:14 +04:00
John Preston
5e3897fcff Improve macOS custom window title. 2020-12-17 15:54:04 +04:00
John Preston
d4c99701b5 Fix deprecation warnings on Qt 5.15.1. 2020-11-04 18:44:45 +03:00
John Preston
b5d6851c97 Fix build with Qt 5.6.2. 2020-08-20 17:57:51 +04:00
John Preston
a1dbca8578 Fix closing Ui::Window from FullScreen on macOS. 2020-08-14 19:58:55 +04:00
John Preston
6735ee93dc Support custom drag area for Ui::Window on macOS. 2020-08-13 13:00:42 +04:00
John Preston
c45b62084c Support hidden custom title on macOS. 2020-08-12 21:00:03 +04:00
John Preston
608b25bd32 Allow custom drag area for Ui::Window. 2020-08-12 17:34:40 +04:00
John Preston
83fada4675 Fix separate panels transparent background.
Regression was introduced with migration to Qt 5.12.8.
2020-05-05 13:51:40 +04:00
John Preston
730816ef52 Move on-top panel one level below on macOS. 2020-03-25 13:23:31 +04:00
John Preston
33ea14969e Use StartTranslucentPaint only on OpenGL widgets on macOS. 2020-01-29 18:54:25 +03:00
John Preston
bbd35238da Don't force floating panel.
In case of StaysOnTop windows it looks like it is floating already.
But in case of manually setting floating here it has a strange bug
with non-activatable always on top tool window (picture-in-picture).

When first time shown it doesn't act as a stays-on-top window, if you
click on another app it is shown above the PiP. Only if you activate
the main window once more the PiP will become stays-on-top window.

This way it works from the first show.
2020-01-29 18:02:17 +03:00
John Preston
0f0fd6a94f Use non-libdispatch queues in Mac App Store build. 2020-01-23 13:13:54 +03:00
John Preston
26e6a3050c Allow non-activatable window on Windows. 2020-01-07 15:16:00 +03:00
John Preston
e4b23cad1b Fix custom title on macOS. 2019-10-18 20:56:17 +04:00
John Preston
7d548176e7 Fix custom window title style on macOS. 2019-10-16 11:10:45 +04:00
John Preston
40d7581c36 Allow different custom window title styles. 2019-10-14 14:42:21 +04:00
John Preston
c0ce14bb68 Allow fixed windows with custom title bar. 2019-10-14 13:57:03 +04:00
John Preston
11aa7bcd4e Support title-aware Window::setGeometry. 2019-09-30 11:58:45 +03:00
John Preston
187df62e9d Support nice Ui::Window under macOS. 2019-09-26 09:53:57 +03:00
John Preston
d5c9ad77a9 Support nice Ui::Window under Windows. 2019-09-26 09:53:57 +03:00
John Preston
34b05c25fc Rename ui_integration to integration. 2019-09-19 11:29:21 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00