此 QML 模塊包含用於創建頂層窗口和訪問屏幕信息的類型。
要使用此模塊中的類型,采用以下行 import 模塊:
import QtQuick.Window 2.2
| Screen | Attached object provides information about the Screen an Item or Window is displayed on |
| CloseEvent | Notification that a Window is about to be closed |
| Window | 創建新的頂層窗口 |