pythonxy is this: http://www.pythonxy.com/ my os is windows.
I'm still using 4.6, sorry cannot help... 2010/7/27 Sybren A. Stüvel <syb...@stuvel.eu> > On Tue, Jul 27, 2010 at 12:36:02PM +0800, 机械唯物主义 : linjunhalida wrote: > > in my OS, works OK. pythonxy 4.6 > > What's pythonxy? And what is your OS? > > > try: > > smodel.currentChanged[QtCore.QModelIndex, > > QtCore.QModelIndex].connect(self.on_change) > > Thanks for the suggestion. Unfortunately, it doesn't work: > > Running on Qt 4.6.2 > Traceback (most recent call last): > File "qttest.py", line 28, in <module> > win = Dialog() > File "qttest.py", line 19, in __init__ > smodel.currentChanged[QtCore.QModelIndex, > QtCore.QModelIndex].connect(self.on_change) > TypeError: on_change() has no overload that is compatible with > currentChanged(QModelIndex,QModelIndex) > > Regards, > -- > Sybren Stüvel > > http://stuvel.eu/ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFMTnI/8ZTyn8Yy+5MRAl4+AJ9XVheTtrcDPhGyRsHXyPHKdB+MMwCaA2NL > CFx5zzlFhQGCqaKDElEMoJc= > =b7oy > -----END PGP SIGNATURE----- > >
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt