[qet] [2225] conductorproperties: default conductor rotation text are save/ load to xml

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2225
Author:   blacksun
Date:     2013-06-09 14:03:41 +0200 (Sun, 09 Jun 2013)
Log Message:
-----------
conductorproperties: default conductor rotation text are save/load to xml

Modified Paths:
--------------
    trunk/sources/conductorproperties.cpp

Modified: trunk/sources/conductorproperties.cpp
===================================================================
--- trunk/sources/conductorproperties.cpp	2013-06-09 11:20:27 UTC (rev 2224)
+++ trunk/sources/conductorproperties.cpp	2013-06-09 12:03:41 UTC (rev 2225)
@@ -248,6 +248,8 @@
 		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 @@
 	} 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;
 	}
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/