Details
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
For Gerrit Dashboard: PYSIDE-748 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
499875,4 | libpyside: Use a static string for the slot attribute attached to methods | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
499876,5 | libpyside: Refactor passing slot data between @Slot and MetaObjectBuilder | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
499877,6 | libpyside: Implement QMetaMethod::tags() for @Slot | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
512431,2 | libpyside: Implement QMetaMethod::tags() for @Slot | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |