[Qt-interest] Qt Designer and QComboBox setItemData

NoRulez norulez at me.com
Thu Aug 18 22:10:31 CEST 2011


Hi,

when i use a QComboBox from the Designer then I could add as many items (as string) as I want.

But is it also possible to set some specific data? 

Because when I add a combobox programmatically I can use addItem() or setItemData() to add custom data for the Qt::UserRole).

Thanks in advance

Best Regards
NoRulez



More information about the Qt-interest-old mailing list