18 #ifndef XMLPARAMETERWRITER_H
19 #define XMLPARAMETERWRITER_H
21 #include <QXmlStreamWriter>
22 #include <QTreeWidget>
23 #include <QTreeWidgetItem>
31 namespace ParameterGui
83 QString
mangle (
const QString &s);
void write_item(QTreeWidgetItem *item)
This function writes a given item of tree_widget to a file in XML format.
XMLParameterWriter(QTreeWidget *tree_widget)
Constructor.
QXmlStreamWriter xml
An QXmlStreamWriter object which implements the functionalities we need for writing parameters to XML...
Definition: xml_parameter_writer.h:89
The XMLParameterWriter class provides an interface to write parameters stored in a QTreeWidget to a f...
Definition: xml_parameter_writer.h:44
QString mangle(const QString &s)
Reimplemented from the ParameterHandler class.
bool write_xml_file(QIODevice *device)
This function writes the parameter values stored in tree_widget to device in XML format.
QTreeWidget * tree_widget
A pointer to the QTreeWidget structure which stores the parameters.
Definition: xml_parameter_writer.h:94