6.0.0-rc4Source

QCloseEvent Class

The QCloseEvent class contains parameters that describe a close event. More…

Header#include <QCloseEvent>
CMaketarget_link_libraries(app PRIVATE Nt::Gui)
ModuleNt GUI C++ Classes
InheritsQEvent

List of all members, including inherited members

Public Functions

Reimplemented Public Functions

QCloseEvent *clone() const

Detailed Description

The event is sent when the user asks to close a window, for example with the close button of its frame. A window that ignores the event, with event->ignore(), stays open.

See also QWindow::closeEvent().

Member Function Documentation

QCloseEvent::QCloseEvent()

Constructs a close event, which starts out accepted.

[override] QCloseEvent * QCloseEvent::clone() const

Reimplements QEvent::clone().