Well, my problem is that I have a dialog which is in fact a popup. I have the following flags set:
Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::Popup
Now I want, when the user clicks somewhere else than on the popup itself, that it disappears and deletes.
When I use exec(), it is modal, so can't click somewhere else to make it disappear.
So I use show() which does do this, but then the closeEvent is not sent, so it doesn't delete itself when the WA_DeleteOnClose has been set? However, finished() signal is send, so maybe I can do a close slot on this?





Reply With Quote
Bookmarks