[qet] [2571] Fix dashdotted primitives, add new symbol thanks Renaud

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


Revision: 2571
Author:   scorpio810
Date:     2013-10-15 21:48:09 +0200 (Tue, 15 Oct 2013)
Log Message:
-----------
Fix dashdotted primitives, add new symbol thanks Renaud

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

Added Paths:
-----------
    trunk/elements/nomenclatures/grille_composition.elmt

Added: trunk/elements/nomenclatures/grille_composition.elmt
===================================================================
--- trunk/elements/nomenclatures/grille_composition.elmt	                        (rev 0)
+++ trunk/elements/nomenclatures/grille_composition.elmt	2013-10-15 19:48:09 UTC (rev 2571)
@@ -0,0 +1,34 @@
+<definition width="1010" version="0.3" hotspot_x="55" hotspot_y="35" height="640" type="element" orientation="dyyy">
+    <names>
+        <name lang="en">Grid composition</name>
+        <name lang="fr">Grille_composition</name>
+    </names>
+    <informations>Rafart Renaud</informations>
+    <description>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-26" x1="700" y2="600" x2="700"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-29" x1="460" y2="600" x2="460"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="240" x1="-51" y2="240" x2="950"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="320" x1="-49" y2="320" x2="950"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-28" x1="940" y2="600" x2="940"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="80" x1="-50" y2="80" x2="950"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-30" x1="400" y2="600" x2="400"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="560" x1="-50" y2="560" x2="950"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-30" x1="40" y2="600" x2="40"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-30" x1="160" y2="600" x2="160"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-31" x1="100" y2="600" x2="100"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-31" x1="280" y2="600" x2="280"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-31" x1="340" y2="600" x2="340"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-30" x1="220" y2="600" x2="220"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="480" x1="-50" y2="480" x2="950"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-27" x1="640" y2="600" x2="640"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-29" x1="880" y2="600" x2="880"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="160" x1="-50" y2="160" x2="950"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-28" x1="580" y2="600" x2="580"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="400" x1="-49" y2="400" x2="950"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-30" x1="820" y2="600" x2="820"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-28" x1="520" y2="600" x2="520"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-30" x1="760" y2="600" x2="760"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="-31" x1="-20" y2="600" x2="-20"/>
+        <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:dashed;line-weight:thin;filling:none;color:black" y1="10" x1="-50" y2="10" x2="950"/>
+    </description>
+</definition>

Modified: trunk/sources/customelement.cpp
===================================================================
--- trunk/sources/customelement.cpp	2013-10-15 10:17:32 UTC (rev 2570)
+++ trunk/sources/customelement.cpp	2013-10-15 19:48:09 UTC (rev 2571)
@@ -750,6 +750,7 @@
 	pen.setStyle(Qt::SolidLine);
 	pen.setWidthF(1.0);
 	brush.setStyle(Qt::NoBrush);
+	pen.setStyle(Qt::DashDotLine);
 	
 	// recupere la liste des couples style / valeur
 	QStringList styles = e.attribute("style").split(";", QString::SkipEmptyParts);


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