Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Removing Stacked Widget's default two pages
QtWS25 Last Chance

[SOLVED] Removing Stacked Widget's default two pages

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 5.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    miguelg
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    1
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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".

      1 Reply Last reply
      1
      • M Offline
        M Offline
        miguelg
        wrote on last edited by
        #3

        Excellent. Thanks!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved