Re: return-value and QDialog
isn't there a way to print a note if it was retured (and another if not)? because if it should then I'm quite sure you can catch it somewhere and give some kind of output of its nature, eg. to console or some testfile. It seems to me a simle bug-fixing-searching problem.
Re: return-value and QDialog
Thanks for your answer. Yes, for sure it would be possible to solve this by try and error, but I am more interested in a more detailed answer about how long the life cycle of such elements is.
Re: return-value and QDialog
well, you will se if you try... :)
Re: return-value and QDialog
I think calling done() with either accept or reject might be better than close().
The dialog instance is hidden and processing stopped when you dismiss it but it will not be destroyed until you destroy it "delete editInvoice".
You can read any public widget values or your own properties/variables etc until then
regards
Dave