QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
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 );
74 virtual void pushInfo(
const QString &info );
84 virtual void pushCommandInfo(
const QString &info );
93 virtual void pushDebugInfo(
const QString &info );
102 virtual void pushConsoleInfo(
const QString &info );
116 virtual QString htmlLog()
const;
124 virtual QString textLog()
const;
127 bool mLogFeedback =
true;
163 void setCurrentStep(
int step );
166 void reportError(
const QString &error,
bool fatalError =
false )
override;
167 void pushInfo(
const QString &info )
override;
171 QString
htmlLog()
const override;
172 QString
textLog()
const override;
175 void updateOverallProgress(
double progress );
180 int mCurrentStep = 0;
184 #endif // QGSPROCESSINGFEEDBACK_H
virtual void setProgressText(const QString &text)
Sets a progress report text string.
virtual void pushCommandInfo(const QString &info)
Pushes an informational message containing a command from the algorithm.
virtual void pushInfo(const QString &info)
Pushes a general informational message from the algorithm.
virtual void reportError(const QString &error, bool fatalError=false)
Reports that the algorithm encountered an error while executing.
virtual QString textLog() const
Returns the plain text contents of the log, which contains all messages pushed to the feedback object...
virtual void pushConsoleInfo(const QString &info)
Pushes a console feedback message from the algorithm.
virtual void pushDebugInfo(const QString &info)
Pushes an informational message containing debugging helpers from the algorithm.
virtual QString htmlLog() const
Returns the HTML formatted contents of the log, which contains all messages pushed to the feedback ob...