QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
A SQL editor based on QScintilla2. More...
#include <qgscodeeditorsql.h>
Public Member Functions | |
QgsCodeEditorSQL (QWidget *parent=nullptr) | |
~QgsCodeEditorSQL () | |
Public Member Functions inherited from QgsCodeEditor | |
QgsCodeEditor (QWidget *parent=nullptr, const QString &title="", bool folding=false, bool margin=false) | |
Construct a new code editor. More... | |
~QgsCodeEditor () | |
bool | foldingVisible () |
void | insertText (const QString &theText) |
Insert text at cursor position, or replace any selected text if user has made a selection. More... | |
bool | marginVisible () |
void | setFoldingVisible (bool folding) |
Set folding visible state. More... | |
void | setMarginVisible (bool margin) |
Set margin visible state. More... | |
void | setTitle (const QString &title) |
Set the widget title. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QgsCodeEditor | |
void | focusOutEvent (QFocusEvent *event) override |
QFont | getMonospaceFont () |
bool | isFixedPitch (const QFont &font) |
void | keyPressEvent (QKeyEvent *event) override |
A SQL editor based on QScintilla2.
Adds syntax highlighting and code autocompletion.
Definition at line 28 of file qgscodeeditorsql.h.
QgsCodeEditorSQL::QgsCodeEditorSQL | ( | QWidget * | parent = nullptr | ) |
Definition at line 26 of file qgscodeeditorsql.cpp.
QgsCodeEditorSQL::~QgsCodeEditorSQL | ( | ) |
Definition at line 39 of file qgscodeeditorsql.cpp.