So my code would look like this:
vector<string> names;
size_t i;
combo_box::combo_box: (QWidget *parent) : QDialog(parent)
{
ui.setupUi(this);
for (i = 0; i 1= names.size(); ++i)
{
ui.name_combo->addItem(names[i]);
}
}
Will STL strings work or is there a conversion to QtString I will need to make?




Reply With Quote
Bookmarks