CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
snw::SyntaxHighlighter Class Reference

Provides syntax highlighting for sonowand log files. More...

#include <snwSyntaxHighlighter.h>

Inheritance diagram for snw::SyntaxHighlighter:

Public Member Functions

 SyntaxHighlighter (QTextDocument *parent)
virtual void highlightBlock (const QString &text)
virtual ~SyntaxHighlighter ()

Detailed Description

Provides syntax highlighting for sonowand log files.

Adapted for CustusX use: Simple xml highlighter.

Definition at line 28 of file snwSyntaxHighlighter.h.

Constructor & Destructor Documentation

snw::SyntaxHighlighter::SyntaxHighlighter ( QTextDocument *  parent)

Definition at line 18 of file snwSyntaxHighlighter.cpp.

virtual snw::SyntaxHighlighter::~SyntaxHighlighter ( )

Definition at line 33 of file snwSyntaxHighlighter.h.

Member Function Documentation

void snw::SyntaxHighlighter::highlightBlock ( const QString &  text)

Definition at line 23 of file snwSyntaxHighlighter.cpp.

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