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

Class, that describes C++ code highlighter. More...

#include <QCSVHighlighter.hpp>

Inheritance diagram for QCSVHighlighter:
Inheritance graph
[legend]

Public Member Functions

 QCSVHighlighter (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...
 

Public Attributes

QChar delimiter = QChar(',')
 

Protected Member Functions

void highlightBlock (const QString &text) override
 

Private Attributes

QRegularExpression m_delimiter
 

Detailed Description

Class, that describes C++ code highlighter.

Definition at line 20 of file QCSVHighlighter.hpp.

Constructor & Destructor Documentation

◆ QCSVHighlighter()

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

Constructor.

Parameters
documentPointer to document.

Definition at line 35 of file QCSVHighlighter.cpp.

Member Function Documentation

◆ highlightBlock()

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

Definition at line 43 of file QCSVHighlighter.cpp.

Member Data Documentation

◆ delimiter

QChar QCSVHighlighter::delimiter = QChar(',')

Definition at line 31 of file QCSVHighlighter.hpp.

◆ m_delimiter

QRegularExpression QCSVHighlighter::m_delimiter
private

Definition at line 37 of file QCSVHighlighter.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