Device QML Type

Provider of device related information It is a singleton component More...

Import Statement: import .

Properties

Detailed Description

Property Documentation

dp : real

This property hold the density independent pixel (DP) of the Android device this application is running.

It is valid only in Android system. In other system, the default value is 1.


isAndroid : bool


isIOS : bool


isLinux : bool


isMac : bool


isWindows : bool


os : string

This property hold the product name of the operating system this application is running in. It is equivalent to QSysInfo::productType()