I'm working with code where next group of calls is frequently used:
QDialog my_qDialog(my_parent);
my_qDialog->setModal(false);
my_qDialog->hide();
my_qDialog->show();
my_qDialog->exec();
I haven't found nothing about using of both show() + exec() in a raw. As a result parent isn't blocked and the code next to "exec()" performs only after dialog closing.
The question is: Is it normal to use such code? Maybe it has disadvantages? Can I freely interact with parent while exec() is running?
Thanks in advance for any help you can provide