QCloseEvent Class
The QCloseEvent class contains parameters that describe a close event. More…
| Header | #include <QCloseEvent> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Gui) |
| Module | Nt GUI C++ Classes |
| Inherits | QEvent |
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.
QCloseEvent * QCloseEvent::clone() const
Reimplements QEvent::clone().