KD Reports API Documentation
2.2
src
KDReports
KDReportsXmlHelper.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** This file is part of the KD Reports library.
4
**
5
** SPDX-FileCopyrightText: 2011 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6
**
7
** SPDX-License-Identifier: MIT
8
**
9
****************************************************************************/
10
11
#ifndef XMLHELPER_H
12
#define XMLHELPER_H
13
14
#include "
KDReportsGlobal.h
"
15
#include "
KDReportsReport.h
"
16
#include "
KDReportsVariableType.h
"
17
18
QT_BEGIN_NAMESPACE
19
class
QDomElement;
20
QT_END_NAMESPACE
21
22
namespace
KDReports
{
23
24
class
KDREPORTS_EXPORT
XmlHelper
// krazy:exclude=dpointer
25
{
26
public
:
27
static
Qt::AlignmentFlag stringToAlignment(
const
QString &str);
28
static
KDReports::VariableType
stringToVariableType(
const
QString &type);
29
static
QColor readColor(
const
QDomElement &element,
const
char
*attributeName);
30
static
QColor readBackground(
const
QDomElement &element);
31
static
KDReports::HeaderLocations parseHeaderLocation(
const
QString &xmlAttr);
32
};
33
}
34
#endif
// XMLHELPER_H
KDReportsGlobal.h
KDREPORTS_EXPORT
#define KDREPORTS_EXPORT
Definition:
KDReportsGlobal.h:23
KDReportsReport.h
KDReportsVariableType.h
KDReports::XmlHelper
Definition:
KDReportsXmlHelper.h:25
KDReports
Definition:
KDReportsAbstractReportLayout_p.h:24
KDReports::VariableType
VariableType
Definition:
KDReportsVariableType.h:24
© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-reports/
Generated by doxygen 1.9.1