Skip to content

Commit 0a3f9f6

Browse files
authoredJan 10, 2018
Merge pull request #5807 from nyalldawson/alg_background
[processing] Add flag to indicate whether an algorithm is safe
2 parents 6894c8e + 240c52a commit 0a3f9f6

File tree

100 files changed

+515
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+515
-20
lines changed
 

‎python/core/processing/qgsprocessingalgorithm.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Abstract base class for processing algorithms.
4444
FlagSupportsBatch,
4545
FlagCanCancel,
4646
FlagRequiresMatchingCrs,
47+
FlagCanRunInBackground,
4748
FlagDeprecated,
4849
};
4950
typedef QFlags<QgsProcessingAlgorithm::Flag> Flags;

‎python/gui/processing/qgsprocessingalgorithmdialogbase.sip

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ Sets a progress text message.
133133
void pushConsoleInfo( const QString &info );
134134
%Docstring
135135
Pushes a console info string to the dialog's log.
136+
%End
137+
138+
QDialog *createProgressDialog();
139+
%Docstring
140+
Creates a modal progress dialog showing progress and log messages
141+
from this dialog.
136142
%End
137143

138144
protected:
@@ -210,6 +216,7 @@ Called when the algorithm has finished executing.
210216
};
211217

212218

219+
213220
/************************************************************************
214221
* This file has been generated automatically from *
215222
* *

0 commit comments

Comments
 (0)
Please sign in to comment.