此 QML 模塊包含用於創建頂層窗口和訪問屏幕信息的類型。
要使用此模塊中的類型,采用以下行 import 模塊:
import QtQuick.Window 2.15
CloseEvent
Screen
Window