So i looked at QWizard and it does not serve my purpose i am posting the code with the slots that i made somehow i get no compile error but its not working please have a look. i am desperate :-( stacknew.zip


So i have now main window having the stackedWidget and that has 2 forms form1 form2
form 1 has 2 buttons pushButton1 and pushButton2 and a textbox form2 has a lable

what i am trying to do is when the form loads and i type in textbox then click on pushButton1or pushButton2 frm 2 should come to view in stackedwidget and lable on for 2 will have data from textbox of form1 plus an identifier for which button was clicked.