DynExp
Highly flexible laboratory automation for dynamically changing experiments.
HighlightingRule Class Reference

Container to describe a highlighting rule. Based on a regular expression, a relevant match # and the format. More...

Public Member Functions

 HighlightingRule (const QString &patternStr, int n, const QTextCharFormat &matchingFormat)
 

Public Attributes

QString originalRuleStr
 
QRegularExpression pattern
 
int nth
 
QTextCharFormat format
 

Detailed Description

Container to describe a highlighting rule. Based on a regular expression, a relevant match # and the format.

Definition at line 30 of file PythonSyntaxHighlighter.h.

Constructor & Destructor Documentation

◆ HighlightingRule()

HighlightingRule::HighlightingRule ( const QString &  patternStr,
int  n,
const QTextCharFormat &  matchingFormat 
)
inline

Definition at line 33 of file PythonSyntaxHighlighter.h.

Member Data Documentation

◆ format

QTextCharFormat HighlightingRule::format

Definition at line 43 of file PythonSyntaxHighlighter.h.

◆ nth

int HighlightingRule::nth

Definition at line 42 of file PythonSyntaxHighlighter.h.

◆ originalRuleStr

QString HighlightingRule::originalRuleStr

Definition at line 40 of file PythonSyntaxHighlighter.h.

◆ pattern

QRegularExpression HighlightingRule::pattern

Definition at line 41 of file PythonSyntaxHighlighter.h.


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