QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsSQLComposerDialog::SQLValidatorCallback Class Referenceabstract

Callback to do validation check on dialog validation. More...

#include <qgssqlcomposerdialog.h>

Public Member Functions

virtual ~SQLValidatorCallback ()=default
virtual bool isValid (const QString &sql, QString &errorReason, QString &warningMsg)=0
 method should return true if the SQL is valid. Otherwise return false and set the errorReason

Detailed Description

Callback to do validation check on dialog validation.

Note
not available in Python bindings

Definition at line 71 of file qgssqlcomposerdialog.h.

Constructor & Destructor Documentation

◆ ~SQLValidatorCallback()

virtual QgsSQLComposerDialog::SQLValidatorCallback::~SQLValidatorCallback ( )
virtualdefault

Member Function Documentation

◆ isValid()

virtual bool QgsSQLComposerDialog::SQLValidatorCallback::isValid ( const QString & sql,
QString & errorReason,
QString & warningMsg )
pure virtual

method should return true if the SQL is valid. Otherwise return false and set the errorReason


The documentation for this class was generated from the following file: