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

Follow the Qt/C++ API style in regards of properties

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.0 (Next Major Release)
    • Component/s: PySide
    • Labels:

      Description

      The current C++ api make uses of properties for certain Object (https://doc.qt.io/qt-5/qlabel.html), where as the current pySide API use exclusively methods (https://doc.qt.io/qtforpython/PySide2/QtWidgets/QLabel.html)

      One would expect to set the alignment this way:

      QLabel.alignment = Qt.AlignLeft
      

        Attachments

          Issue Links

          For Gerrit Dashboard: PYSIDE-1019
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              ctismer Christian Tismer
              Reporter:
              xrogaan Ludovic Bellière
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are 3 open Gerrit changes