Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Design Tooling
  3. Qt Design Studio
  4. QT Design Studio tabs
Forum Updated to NodeBB v4.3 + New Features

QT Design Studio tabs

Scheduled Pinned Locked Moved Unsolved Qt Design Studio
3 Posts 3 Posters 1.8k 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.
  • S Offline
    S Offline
    sapvi
    wrote on last edited by
    #1

    Hi all, I fail to find any info about proper usage of QT Design Studio components... All google search always leads me to info about normal QT & coding, but I want info for QT Design Studio.

    There is a Tab Bar and Tab Button in QT Design Studio, which I have added to the project. But how to actually add there tabbed content to simulate how the pages would look like in a real app? Does not matter where I add the objects hierarchically, they are always displayed despite which QT Tab Button is currently active. How should I set up different pages to design all of them in QT Design Studio? Thanks.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tim.Jenssen
      wrote on last edited by
      #2

      from documentation https://doc.qt.io/qt-6/qml-qtquick-controls-tabbar.html#details I would use a StackLayout

      1 Reply Last reply
      0
      • J Offline
        J Offline
        James123
        Banned
        wrote last edited by
        #3

        In QT Design Studio, Tab Buttons are mostly for navigation within the UI, but each tab doesn’t automatically hide other content. Usually, a StackView or Loader is needed to switch visible content depending on the active tab.

        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