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

fromSignal() is absent in PySide6.QtCore.QMetaMethod

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.5.0
    • 6.4.2
    • PySide
    • None
    • Linux/X11
    • 78b924368 (dev)

    Description

      I'm not sure is it a problem of PySide or global Qt problem as I can't check the same code with C++.

      I tried to execute this piece of code:

      from PySide6.QtCore import QMetaMethod
      signal = QMetaMethod.fromSignal(view_header.sectionDoubleClicked)

      And got an error:

      AttributeError: type object 'PySide6.QtCore.QMetaMethod' has no attribute 'fromSignal'

      The code itself is taken from Qt Documentation so I assume it to be valid.

       QMetaMethod fromSignal(PointerToMemberFunction signal)
       

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            starterkit Ivan Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes