Commit graph

21 commits

Author SHA1 Message Date
John Preston
2d53ef070f Allow to query RpWindow-s frame margins. 2021-09-16 10:26:34 +03:00
Ilya Fedin
98c7979e67 Get rid of _nativeFrame variable, _title->isHidden is enough 2021-08-08 09:18:15 +03:00
Ilya Fedin
381bfc43c5 Subscribe window widget resize to window state changes 2021-08-08 09:18:15 +03:00
Ilya Fedin
3f85ce53d6 Fix titlebar position when switching to custom frame 2021-07-30 17:29:45 +03:00
John Preston
868f2671fa Fix Ui::RpWidget geometry constraints. 2021-07-29 18:12:44 +03:00
John Preston
d452ae8ba6 Rename Ui::Window to Ui::RpWindow. 2021-07-28 16:23:27 +03:00
Ilya Fedin
7a71876124 Add possibility to enable native window frame to Ui::Window 2021-07-28 16:06:17 +03:00
Ilya Fedin
95cafc5064 Fix cursor with custom titlebar on Linux 2021-07-27 10:53:20 +03:00
Ilya Fedin
b8485c0d8a Fix -Wunused-variable warnings 2021-07-13 21:24:22 +03:00
John Preston
1c004580eb Fix stay-on-top Ui::Window-s on macOS. 2021-06-08 17:11:02 +04:00
John Preston
b486260559 Don't change cursor in fixed-size windows. 2021-05-10 16:12:42 +04:00
John Preston
cf39753666 Revert "Take in account device pixel ratio when setting window extents"
This reverts commit e14bc4681d.
2021-02-21 08:03:00 +04:00
Ilya Fedin
492121950d Check if resize area is null 2021-02-19 12:37:42 +04:00
Ilya Fedin
e14bc4681d Take in account device pixel ratio when setting window extents 2021-02-17 18:04:06 +04:00
Ilya Fedin
6500dc9610 Qt-based title widget ported from tdesktop 2021-02-04 18:12:14 +04:00
John Preston
ae340a0b76 Fix build with Qt 5.6.2. 2020-10-07 18:17:37 +03:00
John Preston
fe09c42f0c Force separate window for Ui::Window. 2020-10-05 16:48:39 +03: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
3d5108a878 Allow Ui::Window to become fullscreen. 2020-08-12 20:45:57 +04:00
John Preston
608b25bd32 Allow custom drag area for Ui::Window. 2020-08-12 17:34:40 +04:00