[PyQt] Setting HighDpiScaleFactorRoundingPolicy
Florian Bruhin
me at the-compiler.org
Fri Apr 17 09:40:58 BST 2020
Hey,
On Fri, Apr 17, 2020 at 08:09:15AM +0200, Marius Shekow wrote:
> how can I set the policy? It seems to me that the enum was forgotten. It's
> not in PyQt5.QtCore.Qt anyways.
>
> I'm on PyQt 5.14.1 (but it doesn't seem to work with 5.14.2 either).
No issues here:
>>> from PyQt5 import QtCore
>>> QtCore.qVersion(), QtCore.QT_VERSION_STR, QtCore.PYQT_VERSION_STR
('5.14.2', '5.14.2', '5.14.2')
>>> QtCore.Qt.HighDpiScaleFactorRoundingPolicy.Round
<HighDpiScaleFactorRoundingPolicy.Round: 1>
Florian
--
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200417/055a9c83/attachment-0001.sig>
More information about the PyQt
mailing list