mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-20 08:49:58 +02:00
As elements, diagrams now have a "version" attribute for compatibility purposes.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1315 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -85,6 +85,7 @@ class Diagram : public QGraphicsScene {
|
||||
QDomDocument xml_document;
|
||||
QETProject *project_;
|
||||
bool read_only_;
|
||||
qreal diagram_qet_version_;
|
||||
|
||||
// methodes
|
||||
protected:
|
||||
@@ -98,6 +99,7 @@ class Diagram : public QGraphicsScene {
|
||||
// fonctions relatives au projet parent
|
||||
QETProject *project() const;
|
||||
void setProject(QETProject *);
|
||||
qreal declaredQElectroTechVersion(bool = true) const;
|
||||
|
||||
// fonctions relatives a la lecture seule
|
||||
bool isReadOnly() const;
|
||||
|
||||
Reference in New Issue
Block a user