Commit graph

17 commits

Author SHA1 Message Date
Ilya Fedin
ba7e3667d6 Adapt for Qt 6.4 device pixel ratio changes
QWidget::devicePixelRatioF represents backing store ratio and it's no more equal to native surface ratio
2022-07-19 19:44:06 +04:00
Ilya Fedin
74cd53e1d1 Revert "Use native window resize on Windows 11"
This reverts commit 2e9aec239d.
2022-06-18 11:01:00 +04:00
Ilya Fedin
2e9aec239d Use native window resize on Windows 11 2022-06-13 14:04:17 +04:00
John Preston
5d475f54f0 Enlarge padded title controls hit area. 2022-02-28 19:12:26 +03:00
John Preston
f0efb19713 Fix a crash on Windows < 11. 2022-01-19 09:30:40 +03:00
John Preston
47aed59fe9 Add Windows 11 snap layouts to custom TitleControls. 2022-01-18 18:37:35 +03:00
John Preston
e5c8a6ebc4 Force correct separate title bar controls geometry. 2022-01-18 15:33:28 +03:00
John Preston
d7e47aa8a6 Support Windows 11 snap layouts in RpWindow title controls. 2022-01-18 12:59:37 +03:00
John Preston
220d683528 Fix Windows 11 title controls by additional padding. 2022-01-17 13:37:14 +03:00
John Preston
a827d9436e Use native rounded corners and title colors. 2021-09-28 21:06:29 +04:00
Ilya Fedin
6500dc9610 Qt-based title widget ported from tdesktop 2021-02-04 18:12:14 +04:00
John Preston
921686055c Pass title controls style in constructor. 2020-08-13 17:58:03 +04:00
John Preston
b534567e11 Extract TitleControls from TitleWidget. 2020-08-13 14:31:41 +04:00
John Preston
0aadf4ca7d Correctly minimize window. 2020-01-02 14:57:22 +03: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
d5c9ad77a9 Support nice Ui::Window under Windows. 2019-09-26 09:53:57 +03:00