If I find myself subclassing a widget just to get something to happen on an event am I doing something wrong?<br>Is there another way to accomplish this?<br>Is there a way to use an event like a signal in a self.connect?<br>
<br>For example... If I want so do something when a label is clicked I have done the following and then just connect to the signal I emmit.<br><br>class ClickableLabel(QLabel):<br>    def __init__(self, *args, **kwargs):<br>
        super(ClickableLabel, self).__init__(*args, **kwargs)<br>    <br>    def mousePressEvent(self, event):<br>        self.emit(SIGNAL("clicked"))<br><br><br>Thanks,<br>~Eric<br>