I'm very novice in Qt, but I made two widgets, one calls the others showEvent() and the second window pops up which has some checkboxes and a Cancel and Apply button.

Now I want to solve that user be forced to click either Apply or Cancel button, till that action he couldn't click on other window, so to remain alway active this new window.

Sorry if I haven't used correct terms.