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]Multiple interfaces ..
Forum Updated to NodeBB v4.3 + New Features

[solved]Multiple interfaces ..

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 693 Views 1 Watching
  • 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.
  • P Offline
    P Offline
    Project try
    wrote on last edited by
    #1

    Hey,

    Suppose I have a toolbar with lets say option one which is the main page , and option 2 which is settings , when I click on main page it brings the main page " on the main widget which is qmainwindow " and when I click on setting it shows the settings , I don't want it to pop up another widget , I want it to show it on the same widget.

    for example internet explore's internet settings, there's multiple options like connection and settings, when you click on settings it shows the settings on the same widget without another widget popping op.

    The solution that I found it qstackedwidgets , but I want to work on ui not codding all of it since it's easier + you can see the result without debugging.

    what's the best way to do this ? I thought of letting the ui objects public and add then to the qstackwidgets but not sure if it'll work + it's not the best practice , and I can't use signals and slots since I need to show the widget.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Project try
      wrote on last edited by
      #2

      Oh sorry for bothering you guys :(

      Solution: there's a qstackedwidgets in the ui design , you can add all you want in each qstackedwidgets and hide and show it whenever you want.

      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