mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Terminal strip item can saved / loaded to .qet file
This commit is contained in:
@@ -25,6 +25,7 @@ class QDomDocument;
|
||||
class QDir;
|
||||
class QFile;
|
||||
class QAbstractItemModel;
|
||||
class QGraphicsItem;
|
||||
|
||||
/**
|
||||
*This namespace contain some function to use xml with QET.
|
||||
@@ -89,6 +90,10 @@ namespace QETXML
|
||||
|
||||
QVector<QDomElement> findInDomElement(const QDomElement &dom_elmt,
|
||||
const QString &tag_name);
|
||||
|
||||
QDomElement qGraphicsItemPosToXml(QGraphicsItem *item, QDomDocument &document);
|
||||
bool qGraphicsItemPosFromXml(QGraphicsItem *item, const QDomElement &xml_elmt);
|
||||
|
||||
QString boolToString(bool value);
|
||||
bool boolFromString(const QString &value,
|
||||
bool default_value = true,
|
||||
|
||||
Reference in New Issue
Block a user