I encountered a strange problem when wrapping a custom QDialog subclass. This subclass implements accept and connects it to QDialogButtonBox::accepted, but this would not get invoked and I could not for the life of me understand why. Eventually I discovered that the reason was that I did not declare accept among the class' methods in the SIP wrapper. Why is it that C++ reimplementations of slots are hidden if they are not also wrapped in the SIP equivalent?? See attached demo (test.py is the main script).
Arve
testdialog.tar
Description: Unix tar archive
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt