Hello!

I'm new in QT. I'm using eclipse CDT (programming in C++) and using the GUI project (.ui). First of all, I create a main window with two push buttons. I would like that when you click on one of two buttons change the entire contents of the window (and the buttons disappear). This new content will have an image and some push buttons, but that's another thing.

What's the best way to do that? I think that I could change the layout when the button is pressed. Perhaps I could use frames. ¿Any ideas?

Thanks in advance.