이 페이지에서

CloseEvent QML Type (Uncreatable)

Window 가 곧 닫힐 예정이라는 알림입니다. 더 보기...

Import Statement: import QtQuick

참고: 이 타입은 생성할 수 없습니다. QML에서 인스턴스화할 수 없습니다.

속성

상세 설명

윈도우 시스템에 의해 창이 닫히려는 시점에 대한 알림(예: 사용자가 제목 표시줄의 닫기 버튼을 클릭한 경우). CloseEvent에는 accepted 속성이 포함되어 있으며, 이 속성을 false로 설정하면 창 닫기를 중지할 수 있습니다.

속성 설명

accepted : bool

이 속성은 응용 프로그램에서 사용자가 창을 닫을 수 있도록 허용할지 여부를 나타냅니다. 기본값은 true입니다.

© 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.