On 03/19/10 18:45, Demetrius Cassidy wrote:
>
> I am not sure if this is the intended behavior, but if I subclass a QWidget
> instance, and then try to connect to one of those signals in my subclass, I
> get a TypeError:
>
class MyLabel(QtGui.QLabel):
> ... def __init__(self):
> ...
I am not sure if this is the intended behavior, but if I subclass a QWidget
instance, and then try to connect to one of those signals in my subclass, I
get a TypeError:
>>> class MyLabel(QtGui.QLabel):
... def __init__(self):
... self.linkActivated.connect(self._lnkActivated)
...