16 #ifndef QGSCODEEDITORSQL_H
17 #define QGSCODEEDITORSQL_H
23 #include <Qsci/qscilexersql.h>
47 void setFields(
const QgsFields &fields );
50 void initializeLexer()
override;
54 QsciAPIs *mApis =
nullptr;
55 QsciLexerSQL *mSqlLexer =
nullptr;
57 QStringList mFieldNames;
72 class QgsCaseInsensitiveLexerSQL:
public QsciLexerSQL
78 explicit QgsCaseInsensitiveLexerSQL( QObject *parent =
nullptr ) : QsciLexerSQL( parent ) {}
80 bool caseSensitive()
const override {
return false; }
A SQL editor based on QScintilla2.
A text editor based on QScintilla2.
Container of fields for a vector layer.
#define SIP_IF_MODULE(condition)