I think u can best use the clicked() signal from the OK button and connect that signal to a slot you have created.... when arriving in that slot, ask the text that is present at your combobox and check it against your "number 1".

Thats my opinion how i should do it..