Support running jobs without blocking GUI (#13040)

* Add view job log command.
* Add stop job command.
* Do not block ui while job is running.
* Show progress while job is running
* Make sure user gets notified of running jobs when exiting ResInsight or closing current project.
This commit is contained in:
JJ authored and GitHub committed 2025-10-18 02:42:11 +02:00
1 parent c38819bac7
commit 1eaf50b6b9
29 files changed
+809 -122

No files matched your search

@@ -31,10 +31,12 @@ void RicCloseProjectFeature::onActionTriggered( bool isChecked )
{
disableModelChangeContribution();
RiaGuiApplication* app = RiaGuiApplication::instance();
if ( !app || !app->askUserToSaveModifiedProject() ) return;
if ( RiaGuiApplication* app = RiaGuiApplication::instance() )
{
if ( !app->checkWithUserBeforeClose() ) return;
app->closeProject();
app->closeProject();
}
}
//--------------------------------------------------------------------------------------------------