Thread
:
QDialog, how to detect when user clicks background window?
View Single Post
nilsbenson
2010-02-15 , 05:40
Posts: 19 | Thanked: 7 times | Joined on Jan 2010 @ dallas, tx usa
#
4
The dialog gets disposed of with a DialogCode of None if you tap on the background form when a modal QDialog is being displayed.
You have to handle accept() / reject() yourself from whatever buttons are on your form. When the background is clicked it is being "canceled" without being rejected.
Quote & Reply
|
The Following User Says Thank You to nilsbenson For This Useful Post:
tmsha
nilsbenson
View Public Profile
Send a private message to nilsbenson
Find all posts by nilsbenson