From 5944968107c7c028db10a25cbca789d804c60742 Mon Sep 17 00:00:00 2001 From: blacksun Date: Sun, 9 Jun 2013 12:03:41 +0000 Subject: [PATCH] conductorproperties: default conductor rotation text are save/load to xml git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2225 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/conductorproperties.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sources/conductorproperties.cpp b/sources/conductorproperties.cpp index 4673357da..375d46c8a 100644 --- a/sources/conductorproperties.cpp +++ b/sources/conductorproperties.cpp @@ -248,6 +248,8 @@ void ConductorProperties::toXml(QDomElement &e) const { singleLineProperties.toXml(e); } else if (type == Multi) { e.setAttribute("num", text); + e.setAttribute("vertirotatetext", verti_rotate_text); + e.setAttribute("horizrotatetext", horiz_rotate_text); } QString conductor_style = writeStyle(); @@ -282,6 +284,8 @@ void ConductorProperties::fromXml(QDomElement &e) { } else { // recupere le champ de texte text = e.attribute("num"); + verti_rotate_text = e.attribute("vertirotatetext").toDouble(); + horiz_rotate_text = e.attribute("horizrotatetext").toDouble(); type = Multi; } }