Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
h
k
l
o
p
r
s
t
u
x
z
Enumerator
b
c
d
f
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
3rdparty
QCodeEditor
include
internal
QJSONHighlighter.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// QCodeEditor
4
#include <QStyleSyntaxHighlighter>
// Required for inheritance
5
#include <QHighlightRule>
6
7
// Qt
8
#include <QVector>
9
14
class
QJSONHighlighter
:
public
QStyleSyntaxHighlighter
15
{
16
Q_OBJECT
17
public
:
18
23
explicit
QJSONHighlighter
(QTextDocument* document=
nullptr
);
24
25
protected
:
26
27
void
highlightBlock
(
const
QString& text)
override
;
28
29
private
:
30
QVector<QHighlightRule>
m_highlightRules
;
31
QRegularExpression
m_keyRegex
;
32
};
33
QJSONHighlighter::m_highlightRules
QVector< QHighlightRule > m_highlightRules
Definition:
QJSONHighlighter.hpp:30
QVector< QHighlightRule >
QJSONHighlighter::QJSONHighlighter
QJSONHighlighter(QTextDocument *document=nullptr)
Constructor.
Definition:
QJSONHighlighter.cpp:6
QStyleSyntaxHighlighter
Class, that descrubes highlighter with syntax style.
Definition:
QStyleSyntaxHighlighter.hpp:12
QJSONHighlighter::highlightBlock
void highlightBlock(const QString &text) override
QJSONHighlighter
Class, that describes JSON code highlighter.
Definition:
QJSONHighlighter.hpp:14
QJSONHighlighter::m_keyRegex
QRegularExpression m_keyRegex
Definition:
QJSONHighlighter.hpp:31
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:24