edbee - Qt Editor Library
v0.11.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
c
e
f
i
k
l
m
o
p
q
r
s
t
u
v
Functions
Variables
Typedefs
Enumerations
Enumerator
c
e
f
i
k
l
m
o
p
r
s
t
u
v
Classes
Class List
Class Index
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
~
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
~
Variables
a
b
c
d
e
f
g
i
k
l
n
o
p
q
s
t
Enumerations
Enumerator
a
b
d
e
f
h
i
l
m
n
p
r
s
t
u
w
Related Symbols
Files
File List
File Members
All
_
a
d
e
g
o
p
q
s
t
v
Macros
_
a
d
e
g
o
p
q
s
t
v
▼
edbee - Qt Editor Library
edbee documentation
►
Coding Style
►
Line data
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
►
CMakeFiles
doc
▼
edbee
►
commands
►
data
▼
io
baseplistparser.cpp
►
baseplistparser.h
jsonparser.cpp
►
jsonparser.h
keymapparser.cpp
►
keymapparser.h
textdocumentserializer.cpp
►
textdocumentserializer.h
tmlanguageparser.cpp
►
tmlanguageparser.h
tmthemeparser.cpp
►
tmthemeparser.h
►
lexers
►
models
►
util
►
views
►
debug.h
edbee.cpp
►
edbee.h
►
edbeeversion.h
►
exports.h
texteditorcommand.cpp
►
texteditorcommand.h
texteditorcontroller.cpp
►
texteditorcontroller.h
texteditorwidget.cpp
►
texteditorwidget.h
►
edbee-lib_autogen
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
tmthemeparser.h
Go to the documentation of this file.
1
// edbee - Copyright (c) 2012-2025 by Rick Blommers and contributors
2
// SPDX-License-Identifier: MIT
3
4
#pragma once
5
6
#include "
edbee/exports.h
"
7
8
#include <QHash>
9
#include <QString>
10
#include <QVariant>
11
12
#include "
baseplistparser.h
"
13
14
namespace
edbee
{
15
16
class
TextTheme
;
17
18
class
EDBEE_EXPORT
TmThemeParser
:
public
BasePListParser
19
{
20
public
:
21
TmThemeParser
();
22
23
QColor
parseThemeColor
(
const
QString& color)
const
;
24
25
TextTheme
*
readContent
(QIODevice* device);
26
27
protected
:
28
29
void
fillRuleSettings
(
TextTheme
* theme,
const
QHash<QString, QVariant> &settings );
30
void
parseRules
(
TextTheme
* theme,
const
QList<QVariant> &settings );
31
TextTheme
*
createTheme
( QVariant& data );
32
33
};
18
class
EDBEE_EXPORT
TmThemeParser
:
public
BasePListParser
{
…
};
34
35
}
// edbee
baseplistparser.h
edbee::BasePListParser::BasePListParser
BasePListParser()
The constructor for the parser.
Definition
baseplistparser.cpp:14
edbee::TextTheme
This class defines a single theme.
Definition
texttheme.h:68
edbee::TmThemeParser::readContent
TextTheme * readContent(QIODevice *device)
reads the content of a single file
Definition
tmthemeparser.cpp:36
edbee::TmThemeParser::parseRules
void parseRules(TextTheme *theme, const QList< QVariant > &settings)
parses all rules
Definition
tmthemeparser.cpp:84
edbee::TmThemeParser::parseThemeColor
QColor parseThemeColor(const QString &color) const
parses theme color
Definition
tmthemeparser.cpp:17
edbee::TmThemeParser::fillRuleSettings
void fillRuleSettings(TextTheme *theme, const QHash< QString, QVariant > &settings)
fetches the settings from the hashmap and puts them in the theme file
Definition
tmthemeparser.cpp:55
edbee::TmThemeParser::TmThemeParser
TmThemeParser()
Definition
tmthemeparser.cpp:11
edbee::TmThemeParser::createTheme
TextTheme * createTheme(QVariant &data)
Reads and parsers the theme.
Definition
tmthemeparser.cpp:112
exports.h
EDBEE_EXPORT
#define EDBEE_EXPORT
Definition
exports.h:15
edbee
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition
commentcommand.cpp:20
edbee
io
tmthemeparser.h
Generated on Wed Mar 5 2025 21:11:15 for edbee - Qt Editor Library by
1.13.2