22 #include <Qsci/qscilexercss.h> 37 void QgsCodeEditorCSS::setSciLexerCSS()
39 QsciLexerCSS *lexer =
new QsciLexerCSS(
this );
40 lexer->setDefaultFont( QFont( QStringLiteral(
"Sans" ), 10 ) );
A text editor based on QScintilla2.
void setFoldingVisible(bool folding)
Set folding visible state.
QgsCodeEditorCSS(QWidget *parent=nullptr)
Constructor for QgsCodeEditorCSS.
void setMarginVisible(bool margin)
Set margin visible state.
void setTitle(const QString &title)
Set the widget title.