Q_OBJECT, implement exit action in MainWindow.cpp