How to insert item which type is QString to a ComboBox in Qt?
I have an item which type is QString:
for example: QString name="Name"
the question is: How can I put this name variable into a combobox?
I've read the Qt 4.6.2 docs but still cant figure out how to do that. Please do开发者_StackOverflow社区nt refer me back to that Qt 4.6.2 docs again..
I don't see the problem with the docs. Just do
myComboBox->addItem(myString);
精彩评论