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 move the scrollbar at the bottom of a QScrollBar?
Forum Updated to NodeBB v4.3 + New Features

How to move the scrollbar at the bottom of a QScrollBar?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt designerpyqt5pyqt6
2 Posts 2 Posters 149 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.
  • R Offline
    R Offline
    Rangerman
    wrote on 2 Apr 2025, 13:18 last edited by
    #1

    I've been trying to create a widget that contains a QScrollBar with buttons inside. My idea is to add atleast 10 buttons and if there isn't too much space to see all the buttons, the user can scroll left and right to see all the buttons. However, the scroll area is always on the right side, never at the bottom. Here's a demonstration of what I'm designing: d57e8504-ca1c-46c7-bf0c-fa6f49029d7e-image.png

    I'm using QtDesigner, so I'd like to hear any tips on to solve this.

    J 1 Reply Last reply 2 Apr 2025, 14:45
    0
    • R Rangerman
      2 Apr 2025, 13:18

      I've been trying to create a widget that contains a QScrollBar with buttons inside. My idea is to add atleast 10 buttons and if there isn't too much space to see all the buttons, the user can scroll left and right to see all the buttons. However, the scroll area is always on the right side, never at the bottom. Here's a demonstration of what I'm designing: d57e8504-ca1c-46c7-bf0c-fa6f49029d7e-image.png

      I'm using QtDesigner, so I'd like to hear any tips on to solve this.

      J Offline
      J Offline
      JoeCFD
      wrote on 2 Apr 2025, 14:45 last edited by
      #2

      @Rangerman said in How to move the scrollbar at the bottom of a QScrollBar?:

      QScrollBar

      https://doc.qt.io/qt-5/qabstractslider.html#orientation-prop

      1 Reply Last reply
      3

      2/2

      2 Apr 2025, 14:45

      • Login

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