18 #ifndef QGSPROCESSINGFEEDBACK_H
19 #define QGSPROCESSINGFEEDBACK_H
21 #include "qgis_core.h"
57 virtual void setProgressText(
const QString &text );
64 virtual void reportError(
const QString &error,
bool fatalError =
false );
76 virtual void pushWarning(
const QString &warning );
87 virtual void pushInfo(
const QString &info );
98 virtual void pushCommandInfo(
const QString &info );
108 virtual void pushDebugInfo(
const QString &info );
118 virtual void pushConsoleInfo(
const QString &info );
132 virtual QString htmlLog()
const;
140 virtual QString textLog()
const;
143 bool mLogFeedback =
true;
179 void setCurrentStep(
int step );
181 void setProgressText(
const QString &text )
override;
182 void reportError(
const QString &error,
bool fatalError =
false )
override;
183 void pushWarning(
const QString &warning )
override;
184 void pushInfo(
const QString &info )
override;
185 void pushCommandInfo(
const QString &info )
override;
186 void pushDebugInfo(
const QString &info )
override;
187 void pushConsoleInfo(
const QString &info )
override;
188 QString htmlLog()
const override;
189 QString textLog()
const override;
192 void updateOverallProgress(
double progress );
197 int mCurrentStep = 0;
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Base class for providing feedback from a processing algorithm.
Processing feedback object for multi-step operations.
Abstract base class for processing providers.