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

Class, that descrubes highlighter with syntax style. More...

#include <QStyleSyntaxHighlighter.hpp>

Inheritance diagram for QStyleSyntaxHighlighter:
Inheritance graph
[legend]

Public Member Functions

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

Private Attributes

QSyntaxStylem_syntaxStyle
 

Detailed Description

Class, that descrubes highlighter with syntax style.

Definition at line 12 of file QStyleSyntaxHighlighter.hpp.

Constructor & Destructor Documentation

◆ QStyleSyntaxHighlighter() [1/2]

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

Constructor.

Parameters
documentPointer to text document.

Definition at line 4 of file QStyleSyntaxHighlighter.cpp.

◆ QStyleSyntaxHighlighter() [2/2]

QStyleSyntaxHighlighter::QStyleSyntaxHighlighter ( const QStyleSyntaxHighlighter )
delete

Member Function Documentation

◆ operator=()

QStyleSyntaxHighlighter& QStyleSyntaxHighlighter::operator= ( const QStyleSyntaxHighlighter )
delete

◆ setSyntaxStyle()

void QStyleSyntaxHighlighter::setSyntaxStyle ( QSyntaxStyle style)

Method for setting syntax style.

Parameters
stylePointer to syntax style.

Definition at line 11 of file QStyleSyntaxHighlighter.cpp.

◆ syntaxStyle()

QSyntaxStyle * QStyleSyntaxHighlighter::syntaxStyle ( ) const

Method for getting syntax style.

Returns
Pointer to syntax style. May be nullptr.

Definition at line 16 of file QStyleSyntaxHighlighter.cpp.

Member Data Documentation

◆ m_syntaxStyle

QSyntaxStyle* QStyleSyntaxHighlighter::m_syntaxStyle
private

Definition at line 39 of file QStyleSyntaxHighlighter.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