CloseEvent QML Type

Notification that a Window is about to be closed 更多...

Import Statement: import QtQuick.Window 2.2
开始支持版本: Qt 5.1

属性

详细描述

Notification that a window is about to be closed by the windowing system (e.g. the user clicked the title bar close button). The CloseEvent contains an accepted property which can be set to false to abort closing the window.

参见 QQuickWindow::closing().

属性

accepted : bool

This property indicates whether the application will allow the user to close the window. It is true by default.