Open 3D Engine AzQtComponents API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzQtComponents::AzQtApplication Class Reference

Base class for O3DE Tools Applications. More...

#include <AzQtApplication.h>

Inherits QApplication.

Public Member Functions

 AzQtApplication (int &argc, char **argv)
 

Static Public Member Functions

static void InitializeDpiScaling ()
 

Detailed Description

Base class for O3DE Tools Applications.

Member Function Documentation

◆ InitializeDpiScaling()

static void AzQtComponents::AzQtApplication::InitializeDpiScaling ( )
static

Initializes Qt DPI scaling to handle displays with high display densities, such as Retina displays. Currently, this uses Qt's system DPI awareness, in which a common device scaling factor will be calculated across all attached screens.

Warning
This must be called before this AzQtApplication instance is initialized.

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