85 enum class OnInitReturnValue {
88 UseOnProcess = Success,
107 [[nodiscard]]
virtual OnInitReturnValue
OnInit() = 0;
130 [[nodiscard]]
virtual int OnProcess();
146 virtual void slotTimeOut();
177 void sigError(
const int nError,
const QString &szError = QString());
207 const QMessageBox::Icon& icon = QMessageBox::Information);
227 const QString& szMessage,
228 QMessageBox::StandardButtons buttons,
229 QMessageBox::StandardButton& nRet,
231 QString checkBoxContext = QString());
242 const QString& szLable,
243 const QString& szMessage,
void sigInformation(const QString &szInfo)
Triggering from a background thread displays information in the main thread without blocking the back...
void sigStop()
Notify the user to stop.
virtual OnInitReturnValue OnInit()=0
Initialization.
virtual int OnClean()=0
Clean.
void sigShowMessageBox(const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information)
Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread wit...
void sigError(const int nError, const QString &szError=QString())
Triggered when an error is generated.
void sigBlockShowMessageBox(const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString())
Block background threads and display message dialogs in foreground threads (QMessageBox)
void sigRunning()
Emitted when the plugin is successfully started.
void sigFinished()
Successful stopped signal.
void sigBlockShowWidget(const QString &className, int &nRet, void *pContext)
Blocks the background thread and displays the window in the foreground thread.
void sigBlockInputDialog(const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText)
Block background threads and display input dialogs in foreground threads (QInputDialog)