[Qt-interest] assign ID to QComboBox
Alexandre Beraud
aberaud at infflux.com
Thu Mar 26 10:47:56 CET 2009
Hi,
You can use the setItemData() function of the QComboBox class.
Regards,
Alex
Matthias Pospiech a écrit :
> I would like to use a QCombobox similar to a QButtonGroup.
> That means that I want to assign an ID to each row, so that I can get
> back the ID for the selected row.
>
> The documentation indicate that such a functionality is not possible, or
> did I miss something?
>
> Matthias
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
--
BERAUD Alexandre
Ingénieur Développement
Infflux - Informatique & Flux
Tel: 01 49 57 92 00 - Fax : 01 49 57 92 01
Mail: aberaud at infflux.com
Visitez notre site : www.infflux.com
More information about the Qt-interest-old
mailing list