Hi !

i was created two forms using qt designer(4.4) namely form1,form2. form1 having the next push button, while pressing it i need to go next form (form2). Like wise form2 having the back push button, while pressing it i need to go previous form(form1).

In vb,

Qt Code:
  1. nextcmd_clicked()
  2. form1.hide()
  3. form2.show()
  4. end sub
  5.  
  6. previouscmd_clicked()
  7. form2.hide()
  8. form1.show()
  9. end sub
To copy to clipboard, switch view to plain text mode 

Like wise i need to achieve in QT. Please help me out.... Any small hint can be appreciate....

Advance Thanks