Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::CodeEdit Class Reference
Inheritance diagram for inviwo::CodeEdit:

Classes

class  LineNumberArea

Public Member Functions

 CodeEdit (QWidget *parent=nullptr)
virtual bool event (QEvent *event) override
void setAnnotationSpace (std::function< int(int)>)
void setLineAnnotation (std::function< std::string(int)>)
void setLineAnnotationColor (std::function< vec4(int, vec4)>)
SyntaxHighlightersyntaxHighlighter ()

Protected Member Functions

void highlightCurrentLine ()
void lineNumberAreaPaintEvent (QPaintEvent *event)
int lineNumberAreaWidth () const
void resizeEvent (QResizeEvent *event) override
void updateLineNumberArea (const QRect &, int)
void updateLineNumberAreaWidth (int newBlockCount)

Protected Attributes

std::function< vec4(int, vec4)> annotateColor_
std::function< std::string(int)> annotateLine_
std::function< int(int)> annotationSpace_
vec4 highlightColor_
QWidget * lineNumberArea_
SyntaxHighlightersh_
vec4 textColor_

The documentation for this class was generated from the following file:
  • modules/qtwidgets/include/modules/qtwidgets/codeedit.h