'How to specify a QList<int> type as signal/slot argument type with pyside/pyqt
My question is for pyside6, but since it may be relevant for other, I ask also for pyqt...
With pyside, you declare a slot like this :
@Slot(argtypes...)
def slot_name(self, args:type...):
...
With simple types, it's straightforward... But how to specify an arguent type QList<int> (or list[int]) ? (spoiler alert : pyside does not know about python type hinting system...).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
