[PyQt] QComboBox and QVariant in pyqt4 ?

alteo_gange romanocaldoni at free.fr
Wed Nov 7 20:43:07 GMT 2007


Le mercredi 07 novembre 2007, Ingmar Steen a écrit :
> Hi
>
> You can use the activated(int) signal instead and then look up the
> userdata with QComboBox.itemData(int).

Thanks Ingmar, it's magnificent!

At last, i can use QVariant :)




More information about the PyQt mailing list