Class for handling Main Window UI and logic. More...
#include <mainwindow.h>
Public Member Functions | |
MainWindow (QWidget *parent=0) | |
Class constructor. | |
void | closeEvent (QCloseEvent *) |
Handles Main Window close event. |
Class for handling Main Window UI and logic.
MainWindow::MainWindow | ( | QWidget * | parent = 0 |
) |
Class constructor.
parent | Main Window parent widget. |
Initializes Main Window and creates its layout based on target OS. Loads TSPSG settings and opens a task file if it was specified as a commandline parameter.
void MainWindow::closeEvent | ( | QCloseEvent * | event | ) |
Handles Main Window close event.
event | Close event. |
Checks whether or not a current task was saved and asks for saving if not. Saves TSPSG settings.