mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-01 10:50:03 +02:00
save/load QetGraphicsTableItem to/from .qet file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
Copyright 2006-2020 QElectroTech Team
|
||||
This file is part of QElectroTech.
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <QAbstractTableModel>
|
||||
#include <QPointer>
|
||||
#include <QDomElement>
|
||||
|
||||
class QETProject;
|
||||
|
||||
@@ -45,6 +46,10 @@ class NomenclatureModel : public QAbstractTableModel
|
||||
QETProject *project() const;
|
||||
void autoHeaders();
|
||||
|
||||
QDomElement toXml(QDomDocument &document) const;
|
||||
void fromXml(const QDomElement &element);
|
||||
static QString xmlTagName() {return QString("nomenclature_model");}
|
||||
|
||||
private:
|
||||
void dataBaseUpdated();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user