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

pyside6-metaobjectdump ignore Slot name

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • None
    • PySide
    • None

    Description

      I might be misunderstanding here, but I believe if I have a method in Python like:

       

      @Slot(name="myMethod")
          def my_method(self): 

      It should be available to QML as myMethod, which I would expect to be reflected by pyside6-metaobjectdump. 

      However, when I run pyside6-metaobjectdump, the generated type information is always 

      Method { name: "my_method" } 

      Have I misunderstood, or should it be using the name argument?

       

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            jtc9242 Joel Collins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes