I want to convert exec
usages to show
method in my projects. Because, when I use the exec
for windows (dialogs) I can not open another window. This is the basic difference between exec()
and show()
method.
The exec
and show
work in different ways and I am wondering how can I change the below code with using show()
instead of exec()
.
For example:
int result = exampleWindow->exec();
if ( result == QDialogButtonBox::Ok )
{
exampleWindow->UpdateCalibrationData(&data);
exampleWindow->UpdateFilterData(&filterData);
exampleWindow();
}