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

A CSS editor based on QScintilla2. More...

#include <qgscodeeditorcss.h>

Inheritance diagram for QgsCodeEditorCSS:
Inheritance graph

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

A CSS editor based on QScintilla2.

Adds syntax highlighting and code autocompletion.

added in 2.6

Constructor & Destructor Documentation

QgsCodeEditorCSS::QgsCodeEditorCSS ( QWidget *  parent = 0)
QgsCodeEditorCSS::~QgsCodeEditorCSS ( )

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