Hi,

I have developed few ui pages: Sample1.ui, Sample2.ui, Sample3.ui....

Now what i want is that on button click of Sample1.ui, my page Sample2.ui gets loaded and Sample1.ui gets closed...

To close it i got the function MainWindow.close()...

But am not able to get any function for swtiching between pages...

Please help me finding the solution to it...

Thanking you,
Kapil