QElectroTech  0.70
Namespaces | Functions
qetxml.h File Reference
#include <QDomElement>
#include <QPen>

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 , with tag name and text . More...