QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | List of all members
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 More...
 

Detailed Description

Callback to do validation check on dialog validation.

Note
not available in Python bindings

Definition at line 68 of file qgssqlcomposerdialog.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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: