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. Align tabs of Qt tabWidget vertical
Forum Updated to NodeBB v4.3 + New Features

Align tabs of Qt tabWidget vertical

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 2 Posters 4.5k 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
    shree_121
    wrote on 5 Mar 2019, 03:04 last edited by
    #1

    I build UI with tabs of tabWidget aligned in horizontal manner. is there any provision to align the same tabWidget in vertical manner?

    J 1 Reply Last reply 5 Mar 2019, 05:56
    0
    • S shree_121
      5 Mar 2019, 03:04

      I build UI with tabs of tabWidget aligned in horizontal manner. is there any provision to align the same tabWidget in vertical manner?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 5 Mar 2019, 05:56 last edited by
      #2

      @shree_121 https://doc.qt.io/qt-5/qtabwidget.html#tabPosition-prop ?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply 5 Mar 2019, 06:07
      1
      • J jsulm
        5 Mar 2019, 05:56

        @shree_121 https://doc.qt.io/qt-5/qtabwidget.html#tabPosition-prop ?

        S Offline
        S Offline
        shree_121
        wrote on 5 Mar 2019, 06:07 last edited by
        #3

        @jsulm I took tabWidget from design mode (not designed by programming )how can set tab position which i already build.

        J 1 Reply Last reply 5 Mar 2019, 06:15
        0
        • S shree_121
          5 Mar 2019, 06:07

          @jsulm I took tabWidget from design mode (not designed by programming )how can set tab position which i already build.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 5 Mar 2019, 06:15 last edited by
          #4

          @shree_121 Well, in the same way: you go (in Designer) to QTabWidget properties, then tabPosition and change its value as you need...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply 5 Mar 2019, 06:34
          1
          • J jsulm
            5 Mar 2019, 06:15

            @shree_121 Well, in the same way: you go (in Designer) to QTabWidget properties, then tabPosition and change its value as you need...

            S Offline
            S Offline
            shree_121
            wrote on 5 Mar 2019, 06:34 last edited by
            #5

            @jsulm Thank you so much but one more issue that tabWidget is vertical but can I set tab text horizontal?

            J 1 Reply Last reply 5 Mar 2019, 06:55
            0
            • S shree_121
              5 Mar 2019, 06:34

              @jsulm Thank you so much but one more issue that tabWidget is vertical but can I set tab text horizontal?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 5 Mar 2019, 06:55 last edited by
              #6

              @shree_121 I don't think you can do that. But it would look strange and waste a lot of space. Why do you want to do it this way?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply 5 Mar 2019, 06:59
              0
              • J jsulm
                5 Mar 2019, 06:55

                @shree_121 I don't think you can do that. But it would look strange and waste a lot of space. Why do you want to do it this way?

                S Offline
                S Offline
                shree_121
                wrote on 5 Mar 2019, 06:59 last edited by
                #7

                @jsulm Actually i was thinking it will be more spacious for my project but now i think horizontal is good for me :-). thank you again.

                1 Reply Last reply
                0

                1/7

                5 Mar 2019, 03:04

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved