Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Design Tabbar similar to Tabview

Design Tabbar similar to Tabview

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 3 Posters 1.8k Views 2 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.
  • M Offline
    M Offline
    milan
    wrote on last edited by
    #1

    How can I design the Tabbar similar to Tabview? I mean how can I have tabbar design similar to this one. Please help.

    0_1540034797849_0e98936f-285d-4d1a-8d01-6e16c2ba5051-image.png

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by dheerendra
      #2

      I'm sure you have requirement like as you stated. I have question. Can you use TabView itself instead redesigning the TabBar to look like TabView ? Any limitations or restriction for you to use TabView?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      M 1 Reply Last reply
      0
      • dheerendraD dheerendra

        I'm sure you have requirement like as you stated. I have question. Can you use TabView itself instead redesigning the TabBar to look like TabView ? Any limitations or restriction for you to use TabView?

        M Offline
        M Offline
        milan
        wrote on last edited by
        #3

        @dheerendra . Thanks for your reply. I am using quick controls 2 only, but Tabview is on quick controls 1. I dont know if it is good idea to mix both quick controls 1 and 2 in project, i also dont know if it is possible (because I may need quick controls 2 for some different qml components).

        ekkescornerE 1 Reply Last reply
        0
        • M milan

          @dheerendra . Thanks for your reply. I am using quick controls 2 only, but Tabview is on quick controls 1. I dont know if it is good idea to mix both quick controls 1 and 2 in project, i also dont know if it is possible (because I may need quick controls 2 for some different qml components).

          ekkescornerE Online
          ekkescornerE Online
          ekkescorner
          Qt Champions 2016
          wrote on last edited by
          #4

          @milan have you tried to customize the TabBar and TabButtons ? https://doc.qt.io/qt-5.9/qtquickcontrols2-customize.html#customizing-tabbar

          ekke ... Qt Champion 2016 | 2024 ... mobile business apps
          5.15 --> 6.9 https://t1p.de/ekkeChecklist
          QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

          M 1 Reply Last reply
          0
          • ekkescornerE ekkescorner

            @milan have you tried to customize the TabBar and TabButtons ? https://doc.qt.io/qt-5.9/qtquickcontrols2-customize.html#customizing-tabbar

            M Offline
            M Offline
            milan
            wrote on last edited by milan
            #5

            @ekkescorner . Yes I have tried this, but i could not achieve the look of Tabview which is stacked tabs on the left side of tabbar.

            1 Reply Last reply
            0
            • dheerendraD Offline
              dheerendraD Offline
              dheerendra
              Qt Champions 2022
              wrote on last edited by
              #6

              You can mix it. No issue. Just import the appropriate controls and use it.

              Dheerendra
              @Community Service
              Certified Qt Specialist
              http://www.pthinks.com

              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