itom
Loading...
Searching...
No Matches
ito::GuiHelper Class Reference

Static Public Member Functions

static int getScreenLogicalDpi (const QPoint *pos=nullptr)
 
static float screenDpiFactor (const QPoint *pos=nullptr)
 

Static Private Attributes

static int dpi = 0
 
static QString highDPIFile
 
static QList< int > screensDPI
 

Member Function Documentation

◆ screenDpiFactor()

float ito::GuiHelper::screenDpiFactor ( const QPoint * pos = nullptr)
static

returns a factor [1,..) by which user interface components can be scaled due to high resolution screens. A factor of 1.0 is related to the default 96dpi screen.


The documentation for this class was generated from the following files: