Public Member Functions | Protected Member Functions | Private Attributes | List of all members
QPythonHighlighter Class Reference

Class, that describes Glsl code highlighter. More...

#include <QPythonHighlighter.hpp>

Inheritance diagram for QPythonHighlighter:
Inheritance graph
[legend]

Public Member Functions

 QPythonHighlighter (QTextDocument *document=nullptr)
 Constructor. More...
 
- Public Member Functions inherited from QStyleSyntaxHighlighter
QStyleSyntaxHighlighteroperator= (const QStyleSyntaxHighlighter &)=delete
 
 QStyleSyntaxHighlighter (const QStyleSyntaxHighlighter &)=delete
 
 QStyleSyntaxHighlighter (QTextDocument *document=nullptr)
 Constructor. More...
 
void setSyntaxStyle (QSyntaxStyle *style)
 Method for setting syntax style. More...
 
QSyntaxStylesyntaxStyle () const
 Method for getting syntax style. More...
 

Protected Member Functions

void highlightBlock (const QString &text) override
 

Private Attributes

QRegularExpression m_defTypePattern
 
QRegularExpression m_functionPattern
 
QVector< QHighlightBlockRulem_highlightBlockRules
 
QVector< QHighlightRulem_highlightRules
 
QRegularExpression m_includePattern
 

Detailed Description

Class, that describes Glsl code highlighter.

Definition at line 18 of file QPythonHighlighter.hpp.

Constructor & Destructor Documentation

◆ QPythonHighlighter()

QPythonHighlighter::QPythonHighlighter ( QTextDocument *  document = nullptr)
explicit

Constructor.

Parameters
documentPointer to document.

Definition at line 10 of file QPythonHighlighter.cpp.

Member Function Documentation

◆ highlightBlock()

void QPythonHighlighter::highlightBlock ( const QString &  text)
overrideprotected

Definition at line 84 of file QPythonHighlighter.cpp.

Member Data Documentation

◆ m_defTypePattern

QRegularExpression QPythonHighlighter::m_defTypePattern
private

Definition at line 39 of file QPythonHighlighter.hpp.

◆ m_functionPattern

QRegularExpression QPythonHighlighter::m_functionPattern
private

Definition at line 38 of file QPythonHighlighter.hpp.

◆ m_highlightBlockRules

QVector<QHighlightBlockRule> QPythonHighlighter::m_highlightBlockRules
private

Definition at line 35 of file QPythonHighlighter.hpp.

◆ m_highlightRules

QVector<QHighlightRule> QPythonHighlighter::m_highlightRules
private

Definition at line 34 of file QPythonHighlighter.hpp.

◆ m_includePattern

QRegularExpression QPythonHighlighter::m_includePattern
private

Definition at line 37 of file QPythonHighlighter.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50