[PATCH 3 of 3] Configured tkh theme e.g. ShowLineLabel

Wald Commits scm-commit at wald.intevation.org
Thu Jun 28 10:47:16 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1530175628 -7200
# Node ID b3c11c5fdbd5c67b42edd7f30695ca1d92237a6e
# Parent  eec4df8165a12988cf72584def7a3ed5bcede64e
Configured tkh theme e.g. ShowLineLabel

diff -r eec4df8165a1 -r b3c11c5fdbd5 artifacts/doc/conf/themes/default.xml
--- a/artifacts/doc/conf/themes/default.xml	Thu Jun 28 10:47:04 2018 +0200
+++ b/artifacts/doc/conf/themes/default.xml	Thu Jun 28 10:47:08 2018 +0200
@@ -2943,9 +2943,14 @@
     </theme>
     <theme name="SInfoTkh">
         <inherits>
-            <inherit from="LongitudinalSection" />
+            <inherit from="Lines" />
+            <inherit from="Points" />
+            <inherit from="Label" />
         </inherits>
         <fields>
+            <field name="showpoints" type="boolean" display="Punkte anzeigen" default="false" />
+            <field name="showpointlabel" type="boolean" display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
+                
             <field name="calculateRange" type="boolean" display="Ausdehnung berechnen" default="true" hints="hidden" />
 
             <!-- Areas use 'showborder' instead of showlines (but inconsistently uses 'linecolor' and 'linesize'), so we hide 'showline' and replace it with 'showbordder' -->
@@ -2954,12 +2959,16 @@
             <field name="linecolor" type="Color" display="Linienfarbe" default="228, 108, 10" />
             <field name="linesize" type="int" display="Liniendicke" default="1"/>
 
+            <field name="showlinelabel" type="boolean" display="Linienbeschriftung anzeigen" default="false" />
+
             <field name="showarea" type="boolean" display="Flaeche anzeigen" default="true" />
             <field name="areabgcolor" type="Color" default="245, 245, 220" display="Füllfarbe" />            
             <field name="areabgpattern" type="areapattern" default="patternFill" display="Flächentyp" />            
             <field name="areatransparency" type="int" default="20"  />
 
-            <field name="showarealabel" type="boolean" display="Flächenbeschriftung anzeigen" default="false" hint="hidden"/>
+            <field name="showarealabel" type="boolean" display="Flächenbeschriftung anzeigen" default="false" hints="hidden"/>
+            
+            <field name="showmaximum" type="boolean" display="Maximum anzeigen" default="false" />
         </fields>
     </theme>
     <theme name="SInfoFlowDepthDevelopment">
diff -r eec4df8165a1 -r b3c11c5fdbd5 artifacts/doc/conf/themes/second.xml
--- a/artifacts/doc/conf/themes/second.xml	Thu Jun 28 10:47:04 2018 +0200
+++ b/artifacts/doc/conf/themes/second.xml	Thu Jun 28 10:47:08 2018 +0200
@@ -182,6 +182,7 @@
             <field name="bandwidthcolor" type="Color" display="Bandbreitenfarbe"
                 default="104, 104, 104"/>
             <field name="transparency" type="int" default="20" display="Transparenz"/>
+            <field name="showarea" type="boolean" display="Flaeche anzeigen" default="true" hints="hidden" />
         </fields>
     </theme>
 
@@ -2930,9 +2931,14 @@
     </theme>
     <theme name="SInfoTkh">
         <inherits>
-            <inherit from="LongitudinalSection" />
+            <inherit from="Lines" />
+            <inherit from="Points" />
+            <inherit from="Label" />
         </inherits>
         <fields>
+            <field name="showpoints" type="boolean" display="Punkte anzeigen" default="false" />
+            <field name="showpointlabel" type="boolean" display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
+                
             <field name="calculateRange" type="boolean" display="Ausdehnung berechnen" default="true" hints="hidden" />
 
             <!-- Areas use 'showborder' instead of showlines (but inconsistently uses 'linecolor' and 'linesize'), so we hide 'showline' and replace it with 'showbordder' -->
@@ -2941,12 +2947,16 @@
             <field name="linecolor" type="Color" display="Linienfarbe" default="228, 108, 10" />
             <field name="linesize" type="int" display="Liniendicke" default="1"/>
 
+            <field name="showlinelabel" type="boolean" display="Linienbeschriftung anzeigen" default="false" />
+
             <field name="showarea" type="boolean" display="Flaeche anzeigen" default="true" />
             <field name="areabgcolor" type="Color" default="245, 245, 220" display="Füllfarbe" />            
             <field name="areabgpattern" type="areapattern" default="patternFill" display="Flächentyp" />            
-            <field name="areatransparency" type="int" default="10"  />
+            <field name="areatransparency" type="int" default="20"  />
 
-            <field name="showarealabel" type="boolean" display="Flächenbeschriftung anzeigen" default="false" hint="hidden"/>
+            <field name="showarealabel" type="boolean" display="Flächenbeschriftung anzeigen" default="false" hints="hidden"/>
+            
+            <field name="showmaximum" type="boolean" display="Maximum anzeigen" default="false" />
         </fields>
     </theme>
     <theme name="SInfoFlowDepthDevelopment">
@@ -2964,7 +2974,7 @@
         <fields>
             <field name="linecolor" type="Color" display="Linienfarbe" default="0, 0, 255" />
         </fields>
-    </theme>    
+    </theme>
     <theme name="SInfoWaterlevelDifference">
         <inherits>
             <inherit from="LongitudinalSectionW" />
@@ -2980,7 +2990,7 @@
         <fields>
             <field name="linecolor" type="Color" display="Linienfarbe" default="255, 0, 0" />
         </fields>
-    </theme>            
+    </theme>
     <theme name="SInfoPredefinedChannelWidth">
         <inherits>
             <inherit from="LongitudinalSectionW" />
@@ -3035,10 +3045,11 @@
     <theme name="SInfoInfrastructureHeight">
         <inherits>
             <inherit from="LongitudinalSectionPoints" />
+            <inherit from="Label" />
         </inherits>
         <fields>
-            <field name="pointsize" type="int" display="Punktdicke" default="3" hints="hidden" />
-            <field name="pointcolor" type="Color" display="Punktfarbe" default="0, 128, 0" />
+            <field name="pointsize" type="int" display="Punktdicke" default="3" />
+            <field name="pointcolor" type="Color" display="Punktfarbe" default="0, 192, 0" />
         </fields>
     </theme>
     <theme name="SInfoCollisionCount">
@@ -3047,7 +3058,7 @@
         </inherits>
         <fields>
             <field name="pointsize" type="int" display="Punktdicke" default="3" />
-            <field name="pointcolor" type="Color" display="Punktfarbe" default="48, 96, 192" />
+            <field name="pointcolor" type="Color" display="Punktfarbe" default="48, 96, 255" />
         </fields>
     </theme>
     <theme name="SInfoFloodDuration">
@@ -3056,7 +3067,7 @@
         </inherits>
         <fields>
             <field name="pointsize" type="int" display="Punktdicke" default="3" />
-            <field name="pointcolor" type="Color" display="Punktfarbe" default="68, 192, 40" />
+            <field name="pointcolor" type="Color" display="Punktfarbe" default="68, 216, 40" />
         </fields>
     </theme>
 </themegroup>
\ No newline at end of file


More information about the Dive4Elements-commits mailing list