Display of the same dialog is not happening
Hi,
I am trying a application with the base class as Widget and from that a new dialog is displayed as FIRST DIALOG and from this i am displaying another dialog as SECOND DIALOG. From the Second dialog i am adding a push button and i want the same FIRST DIALOG to be displayed and i am using MODAL dialog. here what happens is instead of displaying the FIRST DIALOG. it is creating a new Dialog.
how to solve this problem any one can help?
Re: Display of the same dialog is not happening
In the second dialog push button close the the second dialog, which will take you back to frist dialog. (Note to close the second dialog, not delete it)
1 Attachment(s)
Re: Display of the same dialog is not happening
Thanks for your reply santosh.. but still when i try to close my second dialog the focus is not going to the older first dialog, instead it is creating a new firstdialog. i have attached my code for reference.kindly do reply me
1 Attachment(s)
Re: Display of the same dialog is not happening
Re: Display of the same dialog is not happening
Thanks santhosh its working now..
Re: Display of the same dialog is not happening
Hi,
I have compiled above code using Qt 5.0 and Qt 4.8. With Qt 4.8 it works like a charm. Using the newest Qt (5.0 with MSVC 2010) it gives me only errors...
I would like to ask if anyone knows how to solve it?
Re: Display of the same dialog is not happening
Yes, someone knows how to solve it. You probably have to add "widgets" to QT in the PRO file.
If you want a more useful answer try providing more useful information... like a hint about the error messages.