changeset 8403:e316361229cd

Theme-style cleanup for discharge curves.
author Tom Gottfried <tom@intevation.de>
date Mon, 13 Oct 2014 14:40:47 +0200
parents 35b3bbd1365f
children 5ad3fd88c4c2
files artifacts/doc/conf/themes.xml artifacts/doc/conf/themes/default.xml artifacts/doc/conf/themes/second.xml
diffstat 3 files changed, 5 insertions(+), 109 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/themes.xml	Fri Oct 10 15:44:34 2014 +0200
+++ b/artifacts/doc/conf/themes.xml	Mon Oct 13 14:40:47 2014 +0200
@@ -139,12 +139,12 @@
         <mapping from="historical_discharge.historicalq.diff" to="HistoricalDischargeCurveQDiff" />
         <mapping from="historical_discharge.historicalw" to="HistoricalDischargeCurveW" />
         <mapping from="historical_discharge.historicalw.diff" to="HistoricalDischargeCurveWDiff" />
-        <mapping from="historical_discharge.wq.curve" to="HistoricalDischargeWQCurve" />
+        <mapping from="historical_discharge.wq.curve" to="DischargeCurve" />
         <mapping from="historical_discharge.wq.w" to="HistoricalDischargeWQW" />
         <mapping from="historical_discharge.wq.q" to="HistoricalDischargeWQQ" />
         <mapping from="cross_section" to="CrossSection" />
         <mapping from="cross_section_water_line" to="CrossSectionWaterLine" />
-        <mapping from="computed_discharge_curve.q" to="ComputedDischargeCurve" />
+        <mapping from="computed_discharge_curve.q" to="DischargeCurve" />
         <mapping from="duration_curve.w" to="DurationCurveW" />
         <mapping from="duration_curve.q" to="DurationCurveQ" />
         <mapping from="discharge_longitudinal_section.w" to="DischargeLongitudinalSectionW" />
@@ -343,7 +343,7 @@
         <mapping from="fix_deltawt_curve.manualpoints" to="ManualPoints" />
         <mapping from="fix_events_wqkms" to="FixPoints" />
         <mapping from="qsectors" to="QSectors" />
-        <mapping from="gauge_discharge_curve" to="GaugeDischargeCurve" />
+        <mapping from="gauge_discharge_curve" to="DischargeCurve" />
         <mapping from="extreme_wq_curve" to="ExtremeWQCurve" />
         <mapping from="extreme_wq_curve_base" to="ExtremeWQBaseCurve" />
 
--- a/artifacts/doc/conf/themes/default.xml	Fri Oct 10 15:44:34 2014 +0200
+++ b/artifacts/doc/conf/themes/default.xml	Mon Oct 13 14:40:47 2014 +0200
@@ -1590,26 +1590,6 @@
     <theme name="DischargeCurve">
         <inherits>
             <inherit from="Lines" />
-            <inherit from="Points" />
-            <inherit from="Label" />
-            <inherit from="MinMaxPoints" />
-        </inherits>
-        <fields>
-            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
-                default="false" hints="hidden" />
-            <field name="showpointlabel" type="boolean"
-                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 153" />
-            <field name="linesize" type="int" display="Liniendicke"
-                default="2" />
-        </fields>
-    </theme>
-
-    <theme name="ComputedDischargeCurve">
-        <inherits>
-            <inherit from="Lines" />
-            <inherit from="Points" />
             <inherit from="Label" />
             <inherit from="MinMaxPoints" />
         </inherits>
@@ -1618,10 +1598,6 @@
                 default="0, 0, 153" />
             <field name="linesize" type="int" display="Liniendicke"
                 default="2" />
-            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
-                default="false" />
-            <field name="showpointlabel" type="boolean"
-                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
         </fields>
     </theme>
 
@@ -1653,18 +1629,6 @@
         </fields>
     </theme>
 
-    <theme name="GaugeDischargeCurve">
-        <inherits>
-            <inherit from="DischargeCurve" />
-        </inherits>
-        <fields>
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 153" />
-            <field name="linesize" type="int" display="Liniendicke"
-                default="2" />
-        </fields>
-    </theme>
-
     <theme name="ExtremeWQCurve">
         <inherits>
             <inherit from="Lines" />
@@ -1678,7 +1642,7 @@
             <field name="linesize" type="int" display="Liniendicke"
                 default="2" />
             <field name="showlinelabel" type="boolean"
-                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />           
+                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
         </fields>
     </theme>
 
@@ -2325,22 +2289,6 @@
         </fields>
     </theme>
 
-    <theme name="HistoricalDischargeWQCurve">
-        <inherits>
-            <inherit from="HistoricalDischargeCurve" />
-        </inherits>
-        <fields>
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 204" />
-            <field name="showlinelabel" type="boolean"
-                display="Beschriftung anzeigen" default="false" hints="hidden" />
-            <field name="showpointlabel" type="boolean"
-                display="Beschriftung anzeigen" default="false" hints="hidden" />
-            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
-                default="false" />
-        </fields>
-    </theme>
-
     <theme name="HistoricalDischargeWQW">
         <!-- the facet has no styling...
         <inherits>
--- a/artifacts/doc/conf/themes/second.xml	Fri Oct 10 15:44:34 2014 +0200
+++ b/artifacts/doc/conf/themes/second.xml	Mon Oct 13 14:40:47 2014 +0200
@@ -1590,26 +1590,6 @@
     <theme name="DischargeCurve">
         <inherits>
             <inherit from="Lines" />
-            <inherit from="Points" />
-            <inherit from="Label" />
-            <inherit from="MinMaxPoints" />
-        </inherits>
-        <fields>
-            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
-                default="false" hints="hidden" />
-            <field name="showpointlabel" type="boolean"
-                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 153" />
-            <field name="linesize" type="int" display="Liniendicke"
-                default="2" />
-        </fields>
-    </theme>
-
-    <theme name="ComputedDischargeCurve">
-        <inherits>
-            <inherit from="Lines" />
-            <inherit from="Points" />
             <inherit from="Label" />
             <inherit from="MinMaxPoints" />
         </inherits>
@@ -1618,10 +1598,6 @@
                 default="0, 0, 153" />
             <field name="linesize" type="int" display="Liniendicke"
                 default="2" />
-            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
-                default="false" />
-            <field name="showpointlabel" type="boolean"
-                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
         </fields>
     </theme>
 
@@ -1653,18 +1629,6 @@
         </fields>
     </theme>
 
-    <theme name="GaugeDischargeCurve">
-        <inherits>
-            <inherit from="DischargeCurve" />
-        </inherits>
-        <fields>
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 153" />
-            <field name="linesize" type="int" display="Liniendicke"
-                default="2" />
-        </fields>
-    </theme>
-
     <theme name="ExtremeWQCurve">
         <inherits>
             <inherit from="Lines" />
@@ -1678,7 +1642,7 @@
             <field name="linesize" type="int" display="Liniendicke"
                 default="2" />
             <field name="showlinelabel" type="boolean"
-                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />           
+                display="Punktbeschriftung anzeigen" default="false" hints="hidden" />
         </fields>
     </theme>
 
@@ -2325,22 +2289,6 @@
         </fields>
     </theme>
 
-    <theme name="HistoricalDischargeWQCurve">
-        <inherits>
-            <inherit from="HistoricalDischargeCurve" />
-        </inherits>
-        <fields>
-            <field name="linecolor" type="Color" display="Linienfarbe"
-                default="0, 0, 204" />
-            <field name="showlinelabel" type="boolean"
-                display="Beschriftung anzeigen" default="false" hints="hidden" />
-            <field name="showpointlabel" type="boolean"
-                display="Beschriftung anzeigen" default="false" hints="hidden" />
-            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
-                default="false" />
-        </fields>
-    </theme>
-
     <theme name="HistoricalDischargeWQW">
         <!-- the facet has no styling...
         <inherits>

http://dive4elements.wald.intevation.org