KD Reports  1.9
KDReportsXmlHelper.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Reports library.
4 **
5 ** SPDX-FileCopyrightText: 2011-2020 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDReports OR LicenseRef-KDAB-KDReports-US
8 **
9 ** Licensees holding valid commercial KD Reports licenses may use this file in
10 ** accordance with the KD Reports Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 
17 #ifndef XMLHELPER_H
18 #define XMLHELPER_H
19 
20 #include "KDReportsGlobal.h"
21 #include "KDReportsVariableType.h"
22 #include "KDReportsReport.h"
23 #include <QDomElement>
24 
25 namespace KDReports {
26 
27 class KDREPORTS_EXPORT XmlHelper //krazy:exclude=dpointer
28 {
29 public:
30  static Qt::AlignmentFlag stringToAlignment(const QString &str);
31  static KDReports::VariableType stringToVariableType(const QString &type);
32  static QColor readColor(const QDomElement &element, const char *attributeName);
33  static QColor readBackground(const QDomElement &element);
34  static KDReports::HeaderLocations parseHeaderLocation(const QString &xmlAttr);
35 };
36 }
37 #endif // XMLHELPER_H
VariableType
Definition: KDReportsVariableType.h:29
Definition: KDReportsXmlHelper.h:27
Definition: KDReportsAbstractTableElement.h:30

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/