moveit2
The MoveIt Motion Planning Framework for ROS 2.
Classes | Public Member Functions | Protected Member Functions | List of all members
moveit_setup::XmlSyntaxHighlighter Class Reference

#include <xml_syntax_highlighter.hpp>

Inheritance diagram for moveit_setup::XmlSyntaxHighlighter:
Inheritance graph
[legend]
Collaboration diagram for moveit_setup::XmlSyntaxHighlighter:
Collaboration graph
[legend]

Public Member Functions

 XmlSyntaxHighlighter (QTextDocument *parent=nullptr)
 
void addTag (const QString &tag, const QTextCharFormat &format, const QString &parent=QString())
 

Protected Member Functions

void highlightBlock (const QString &text) override
 

Detailed Description

XML SyntaxHighlighter allowing nested highlighting of XML tags

Definition at line 46 of file xml_syntax_highlighter.hpp.

Constructor & Destructor Documentation

◆ XmlSyntaxHighlighter()

moveit_setup::XmlSyntaxHighlighter::XmlSyntaxHighlighter ( QTextDocument *  parent = nullptr)

Definition at line 42 of file xml_syntax_highlighter.cpp.

Member Function Documentation

◆ addTag()

void moveit_setup::XmlSyntaxHighlighter::addTag ( const QString &  tag,
const QTextCharFormat &  format,
const QString &  parent = QString() 
)

Definition at line 46 of file xml_syntax_highlighter.cpp.

◆ highlightBlock()

void moveit_setup::XmlSyntaxHighlighter::highlightBlock ( const QString &  text)
overrideprotected

Definition at line 120 of file xml_syntax_highlighter.cpp.


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