Quiting Qt app by Alert Message
-
@Vineela what does your MainWindow header file look like ?
especially the keyPressEvent function declaration, I would expect something like this
protected: void keyPressEvent (QKeyEvent* event)override;
?
-
@J.Hilk well
protected:
void keyPressEvent (QKeyEvent* event)override;
I've added this to my header MainWindow all working awesome
thnk u so much for your kind patience .