Dear friends,
I need Help on how to set default text to be displayed on combo box before selecting an item from it, i used the following code,
but the "Select Text" is not displayed on the combo box by defualt, instead it is displayed as one of the item in the combo box drop down list.....Qt Code:
QComboBox cmb; cmb.addinsertItem(-1,"Select text"); cmb.additem("abcdef"); cmb->setCurrentIndex(-1);To copy to clipboard, switch view to plain text mode
can any one help me to solve this,
Thanks in advance,
Bookmarks