[PyQt] QComboBox with history

simone simozack at yahoo.it
Thu Jul 3 15:12:51 BST 2008


Filip Gruszczyński ha scritto:

> Therefore I need to add
> new information to the history earlier - but I have no idea, how to do
> it. Anyone knows, which method should I override? I checked class
> refference, but found nothing.

For example, you can use userData attribute in the addItem() method or 
the setItemData() method to store the information needed and the 
findData method to find an item or an index with needed data. More 
information on the QComboBox Class Reference.

--
Simone
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 



More information about the PyQt mailing list