Qt use of QCombobox

I am using the Qt libraries.  I have an option on one of my menus "DiscStim" that open up a DiscStim window that has a "Destination" QCombobox in it.  I have some irrelevant selections: call them dest1, dest2, and dest3 that are available when you click on the Destinations QCombobox.  Initially there is no text in the QCombobox.  Unfortunately if you choose something - says dest1, if you then close the DiscStim window, and then choose DiscStim from the menu again, the previous selection is still there.  My questions are:

1) how do I make Destinations QCombobox blank every time I open the DiscStim window?  Blank is not one of the QCombobox options.  It's only there until you open the QCombobox and select something else.

2) When it is blank, it is blue.  How do I do that?

Thanks,
Dan
dwcroninAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rajeev_devinCommented:
1. Do this

QComboBox* c;
...

c->setCurrentIndex(-1);
...

2. Not possible

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.