John Preston
aa39793a91
Attempt to fix window geometry restore on Windows.
2024-01-12 13:53:22 +04:00
John Preston
cd4e9d378c
Allow to use ForceFullRepaintSync on Linux.
2023-11-22 12:17:32 +04:00
Ilya Fedin
6c216e437d
Fix button state after synthesized mouse release
2023-06-01 19:49:19 +04:00
John Preston
12b8b3804c
Add Ui::MapFrom for optimized mapFromGlobal(mapToGlobal(..)).
2022-09-07 12:51:18 +04:00
23rd
0a713c1c7b
Skipped grabbing of widget with invalid rect.
2022-06-05 14:55:59 +03:00
Ilya Fedin
a812ae65a4
Get rid of private QHighDpi usage
2022-06-02 14:30:18 +04:00
Ilya Fedin
6b469e469f
Get rid of DisableCustomScaling hack
...
This shouldn't be needed since Qt is built without High-DPI scaling support in official binaries and QT_SCALE_FACTOR is a debug environment variable, so any use of it is a user's environment misconfiguration.
https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
2022-05-19 11:50:39 +04:00
Ilya Fedin
26a8f46634
Fix global scale reset with custom platformthemes
...
At least Kvantum makes QGuiApplication constructor to call QGuiApplication::devicePixelRatio, so the value is cached and won't change.
Resetting the cache fixes the issue.
2021-12-16 08:43:30 +04:00
Ilya Fedin
abfd578851
Remove unneeded check for Qt::AA_DisableHighDpiScaling
2021-11-05 17:00:16 +04:00
23rd
6de724bc1c
Moved time input widgets to lib_ui.
2021-08-12 02:36:07 +03:00
Ilya Fedin
a2d1114a93
Get rid of osx and linux32 special targets
2021-08-11 16:01:30 +03:00
Ilya Fedin
d8abc60245
Use private Qt API for DisableCustomScaling
2021-06-18 12:05:59 +04:00
John Preston
14c67cf724
Handle locked screen as overlapping window.
2021-04-27 12:33:23 +04:00
Ilya Fedin
50a0e7da64
Add IsOverlapped method
2021-04-20 15:35:31 +03:00
John Preston
5429c4c53e
Remove a workaround for Qt 5.6.
2020-06-04 13:21:51 +04:00
John Preston
765e525458
Add Ui::AppInFocus() method.
2019-12-31 16:48:25 +03:00
John Preston
bc62f87f0e
Allow disabling custom scaling by envvar.
2019-10-13 12:52:40 +04:00
John Preston
aa6bf8b0e7
Fix crash in 5.12.5 widget init on Windows.
2019-10-12 12:50:24 +04:00
John Preston
85c83003ca
Initial commit.
2019-09-17 17:48:58 +03:00