QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgscodeeditorcss.h>
Public Member Functions | |
QgsCodeEditorCSS (QWidget *parent=nullptr) | |
Constructor for QgsCodeEditorCSS. More... | |
![]() | |
QgsCodeEditor (QWidget *parent=nullptr, const QString &title=QString(), bool folding=false, bool margin=false) | |
Construct a new code editor. More... | |
bool | foldingVisible () |
void | insertText (const QString &text) |
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 | |
![]() | |
void | focusOutEvent (QFocusEvent *event) override |
QFont | getMonospaceFont () |
bool | isFixedPitch (const QFont &font) |
void | keyPressEvent (QKeyEvent *event) override |
A CSS editor based on QScintilla2. Adds syntax highlighting and code autocompletion.
Definition at line 32 of file qgscodeeditorcss.h.
QgsCodeEditorCSS::QgsCodeEditorCSS | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsCodeEditorCSS.
Definition at line 25 of file qgscodeeditorcss.cpp.