QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsCodeEditorSQL Class Reference

A SQL editor based on QScintilla2. More...

#include <qgscodeeditorsql.h>

Inheritance diagram for QgsCodeEditorSQL:
Inheritance graph
[legend]

Public Member Functions

 QgsCodeEditorSQL (QWidget *parent=0)
 ~QgsCodeEditorSQL ()
- Public Member Functions inherited from QgsCodeEditor
 QgsCodeEditor (QWidget *parent=0, QString title="", bool folding=false, bool margin=false)
 Construct a new code editor.
 ~QgsCodeEditor ()
bool foldingVisible ()
void insertText (const QString theText)
 Insert text at cursor position, or replace any selected text if user has made a selection.
bool marginVisible ()
void setFoldingVisible (bool folding)
 Set folding visible state.
void setMarginVisible (bool margin)
 Set margin visible state.
void setTitle (const QString title)
 Set the widget title.

Additional Inherited Members

- Protected Member Functions inherited from QgsCodeEditor
QFont getMonospaceFont ()
bool isFixedPitch (const QFont &font)

Detailed Description

A SQL editor based on QScintilla2.

Adds syntax highlighting and code autocompletion.

Note
added in 2.6

Definition at line 27 of file qgscodeeditorsql.h.

Constructor & Destructor Documentation

QgsCodeEditorSQL::QgsCodeEditorSQL ( QWidget *  parent = 0)

Definition at line 25 of file qgscodeeditorsql.cpp.

QgsCodeEditorSQL::~QgsCodeEditorSQL ( )

Definition at line 38 of file qgscodeeditorsql.cpp.


The documentation for this class was generated from the following files: