Hmm, that might work, but I'd rather not delete the object - need to extract data from it after the window is closed. I thought about using closeEvent() too, except that I didn't want to handle the close events triggered by clicks outside of the popup window.
In the end, I just wound up connecting a signal from the popup to a custom slot (a handler for selectionChanged() as it were) that just manually closes the window and emit a closed() signal at the same time. Seems simple enough.




Reply With Quote
Bookmarks