aka
2019年4月29日星期一
QT High DPI
high-dpi-scaling-in-pyqt5
PyQt5 and high resolution monitors
High DPI Displays
PyQt 5 and 4k screen
from PyQt5 import QtWidgets, QtCore, QtGui
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
没有评论:
发表评论
‹
›
主页
查看网络版本
没有评论:
发表评论