I have created such class:

class QComboBoxExt(QComboBox):

        def mouseReleaseEvent(self, event):
                print "release"
                QComboBox.mouseReleaseEvent(self, event)

However mouseReleaseEvent is never called. I have checked
qcombobox.cpp/h and mousePressEvent is both declared and defined. It's
not virtual though - could this be a reason? On the other
mousePressEvent isn't virtual too and I could easily subclass it.

-- 
Filip Gruszczyński

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to