Inserting into a combo box

Brandon deanfamily11 at verizon.net
Sun Aug 3 18:37:37 EDT 2008


I'm attempting to insert items into a combo box, but when it goes to run it, 
throws up the error:

TypeError: argument 1 of QComboBox.insertItem() has an invalid type

and here is what I'm trying to do:

self.editUsername.insertItem(uname)
editUsername is the combo box, and uname is a string I'm attempting to 
insert.

Any suggestions? 





More information about the Python-list mailing list