QElectroTech  0.8-dev
Namespaces | Functions
qetxml.h File Reference
#include <QDomElement>
#include <QPen>
Include dependency graph for qetxml.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 QETXML
 

Functions

QDomElement QETXML::penToXml (QDomDocument &parent_document, const QPen &pen)
 QETXML::penToXml Write attribute of a QPen in xml element. More...
 
QPen QETXML::penFromXml (const QDomElement &element)
 QETXML::penFromXml Build a QPen from a xml description. More...
 
QDomElement QETXML::brushToXml (QDomDocument &parent_document, const QBrush &brush)
 QETXML::brushToXml Write attribute of a QBrush in xml element. More...
 
QBrush QETXML::brushFromXml (const QDomElement &element)
 QETXML::brushFromXml Build a QBrush from a xml description. More...
 
QDomElement QETXML::fileSystemDirToXmlCollectionDir (QDomDocument &document, const QDir &dir, const QString &rename=QString())
 
QDomElement QETXML::fileSystemElementToXmlCollectionElement (QDomDocument &document, QFile &file, const QString &rename=QString())
 
bool QETXML::writeXmlFile (const QDomDocument &xml_document, const QString &file_path, QString *error_message=nullptr)
 QETXML::writeXmlFile Export an XML document to an UTF-8 text file indented with 4 spaces, with LF end of lines and no BOM. More...
 
QDomElement QETXML::textToDomElement (QDomDocument &document, const QString &tag_name, const QString &value)
 QETXML::textToDomElement Return a QDomElement, created from document, with tag name tag_name and text value. More...
 
QVector< QDomElement > QETXML::directChild (const QDomElement &element, const QString &tag_name)
 QETXML::directChild. More...
 
QVector< QDomElement > QETXML::subChild (const QDomElement &element, const QString parent_tag_name, const QString &children_tag_name)
 QETXML::subChild. More...
 
QDomElement QETXML::marginsToXml (QDomDocument &parent_document, const QMargins &margins)
 QETXML::marginsToXml Save a QMargins to xml. the xml tag name is 'margins'. More...
 
QMargins QETXML::marginsFromXml (const QDomElement &element)
 QETXML::marginsFromXml. More...
 
QDomElement QETXML::modelHeaderDataToXml (QDomDocument &parent_document, const QAbstractItemModel *model, QHash< int, QList< int >> horizontal_section_role, QHash< int, QList< int >> vertical_section_role)
 QETXML::modelHeaderDataToXml Save to xml element all header data specified by horizontal_section_role and vertical_section_role. More...
 
void QETXML::modelHeaderDataFromXml (const QDomElement &element, QAbstractItemModel *model)
 QETXML::modelHeaderDataFromXml Restore from xml modele header data. More...