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

Add support for QMetaMethod tags in the Slot decorator

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P4: Low
    • 6.6.0
    • None
    • PySide
    • None
    • e39a38376 (dev), a1d389570 (dev), b21d14efd (dev), 19e1b8d86 (6.6)

    Description

      I think it would be useful to support this feature in PySide:

      https://doc.qt.io/qt-5/qmetamethod.html#tag

      I think it might be able to be implemented as a keyword argument to Slot, like:

      @Slot(tag="MY_CUSTOM_TAG")
      def testFunc(self): ...
      

      Attachments

        1. pyside748_test.diff
          1 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            empyrical empyrical
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes