Dear All
We have problem for the combo box
We loead the combo like
_model->setQuery("select countryname, id from country");
cmbBox->clear();
cmbBox->setModel(_model);
QComboBox *cmbBox = Concept::ui.cmbItems;
QSqlQueryModel *_model = new QSqlQueryModel;
_model->setQuery("select countryname, id from country");
cmbBox->clear();
cmbBox->setModel(_model);
To copy to clipboard, switch view to plain text mode
The combo is not editable.
The problem is when the users is writing on the combo, if he is not fast enough the word order change
like
e 1 sec n 1 sec g - it will go to words eng....
but if you print like
e 1 sec n 4 sec g - it will go to words g........
And the combo cant be editable?
Can any body help?
Bookmarks