RaytracingGui::PovrayHighlighter Class Reference
Syntax highlighter for Povray. More...
#include <PovrayHighlighter.h>
Public Member Functions | |
PovrayHighlighter (QObject *parent) | |
Constructs a syntax highlighter. More... | |
virtual ~PovrayHighlighter () | |
Destroys this object. More... | |
![]() | |
QColor color (const QString &type) | |
int maximumUserState () const | |
void setColor (const QString &type, const QColor &col) | |
Sets the color col to the paragraph type type. More... | |
SyntaxHighlighter (QObject *parent) | |
Constructs a syntax highlighter. More... | |
virtual ~SyntaxHighlighter () | |
Destroys this object. More... | |
Protected Member Functions | |
void highlightBlock (const QString &text) | |
![]() | |
QColor colorByType (TColor type) | |
virtual void colorChanged (const QString &type, const QColor &col) | |
Additional Inherited Members | |
![]() | |
enum TColor { Text = 0, Comment = 1, BlockComment = 2, Number = 3, String = 4, Keyword = 5, Classname = 6, Defname = 7, Operator = 8, Output = 9, Error = 10 } | |
Detailed Description
Syntax highlighter for Povray.
Constructor & Destructor Documentation
◆ PovrayHighlighter()
PovrayHighlighter::PovrayHighlighter | ( | QObject * | parent | ) |
Constructs a syntax highlighter.
◆ ~PovrayHighlighter()
|
virtual |
Destroys this object.
Member Function Documentation
◆ highlightBlock()
|
protected |
The documentation for this class was generated from the following files:
- src/Mod/Raytracing/Gui/PovrayHighlighter.h
- src/Mod/Raytracing/Gui/PovrayHighlighter.cpp