void MyObj::FillComboBox(const std::vector<std::string> &items)
{
for(size_t i = 0 ; i < items.size() ; i++)
{
cmbItems
->addItem
(QString::fromUtf8(items
[i
].
c_str()));
}
fprintf(stdout, "items count %d\n", items.size());
fprintf(stdout, "cmb item count %d\n", cmbItems->count());
}
void MyObj::FillComboBox(const std::vector<std::string> &items)
{
for(size_t i = 0 ; i < items.size() ; i++)
{
cmbItems->addItem(QString::fromUtf8(items[i].c_str()));
}
fprintf(stdout, "items count %d\n", items.size());
fprintf(stdout, "cmb item count %d\n", cmbItems->count());
}
To copy to clipboard, switch view to plain text mode
------------------------------------------
item count 829
cmb item count 829
again the actual UI displays A-P and then stops.
Bookmarks