jiveaxe
23rd August 2007, 10:04
The manual says:
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. The item is appended to the list of existing items.
but how can i get the userData of a given item?
Bye
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. The item is appended to the list of existing items.
but how can i get the userData of a given item?
Bye