How to vanish existing content and show something else on interface?



  • A very basic query: I want to show different tabs and pictures after clicking pushbutton on an interface where already some label and buttons are showing up. Can anyone tell me what to do?



  • Might want to look at the
    QStackedWidget ?
    With this you can place multiple widgets (consists of multiple buttons/view etc) on top of each other. When a button is clicked you are able to select a different widget to show within the given window/widget.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.