QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
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 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: