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. How to set a new "tab" in a given main window
Forum Updated to NodeBB v4.3 + New Features

How to set a new "tab" in a given main window

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.0k 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.
  • D Offline
    D Offline
    DeanQt
    wrote on last edited by
    #1

    Hi all,

    I would like to make a new "tab" in a given window in a Qt form.

    I know that there is a "tab widget" but I am not looking for a widget.

    Lets say that I have an input sheet and an output sheet. I have the form designed for the input sheet and I want to view a completely seperate output sheet WITHOUT opening a new window class.

    See below for input sheet. After the user selects output, the SAME WINDOW I want to change into different configuration of widgets and fields.

    http://i44.tinypic.com/bjeiwy.jpg
    [IMG]http://i44.tinypic.com/bjeiwy.jpg[/IMG]

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you thinking about something like QStackedWidget or QStackedLayout ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DeanQt
        wrote on last edited by
        #3

        Thanks I will look into those and revert if I have any questions

        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