Enable or Disable High DPI scaling on a specific Widget
Unsolved
General and Desktop
-
I know we can enable High DPI scaling for the entire application (https://doc.qt.io/qt-5/highdpi.html). However, if I want to disable this scaling effect for a particular widget (e.g. a frame or widget displaying a picture etc), is there a way to do that?
-
Hi,
I am not aware of that possibility.
Out of curiosity, what is your use case ?
-
In one of my project, a bit of resolution seems to be lost when scaling (150%). It is plotting a complicated graph for signal processing. We are thinking whether we can just plot the graph according to the scaling factor (e.g. running the math calculation ourslef and generate a graph double the size for high resolution etc) and not to scale this part of the widget by using the high dpi setting.