my_comboBox.currentIndexChanged[str].connect(my_function_string)
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#connecting-disconnecting-and-emitting-signals See end of section 7.3 On 04/21/10 11:00, Olivier Fournier wrote: > Hi, > > my_comboBox.currentIndexChanged.connect(my_function) "return" an integer > > Is it possible with new signal style to obtain directly the text of > QConbobox item like with: > connect(my_comboBox, QtCore.SIGNAL("currentIndexChanged ( const QString > & ) "),my_function) > > thanks > > Oliv > > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
