QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
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 ()
 
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 63 of file qgssqlcomposerdialog.h.

Constructor & Destructor Documentation

◆ ~SQLValidatorCallback()

QgsSQLComposerDialog::SQLValidatorCallback::~SQLValidatorCallback ( )
virtual

Definition at line 33 of file qgssqlcomposerdialog.cpp.

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 files: