Sur cette page

CloseEvent QML Type

Notification de la fermeture imminente d'un site Window. Plus d'informations...

Import Statement: import QtQuick

Propriétés

Description détaillée

Notification indiquant qu'une fenêtre est sur le point d'être fermée par le système de fenêtrage (par exemple, l'utilisateur a cliqué sur le bouton de fermeture de la barre de titre). L'événement CloseEvent contient une propriété acceptée qui peut être définie sur false pour annuler la fermeture de la fenêtre.

Documentation sur les propriétés

accepted : bool

Cette propriété indique si l'application permet à l'utilisateur de fermer la fenêtre. Elle est vraie par défaut.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.