changeset 9187:b3c11c5fdbd5

Configured tkh theme e.g. ShowLineLabel
author gernotbelger
date Thu, 28 Jun 2018 10:47:08 +0200
parents eec4df8165a1
children 3931e8741f53
files artifacts/doc/conf/themes/default.xml artifacts/doc/conf/themes/second.xml
diffstat 2 files changed, 31 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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">
--- 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

http://dive4elements.wald.intevation.org