Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can I have horizontal west-sided tabs ?

Can I have horizontal west-sided tabs ?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 6 Posters 915 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.
  • GAlbertG Offline
    GAlbertG Offline
    GAlbert
    wrote on last edited by GAlbert
    #1

    Hello !

    I am currently trying to design my app and I have been using the QTabWidget since it felt like it was the easiest way to adapt for my use case.

    The only thing I kinda dont like is the way QtDesign allows me to place my tabs.
    abb0041e-8f2e-4ef8-ba23-996246a3d908-image.png

    QtDesign puts the tabs as in case 1 on the image, meanwhile I think it would look better like case 2.

    Is there a way to do it using QSS or QtDesign studio ?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Not that I am aware of but it might be worth a feature request.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      GAlbertG 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        Not that I am aware of but it might be worth a feature request.

        GAlbertG Offline
        GAlbertG Offline
        GAlbert
        wrote on last edited by
        #3

        @Christian-Ehrlicher Oh.. alright... I might do the feature request but until then, how could I achieve this functionality, without the tab widget ?

        S JoeCFDJ 2 Replies Last reply
        0
        • H Offline
          H Offline
          Henning G
          wrote on last edited by Henning G
          #4

          This isn't the place to ask questions about QtDesigner which deals with QWidgets. This channel/forum is about Qt Design Studio which uses QML/QtQuick. Have a read about what the difference is here https://doc.qt.io/qt-6/qtdesigner-manual.html

          You might get more answers on your question in a different channel/forum.

          This is about Qt tools which includes QtCreator and it's QtDesigner https://forum.qt.io/category/13/tools

          Depending on your coding skills you could also ask in general, because what you want get potentially be achieved without QtDesigner involved.

          SGaistS 1 Reply Last reply
          0
          • SGaistS SGaist moved this topic from Qt Design Studio on
          • H Henning G

            This isn't the place to ask questions about QtDesigner which deals with QWidgets. This channel/forum is about Qt Design Studio which uses QML/QtQuick. Have a read about what the difference is here https://doc.qt.io/qt-6/qtdesigner-manual.html

            You might get more answers on your question in a different channel/forum.

            This is about Qt tools which includes QtCreator and it's QtDesigner https://forum.qt.io/category/13/tools

            Depending on your coding skills you could also ask in general, because what you want get potentially be achieved without QtDesigner involved.

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Henning-G thread moved

            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
            • GAlbertG Offline
              GAlbertG Offline
              GAlbert
              wrote on last edited by
              #6

              Oh, my bad, I thought it was about design in general, not just the tool, will know for next time 😅

              1 Reply Last reply
              0
              • GAlbertG GAlbert

                @Christian-Ehrlicher Oh.. alright... I might do the feature request but until then, how could I achieve this functionality, without the tab widget ?

                S Offline
                S Offline
                SimonSchroeder
                wrote on last edited by
                #7

                @GAlbert said in Can I have horizontal west-sided tabs ?:

                until then, how could I achieve this functionality, without the tab widget ?

                I am not sure if there is some setting for the tab widget to change the behavior. However, you could use buttons in a vertical layout (without any margins) on the left and a QStackedWidget for the right portion. The buttons would then toggle the different pages of the stacked widget. Some additional styling on the buttons and nobody will know the difference.

                1 Reply Last reply
                0
                • GAlbertG GAlbert

                  @Christian-Ehrlicher Oh.. alright... I might do the feature request but until then, how could I achieve this functionality, without the tab widget ?

                  JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by
                  #8

                  @GAlbert maybe you can try to customize Tab Bar if you use qtabwidget

                  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