Main view of Tome. Sets up and owns all other views.
More...
#include <mainwindow.h>
|
| void | closeEvent (QCloseEvent *event) |
| | Asks the user whether they want to save unsaved changes, and handles the close event accordingly. More...
|
| |
Main view of Tome. Sets up and owns all other views.
◆ MainWindow()
Constructs the main window and all other windows.
- Parameters
-
| controller | Controller owning the main window. |
| parent | Optional owner widget. |
◆ closeEvent()
| void MainWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
protected |
Asks the user whether they want to save unsaved changes, and handles the close event accordingly.
- Parameters
-
| event | Event that wants to close the main window. |
The documentation for this class was generated from the following files:
- Source/Tome/Core/mainwindow.h
- Source/Tome/Core/mainwindow.cpp