witam, mam u siebie w programie QComboBoxa i korzystam z tej metody:
void QComboBox::addItem ( const QString & text, const QVariant & userData = QVariant() )
Adds an item to the combobox with the given text, and containing the specified userData (stored in the Qt::UserRole). The item is appended to the list of existing items.
czyli QComboBox wyswietla mi jakis tekst a dane sa przechowywane w jakiejs liscie. Pytanie jest takie: jak mozna sie dostac do tej listy?? co to jest to Qt::UserRole?