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: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.2
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            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:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes