Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1615

QStyleOptionProgressBar have no way to change progress bar orientation.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.1.1
    • 6.1.1
    • PySide
    • None
    • Windows
    • 6fd5870df0fbad0187b6d8bf7e3b12afb2e7a66f

    Description

      I am using  QStyleOptionProgressBar to make progress bar in QTabView by PySide6.

      But I find the progressbar default orientation is vertical and I cant find any way to change it.

       

      When I was using PySide2 , the default orientation is horizontal, and also can change it by QStyleOptionProgressBar.orientation; but there is no that option in PySide6.

       

      Please help me ,how can I change the oritention to Horizontal in PySide6

       

      Thanks

      Attachments

        1. code.PNG
          code.PNG
          31 kB
        2. progressbar.PNG
          progressbar.PNG
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            gang.liu Gang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes