I recently posted a question on Stack Overflow that is related (but not entirely the same) to this one:
How to resize the QMenuBar in PyQt4 for a 4K display
Thanks to the help of the Stack Overflow community, I can change the sizes of icons and fonts of various Widgets (like buttons, menubars, statusbars, ...) in PyQt4. There is however one problem that is not solved entirely. The icon in the top left corner of the GUI and the Window title are not adjustable in size. This is a real problem, since several users might have a 4K display nowadays. The extremely tiny icon in the top left corner and the unreadable Window title become effectively useless. I got the following comment:
My comment: Only the Window title is stuck at the small font size. How would you enlarge the window title size with PyQt4?
Reply: Can't change it with Qt. That's drawn by your OS window manager
I understand from this reply that the only way to deal with the problem is changing the general settings of your Operating System. In Windows that would be:
Control Panel > Appearance and Personalisation > Display > "set a custom scaling level"
This solution works indeed, but it changes just about every program you use. No one is going to do that for a tiny Python program they'd like to use..
Does anyone know a clever solution?