KD Reports API Documentation  2.1
Static Public Member Functions | List of all members
KDReports::XmlHelper Class Reference

#include <KDReportsXmlHelper.h>

Static Public Member Functions

static KDReports::HeaderLocations parseHeaderLocation (const QString &xmlAttr)
 
static QColor readBackground (const QDomElement &element)
 
static QColor readColor (const QDomElement &element, const char *attributeName)
 
static Qt::AlignmentFlag stringToAlignment (const QString &str)
 
static KDReports::VariableType stringToVariableType (const QString &type)
 

Detailed Description

Definition at line 27 of file KDReportsXmlHelper.h.

Member Function Documentation

◆ parseHeaderLocation()

KDReports::HeaderLocations KDReports::XmlHelper::parseHeaderLocation ( const QString xmlAttr)
static

◆ readBackground()

QColor KDReports::XmlHelper::readBackground ( const QDomElement element)
static

◆ readColor()

QColor KDReports::XmlHelper::readColor ( const QDomElement element,
const char *  attributeName 
)
static

Definition at line 55 of file KDReportsXmlHelper.cpp.

References QDomElement::attribute(), and QString::isEmpty().

◆ stringToAlignment()

Qt::AlignmentFlag KDReports::XmlHelper::stringToAlignment ( const QString str)
static

Definition at line 20 of file KDReportsXmlHelper.cpp.

References Qt::AlignHCenter, Qt::AlignLeft, and Qt::AlignRight.

◆ stringToVariableType()

KDReports::VariableType KDReports::XmlHelper::stringToVariableType ( const QString type)
static

The documentation for this class was generated from the following files:

© 2007-2021 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 on Fri Jul 15 2022 13:09:07 for KD Reports API Documentation by doxygen 1.8.20