QgsSQLComposerDialog::SQLValidatorCallback class

Callback to do validation check on dialog validation.

Contents

Public functions

auto isValid(const QString& sql, QString& errorReason, QString& warningMsg) -> bool pure virtual
method should return true if the SQL is valid. Otherwise return false and set the errorReason