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

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Won't Do
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Platform/s:
      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

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

          Activity

            People

            Assignee:
            ctismer Christian Tismer
            Reporter:
            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