Prompt on exit in PyQt application

Viewed 35300

Is there any way to promt user to exit the gui-program written in Python?

Something like "Are you sure you want to exit the program?"

I'm using PyQt.

1 Answers
Related