If you already have QComboBox populated and want to set index based on string matching use:
1. QComboBox::findText() to find index of string.
2. QComboBox::setCurrentIndex to set appropriated index.
If you already have QComboBox populated and want to set index based on string matching use:
1. QComboBox::findText() to find index of string.
2. QComboBox::setCurrentIndex to set appropriated index.
Thank you pkj.. i got it solved...![]()
Bookmarks