import QtQuick
import QtQuick.Window 2.2
//指项目当前显示的屏幕
Window {
Screen.desktopAvailableWidth(Height): int
//可用宽/高度,像素单位
//不包括窗口管理器保留区域(如任务栏和系统菜单)
Screen.width(height): int
//屏幕宽/高度,像素单位
Screen.devicePixelRatio: real
//屏幕物理像素与设备无关像素之间的比例
//普通显示器的常用值为 1.0,苹果 "视网膜 "显示器的常用值为 2.0
Screen.manufacturer: string
//屏幕制造商
Screen.model: string
//屏幕型号
Screen.name: string
//屏幕名称
Screen.serialNumber: string
//序列号
Screen.orientation: Qt::ScreenOrientation
//屏幕方向
Screen.pixelDensity: real
//每毫米物理像素数
Screen.primaryOrientation: Qt::ScreenOrientation
//屏幕的主要方向
//若 height > width,则方向为 Qt.PortraitOrientation
//否则为 Qt.LandscapeOrientation
Screen.virtualX(Y): int
//虚拟桌面内屏幕的 x/y 坐标
}