[SOLVED] Removing Stacked Widget's default two pages

  • I need to programmatically add two forms to my main window's stacked widget but it seems that it has two pages already by default.

    What can I do to remove said default pages? Is there any setting in Designer that I'm overlooking or must I remove the pages programmatically before adding the forms I actually want?

  • Moderators

    You don't need to use the built-in pages.
    Right click on the stacked widget and you will see a page control section in the menu. Select the page you want to remove using "next page" and "previous page" and then from "Page XX" sub-menu select "delete".

  • Excellent. Thanks!

Log in to reply

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