View Full Version : How to get previous form from current form
keyurparekh
6th May 2011, 08:28
Hi every body,
I want to know that i have created one form. Now i am opening another form from my current form.
so now i am able to see new form. SO now if i want to go to previous page than how can i go to previous page from current page?
Please reply me for this problem.
Awaiting for your reply...
Thanks & Regards,
Keyur Parekh.
wysota
6th May 2011, 13:40
There is no ready mechanism for this. You can implement one using QStackedWidget.
keyurparekh
7th May 2011, 05:23
Yes right,
I have already use stack widget. So that i m able to switch from one form to another form. But if i want to come back to previous form how can i do that?
That is my main problem.
ChrisW67
7th May 2011, 06:43
Umm, you use the same method you are already using to change to another page :confused:
Open Qt Assistant, look up QStackedWidget in the index, read about the method for changing the current page index.
keyurparekh
7th May 2011, 07:29
Thanks for support.
I have solve the problem.
amitpatel22
9th August 2011, 12:31
Hi...
I have same problem and i solved it using Loader and its source property.
But now i have another problem in which i want to change the value of next QML file's control from current QML file.
Waiting for quick reply..
Thanks..
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.