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

PySide Property declaration creates properties with the setter name of the function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 6.0.0
    • PySide
    • None
    • All

    Description

      https://codereview.qt-project.org/c/pyside/pyside-setup/+/330011

      produces:

          class WigglyWidget:
                  Properties:
                    60 bool running, designable, flag, stored, writable, resettable
                    61 bool setRunning, designable, flag, stored, writable, resettable
                    62 QString text, designable, flag, stored, writable, resettable
                    63 QString setText, designable, flag, stored, writable, resettable
      

      This also happens for the standard property = Property() syntax as well as for the Python decorator syntax.

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes