If you extend your addItem calls to contain the actual value

Qt Code:
  1. newComboBox->addItem(QIcon(pix), QString(), QVariant(aaa));
To copy to clipboard, switch view to plain text mode 
then you can get the value again in the slot
Qt Code:
  1. void YourClass::slotCurrentIndexChanged(int index)
  2. {
  3. int value = comboBox->itemData(index).toInt();
  4. }
To copy to clipboard, switch view to plain text mode 

Cheers,
_