QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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
 

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: