Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
theme_format.h
Go to the documentation of this file.
1
9
10#ifndef THEME_FORMAT_H
11#define THEME_FORMAT_H
12
13#include <QLatin1String>
14#include <QString>
15
22namespace ThemeFormat {
23
24// Root keys that are not color sections.
25inline const QLatin1String Meta("meta");
26inline const QLatin1String Contrast("contrast");
27inline const QLatin1String Graphs("graphs");
28inline const QLatin1String Fonts("fonts");
29inline const QLatin1String Syntax("syntax");
30inline const QLatin1String Images("images");
31
33inline const QLatin1String NonSectionRootKeys[] = {
34 Meta, Contrast, Graphs, Fonts, Syntax, Images
35};
36
41inline QString graphPath(int index)
42{
43 return QStringLiteral("%1[%2]").arg(Graphs).arg(index);
44}
45
46// Values of the contrast key.
47inline const QLatin1String ContrastStandard("standard");
48inline const QLatin1String ContrastHigh("high");
49
50// Sides of a color pair.
51inline const QLatin1String Light("light");
52inline const QLatin1String Dark("dark");
53
54// Keys of the meta object.
55inline const QLatin1String MetaName("name");
56inline const QLatin1String MetaVersion("version");
57inline const QLatin1String MetaAuthor("author");
58inline const QLatin1String MetaDescription("description");
59
60// Keys of the fonts object and of each font in it.
61inline const QLatin1String FontRegular("regular");
62inline const QLatin1String FontMonospace("monospace");
63inline const QLatin1String FontFamily("family");
64inline const QLatin1String FontSize("size");
65
66} // namespace ThemeFormat
67
68#endif // THEME_FORMAT_H
Definition theme_format.h:22
const QLatin1String Syntax("syntax")
accepted, not read yet
const QLatin1String NonSectionRootKeys[]
Definition theme_format.h:33
QString graphPath(int index)
Definition theme_format.h:41
const QLatin1String Images("images")
accepted, not read yet