I designed a rather large GUI using QT designer on a high resolution screen. I am needing a version to deploy on low resolution screens. In the post: PyQt GUI size on high resolution screens I found a solution for converting from low resolution to high resolution by doing this:
# Handle high resolution displays:
if hasattr(QtCore.Qt, 'AA_EnableHighDpiScaling'):
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
if hasattr(QtCore.Qt, 'AA_UseHighDpiPixmaps'):
QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
However, in my case, I need the exact opposite. I need a way to handle a GUI that was designed for a high resolution screen to scale down to low resolution.