This commit is contained in:
Patrick Haßel 2025-09-27 17:53:22 +02:00
parent 5a5a45dc7c
commit 75143fd5e3
8 changed files with 5 additions and 1010 deletions

View File

@ -3,3 +3,5 @@ Beim Hinzufügen von Features fehlte wurde versucht eine viel zu große Pegelonl
DockWidget wurde ziemlich voll → Weiteres Widget nur für Grafen
buttons etc disablen
eigene styles erzeugen!

View File

@ -44,7 +44,7 @@ name: pegelonline
# Full path to where you want your plugin directory copied. If empty,
# the QGIS default path will be used. Don't include the plugin name in
# the path.
plugin_path:~/.local/share/QGIS/QGIS3/profiles/default/python/plugins
plugin_path:/home/patrick/.local/share/QGIS/QGIS3/profiles/default/python/plugins
[files]
# Python files that should be deployed with the plugin

View File

@ -199,7 +199,7 @@ class PoRunner(object):
reader = PoWaterlevelsQgs()
features = reader.getWaterlevelsFeatures()
self.waterlevels = self._layer_create_from_reader(reader.fields, reader.crs, features, "Pegelstände")
self._layer_add_to_instance(self.waterlevels, "styles/label_currentw.qml", self.waterlevels_disconnect)
self._layer_add_to_instance(self.waterlevels, "styles/label_waterlevels.qml", self.waterlevels_disconnect)
if self.waterlevels is not None:
self._layer_set_visible(self.waterlevels, visible)

View File

@ -1,243 +0,0 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis maxScale="0" labelsEnabled="1" readOnly="0" hasScaleBasedVisibilityFlag="0" styleCategories="AllStyleCategories" simplifyLocal="1" minScale="1e+08" simplifyMaxScale="1" simplifyAlgorithm="0" version="3.4.6-Madeira" simplifyDrawingTol="1" simplifyDrawingHints="0">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
</flags>
<renderer-v2 symbollevels="0" enableorderby="0" forceraster="0" type="singleSymbol">
<symbols>
<symbol clip_to_extent="1" alpha="1" name="0" type="marker" force_rhr="0">
<layer enabled="1" pass="0" locked="0" class="SimpleMarker">
<prop v="0" k="angle"/>
<prop v="152,125,183,255" k="color"/>
<prop v="1" k="horizontal_anchor_point"/>
<prop v="bevel" k="joinstyle"/>
<prop v="circle" k="name"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="solid" k="outline_style"/>
<prop v="0" k="outline_width"/>
<prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="diameter" k="scale_method"/>
<prop v="2" k="size"/>
<prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
<prop v="MM" k="size_unit"/>
<prop v="1" k="vertical_anchor_point"/>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<rotation/>
<sizescale/>
</renderer-v2>
<labeling type="simple">
<settings>
<text-style namedStyle="Regular" fontUnderline="0" fontWordSpacing="0" fontStrikeout="0" fontWeight="25" fontSize="10" isExpression="0" blendMode="0" fontFamily="Calibri Light" fontLetterSpacing="0" textColor="0,0,252,255" previewBkgrdColor="#ffffff" fontSizeUnit="Point" multilineHeight="1" fieldName="value" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textOpacity="1" fontCapitals="0" useSubstitutions="0" fontItalic="0">
<text-buffer bufferSize="1" bufferJoinStyle="128" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferColor="255,255,255,255" bufferDraw="1" bufferNoFill="1" bufferOpacity="1" bufferSizeUnits="MM" bufferBlendMode="0"/>
<background shapeRadiiY="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeOpacity="1" shapeDraw="0" shapeType="0" shapeSVGFile="" shapeSizeY="0" shapeSizeUnit="MM" shapeOffsetUnit="MM" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeJoinStyle="64" shapeRotationType="0" shapeSizeX="0" shapeRotation="0" shapeBorderWidth="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetY="0" shapeBorderColor="128,128,128,255" shapeRadiiUnit="MM" shapeSizeType="0" shapeFillColor="255,255,255,255" shapeBorderWidthUnit="MM" shapeRadiiX="0"/>
<shadow shadowRadius="1.5" shadowBlendMode="6" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOpacity="0.7" shadowDraw="0" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowScale="100" shadowUnder="0" shadowRadiusAlphaOnly="0" shadowOffsetAngle="135" shadowOffsetUnit="MM" shadowRadiusUnit="MM" shadowOffsetDist="1" shadowOffsetGlobal="1" shadowColor="0,0,0,255"/>
<substitutions/>
</text-style>
<text-format addDirectionSymbol="0" placeDirectionSymbol="0" multilineAlign="3" plussign="0" leftDirectionSymbol="&lt;" rightDirectionSymbol=">" formatNumbers="0" reverseDirectionSymbol="0" decimals="3" autoWrapLength="0" wrapChar="" useMaxLineLengthForAutoWrap="1"/>
<placement repeatDistanceMapUnitScale="3x:0,0,0,0,0,0" fitInPolygonOnly="0" quadOffset="1" distUnits="MM" yOffset="0" priority="5" placement="1" repeatDistance="0" offsetType="0" preserveRotation="1" offsetUnits="MM" maxCurvedCharAngleOut="-25" rotationAngle="0" repeatDistanceUnits="MM" maxCurvedCharAngleIn="25" centroidWhole="0" dist="0" xOffset="0" placementFlags="10" predefinedPositionOrder="TR,TL,BR,BL,R,L,TSR,BSR" centroidInside="0" labelOffsetMapUnitScale="3x:0,0,0,0,0,0" distMapUnitScale="3x:0,0,0,0,0,0"/>
<rendering maxNumLabels="2000" obstacle="1" fontLimitPixelSize="0" obstacleFactor="1" minFeatureSize="0" drawLabels="1" scaleMin="0" upsidedownLabels="0" fontMaxPixelSize="10000" zIndex="0" obstacleType="0" fontMinPixelSize="3" scaleMax="0" limitNumLabels="0" displayAll="0" labelPerPart="0" scaleVisibility="0" mergeLines="0"/>
<dd_properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</dd_properties>
</settings>
</labeling>
<customproperties>
<property key="embeddedWidgets/count" value="0"/>
<property key="variableNames"/>
<property key="variableValues"/>
</customproperties>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<layerOpacity>1</layerOpacity>
<SingleCategoryDiagramRenderer diagramType="Histogram" attributeLegend="1">
<DiagramCategory penAlpha="255" penColor="#000000" maxScaleDenominator="1e+08" sizeType="MM" backgroundAlpha="255" width="15" barWidth="5" penWidth="0" height="15" opacity="1" enabled="0" rotationOffset="270" scaleBasedVisibility="0" labelPlacementMethod="XHeight" minScaleDenominator="0" lineSizeType="MM" scaleDependency="Area" diagramOrientation="Up" sizeScale="3x:0,0,0,0,0,0" lineSizeScale="3x:0,0,0,0,0,0" minimumSize="0" backgroundColor="#ffffff">
<fontProperties style="" description="MS Shell Dlg 2,8.1,-1,5,50,0,0,0,0,0"/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings showAll="1" priority="0" zIndex="0" obstacle="0" dist="0" placement="0" linePlacementFlags="18">
<properties>
<Option type="Map">
<Option name="name" type="QString" value=""/>
<Option name="properties"/>
<Option name="type" type="QString" value="collection"/>
</Option>
</properties>
</DiagramLayerSettings>
<geometryOptions removeDuplicateNodes="0" geometryPrecision="0">
<activeChecks/>
<checkConfiguration/>
</geometryOptions>
<fieldConfiguration>
<field name="uuid">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="shortname">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="timestamp">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="value">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="trend">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="stateMnwMhw">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="stateNswHsw">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias index="0" name="" field="uuid"/>
<alias index="1" name="" field="shortname"/>
<alias index="2" name="" field="timestamp"/>
<alias index="3" name="" field="value"/>
<alias index="4" name="" field="trend"/>
<alias index="5" name="" field="stateMnwMhw"/>
<alias index="6" name="" field="stateNswHsw"/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default applyOnUpdate="0" field="uuid" expression=""/>
<default applyOnUpdate="0" field="shortname" expression=""/>
<default applyOnUpdate="0" field="timestamp" expression=""/>
<default applyOnUpdate="0" field="value" expression=""/>
<default applyOnUpdate="0" field="trend" expression=""/>
<default applyOnUpdate="0" field="stateMnwMhw" expression=""/>
<default applyOnUpdate="0" field="stateNswHsw" expression=""/>
</defaults>
<constraints>
<constraint notnull_strength="0" exp_strength="0" field="uuid" unique_strength="0" constraints="0"/>
<constraint notnull_strength="0" exp_strength="0" field="shortname" unique_strength="0" constraints="0"/>
<constraint notnull_strength="0" exp_strength="0" field="timestamp" unique_strength="0" constraints="0"/>
<constraint notnull_strength="0" exp_strength="0" field="value" unique_strength="0" constraints="0"/>
<constraint notnull_strength="0" exp_strength="0" field="trend" unique_strength="0" constraints="0"/>
<constraint notnull_strength="0" exp_strength="0" field="stateMnwMhw" unique_strength="0" constraints="0"/>
<constraint notnull_strength="0" exp_strength="0" field="stateNswHsw" unique_strength="0" constraints="0"/>
</constraints>
<constraintExpressions>
<constraint desc="" exp="" field="uuid"/>
<constraint desc="" exp="" field="shortname"/>
<constraint desc="" exp="" field="timestamp"/>
<constraint desc="" exp="" field="value"/>
<constraint desc="" exp="" field="trend"/>
<constraint desc="" exp="" field="stateMnwMhw"/>
<constraint desc="" exp="" field="stateNswHsw"/>
</constraintExpressions>
<expressionfields/>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig sortOrder="0" actionWidgetStyle="dropDown" sortExpression="">
<columns>
<column name="uuid" hidden="0" width="-1" type="field"/>
<column name="shortname" hidden="0" width="-1" type="field"/>
<column name="timestamp" hidden="0" width="-1" type="field"/>
<column name="value" hidden="0" width="-1" type="field"/>
<column name="trend" hidden="0" width="-1" type="field"/>
<column name="stateMnwMhw" hidden="0" width="-1" type="field"/>
<column name="stateNswHsw" hidden="0" width="-1" type="field"/>
<column hidden="1" width="-1" type="actions"/>
</columns>
</attributetableconfig>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<editform tolerant="1"></editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath></editforminitfilepath>
<editforminitcode><![CDATA[# -*- coding: utf-8 -*-
"""
QGIS forms can have a Python function that is called when the form is
opened.
Use this function to add extra logic to your forms.
Enter the name of the function in the "Python Init function"
field.
An example follows:
"""
from qgis.PyQt.QtWidgets import QWidget
def my_form_open(dialog, layer, feature):
geom = feature.geometry()
control = dialog.findChild(QWidget, "MyLineEdit")
]]></editforminitcode>
<featformsuppress>0</featformsuppress>
<editorlayout>generatedlayout</editorlayout>
<editable>
<field name="shortname" editable="1"/>
<field name="stateMnwMhw" editable="1"/>
<field name="stateNswHsw" editable="1"/>
<field name="timestamp" editable="1"/>
<field name="trend" editable="1"/>
<field name="uuid" editable="1"/>
<field name="value" editable="1"/>
</editable>
<labelOnTop>
<field name="shortname" labelOnTop="0"/>
<field name="stateMnwMhw" labelOnTop="0"/>
<field name="stateNswHsw" labelOnTop="0"/>
<field name="timestamp" labelOnTop="0"/>
<field name="trend" labelOnTop="0"/>
<field name="uuid" labelOnTop="0"/>
<field name="value" labelOnTop="0"/>
</labelOnTop>
<widgets/>
<previewExpression>uuid</previewExpression>
<mapTip></mapTip>
<layerGeometryType>0</layerGeometryType>
</qgis>

View File

@ -1,411 +0,0 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis maxScale="0" simplifyAlgorithm="0" minScale="1e+08" simplifyDrawingHints="0" version="3.4.6-Madeira" simplifyLocal="1" hasScaleBasedVisibilityFlag="0" readOnly="0" simplifyDrawingTol="1" labelsEnabled="1" simplifyMaxScale="1" styleCategories="AllStyleCategories">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
</flags>
<renderer-v2 type="graduatedSymbol" enableorderby="0" forceraster="0" graduatedMethod="GraduatedColor" attr="value" symbollevels="0">
<ranges>
<range lower="0.000000000000000" symbol="0" render="true" upper="127.400000000000006" label="0 - 127"/>
<range lower="127.400000000000006" symbol="1" render="true" upper="214.800000000000011" label="127 - 215"/>
<range lower="214.800000000000011" symbol="2" render="true" upper="367.505999999999915" label="215 - 368"/>
<range lower="367.505999999999915" symbol="3" render="true" upper="575.400000000000091" label="368 - 575"/>
<range lower="575.400000000000091" symbol="4" render="true" upper="5612.000000000000000" label="575 - 5612"/>
</ranges>
<symbols>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="0">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="68,1,84,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="1">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="58,82,139,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="2">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="32,144,141,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="3">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="93,201,98,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="4">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="253,231,37,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<source-symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="0">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="215,25,28,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</source-symbol>
<colorramp type="gradient" name="[source]">
<prop k="color1" v="68,1,84,255"/>
<prop k="color2" v="253,231,37,255"/>
<prop k="discrete" v="0"/>
<prop k="rampType" v="gradient"/>
<prop k="stops" v="0.0196078;70,8,92,255:0.0392157;71,16,99,255:0.0588235;72,23,105,255:0.0784314;72,29,111,255:0.0980392;72,36,117,255:0.117647;71,42,122,255:0.137255;70,48,126,255:0.156863;69,55,129,255:0.176471;67,61,132,255:0.196078;65,66,135,255:0.215686;63,72,137,255:0.235294;61,78,138,255:0.254902;58,83,139,255:0.27451;56,89,140,255:0.294118;53,94,141,255:0.313725;51,99,141,255:0.333333;49,104,142,255:0.352941;46,109,142,255:0.372549;44,113,142,255:0.392157;42,118,142,255:0.411765;41,123,142,255:0.431373;39,128,142,255:0.45098;37,132,142,255:0.470588;35,137,142,255:0.490196;33,142,141,255:0.509804;32,146,140,255:0.529412;31,151,139,255:0.54902;30,156,137,255:0.568627;31,161,136,255:0.588235;33,165,133,255:0.607843;36,170,131,255:0.627451;40,174,128,255:0.647059;46,179,124,255:0.666667;53,183,121,255:0.686275;61,188,116,255:0.705882;70,192,111,255:0.72549;80,196,106,255:0.745098;90,200,100,255:0.764706;101,203,94,255:0.784314;112,207,87,255:0.803922;124,210,80,255:0.823529;137,213,72,255:0.843137;149,216,64,255:0.862745;162,218,55,255:0.882353;176,221,47,255:0.901961;189,223,38,255:0.921569;202,225,31,255:0.941176;216,226,25,255:0.960784;229,228,25,255:0.980392;241,229,29,255"/>
</colorramp>
<mode name="quantile"/>
<symmetricMode astride="false" symmetryPoint="0" enabled="false"/>
<rotation/>
<sizescale/>
<labelformat decimalplaces="0" trimtrailingzeroes="false" format="%1 - %2"/>
</renderer-v2>
<labeling type="simple">
<settings>
<text-style namedStyle="Regular" previewBkgrdColor="#ffffff" fontItalic="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textOpacity="1" fontCapitals="0" fontUnderline="0" blendMode="0" fontWeight="25" fontStrikeout="0" fontSize="10" useSubstitutions="0" multilineHeight="1" fontFamily="Calibri Light" fontSizeUnit="Point" fontWordSpacing="0" isExpression="0" fontLetterSpacing="0" textColor="0,0,0,255" fieldName="value">
<text-buffer bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferBlendMode="0" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferOpacity="1" bufferJoinStyle="128" bufferDraw="1" bufferSize="1" bufferNoFill="1"/>
<background shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeRotation="0" shapeOffsetX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetY="0" shapeSizeType="0" shapeRadiiUnit="MM" shapeOffsetUnit="MM" shapeBorderWidth="0" shapeType="0" shapeJoinStyle="64" shapeSizeX="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeBorderWidthUnit="MM" shapeSVGFile="" shapeSizeY="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeDraw="0" shapeRadiiY="0" shapeSizeUnit="MM" shapeOpacity="1" shapeRadiiX="0" shapeFillColor="255,255,255,255" shapeRotationType="0" shapeBorderColor="128,128,128,255"/>
<shadow shadowUnder="0" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetAngle="135" shadowOffsetUnit="MM" shadowScale="100" shadowOffsetDist="1" shadowRadiusUnit="MM" shadowColor="0,0,0,255" shadowDraw="0" shadowRadius="1.5" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetGlobal="1" shadowBlendMode="6" shadowRadiusAlphaOnly="0" shadowOpacity="0.7"/>
<substitutions/>
</text-style>
<text-format formatNumbers="0" rightDirectionSymbol=">" multilineAlign="3" useMaxLineLengthForAutoWrap="1" decimals="3" plussign="0" wrapChar="" autoWrapLength="0" placeDirectionSymbol="0" reverseDirectionSymbol="0" leftDirectionSymbol="&lt;" addDirectionSymbol="0"/>
<placement centroidWhole="0" repeatDistanceUnits="MM" yOffset="0" preserveRotation="1" repeatDistanceMapUnitScale="3x:0,0,0,0,0,0" fitInPolygonOnly="0" placement="1" dist="0" distUnits="MM" centroidInside="0" offsetType="0" offsetUnits="MM" predefinedPositionOrder="TR,TL,BR,BL,R,L,TSR,BSR" quadOffset="1" repeatDistance="0" xOffset="0" labelOffsetMapUnitScale="3x:0,0,0,0,0,0" rotationAngle="0" distMapUnitScale="3x:0,0,0,0,0,0" maxCurvedCharAngleIn="25" maxCurvedCharAngleOut="-25" priority="5" placementFlags="10"/>
<rendering zIndex="0" obstacleFactor="1" limitNumLabels="0" obstacle="1" maxNumLabels="2000" minFeatureSize="0" scaleVisibility="0" drawLabels="1" scaleMin="0" upsidedownLabels="0" fontMinPixelSize="3" obstacleType="0" fontLimitPixelSize="0" scaleMax="0" displayAll="0" mergeLines="0" fontMaxPixelSize="10000" labelPerPart="0"/>
<dd_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</dd_properties>
</settings>
</labeling>
<customproperties>
<property key="dualview/previewExpressions">
<value>uuid</value>
</property>
<property key="embeddedWidgets/count" value="0"/>
<property key="variableNames"/>
<property key="variableValues"/>
</customproperties>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<layerOpacity>1</layerOpacity>
<SingleCategoryDiagramRenderer diagramType="Histogram" attributeLegend="1">
<DiagramCategory backgroundAlpha="255" scaleBasedVisibility="0" barWidth="5" height="15" scaleDependency="Area" penColor="#000000" enabled="0" penAlpha="255" lineSizeScale="3x:0,0,0,0,0,0" labelPlacementMethod="XHeight" rotationOffset="270" penWidth="0" lineSizeType="MM" sizeScale="3x:0,0,0,0,0,0" diagramOrientation="Up" minScaleDenominator="0" minimumSize="0" sizeType="MM" width="15" opacity="1" backgroundColor="#ffffff" maxScaleDenominator="1e+08">
<fontProperties style="" description="MS Shell Dlg 2,8.1,-1,5,50,0,0,0,0,0"/>
<attribute color="#000000" field="" label=""/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings showAll="1" zIndex="0" priority="0" placement="0" dist="0" linePlacementFlags="18" obstacle="0">
<properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</properties>
</DiagramLayerSettings>
<geometryOptions removeDuplicateNodes="0" geometryPrecision="0">
<activeChecks/>
<checkConfiguration/>
</geometryOptions>
<fieldConfiguration>
<field name="uuid">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="shortname">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="timestamp">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="value">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="trend">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="stateMnwMhw">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="stateNswHsw">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias field="uuid" index="0" name=""/>
<alias field="shortname" index="1" name=""/>
<alias field="timestamp" index="2" name=""/>
<alias field="value" index="3" name=""/>
<alias field="trend" index="4" name=""/>
<alias field="stateMnwMhw" index="5" name=""/>
<alias field="stateNswHsw" index="6" name=""/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default expression="" field="uuid" applyOnUpdate="0"/>
<default expression="" field="shortname" applyOnUpdate="0"/>
<default expression="" field="timestamp" applyOnUpdate="0"/>
<default expression="" field="value" applyOnUpdate="0"/>
<default expression="" field="trend" applyOnUpdate="0"/>
<default expression="" field="stateMnwMhw" applyOnUpdate="0"/>
<default expression="" field="stateNswHsw" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="uuid"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="shortname"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="timestamp"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="value"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="trend"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="stateMnwMhw"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="stateNswHsw"/>
</constraints>
<constraintExpressions>
<constraint desc="" exp="" field="uuid"/>
<constraint desc="" exp="" field="shortname"/>
<constraint desc="" exp="" field="timestamp"/>
<constraint desc="" exp="" field="value"/>
<constraint desc="" exp="" field="trend"/>
<constraint desc="" exp="" field="stateMnwMhw"/>
<constraint desc="" exp="" field="stateNswHsw"/>
</constraintExpressions>
<expressionfields/>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig sortExpression="" sortOrder="0" actionWidgetStyle="dropDown">
<columns>
<column type="field" width="-1" hidden="0" name="uuid"/>
<column type="field" width="-1" hidden="0" name="shortname"/>
<column type="field" width="-1" hidden="0" name="timestamp"/>
<column type="field" width="-1" hidden="0" name="value"/>
<column type="field" width="-1" hidden="0" name="trend"/>
<column type="field" width="-1" hidden="0" name="stateMnwMhw"/>
<column type="field" width="-1" hidden="0" name="stateNswHsw"/>
<column type="actions" width="-1" hidden="1"/>
</columns>
</attributetableconfig>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<editform tolerant="1"></editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath></editforminitfilepath>
<editforminitcode><![CDATA[# -*- coding: utf-8 -*-
"""
QGIS forms can have a Python function that is called when the form is
opened.
Use this function to add extra logic to your forms.
Enter the name of the function in the "Python Init function"
field.
An example follows:
"""
from qgis.PyQt.QtWidgets import QWidget
def my_form_open(dialog, layer, feature):
geom = feature.geometry()
control = dialog.findChild(QWidget, "MyLineEdit")
]]></editforminitcode>
<featformsuppress>0</featformsuppress>
<editorlayout>generatedlayout</editorlayout>
<editable>
<field editable="1" name="shortname"/>
<field editable="1" name="stateMnwMhw"/>
<field editable="1" name="stateNswHsw"/>
<field editable="1" name="timestamp"/>
<field editable="1" name="trend"/>
<field editable="1" name="uuid"/>
<field editable="1" name="value"/>
</editable>
<labelOnTop>
<field labelOnTop="0" name="shortname"/>
<field labelOnTop="0" name="stateMnwMhw"/>
<field labelOnTop="0" name="stateNswHsw"/>
<field labelOnTop="0" name="timestamp"/>
<field labelOnTop="0" name="trend"/>
<field labelOnTop="0" name="uuid"/>
<field labelOnTop="0" name="value"/>
</labelOnTop>
<widgets/>
<previewExpression>uuid</previewExpression>
<mapTip></mapTip>
<layerGeometryType>0</layerGeometryType>
</qgis>

View File

@ -1,345 +0,0 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis maxScale="0" simplifyAlgorithm="0" minScale="1e+08" simplifyDrawingHints="0" version="3.4.6-Madeira" simplifyLocal="1" hasScaleBasedVisibilityFlag="0" readOnly="0" simplifyDrawingTol="1" labelsEnabled="1" simplifyMaxScale="1" styleCategories="AllStyleCategories">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
</flags>
<renderer-v2 type="categorizedSymbol" enableorderby="0" forceraster="0" attr="trend" symbollevels="0">
<categories>
<category symbol="0" value="-1" render="true" label="-1"/>
<category symbol="1" value="0" render="true" label="0"/>
<category symbol="2" value="1" render="true" label="1"/>
</categories>
<symbols>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="0">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="246,22,18,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="1">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="246,246,41,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="2">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="107,243,22,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<source-symbol>
<symbol type="marker" force_rhr="0" alpha="1" clip_to_extent="1" name="0">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop k="angle" v="0"/>
<prop k="color" v="31,28,175,255"/>
<prop k="horizontal_anchor_point" v="1"/>
<prop k="joinstyle" v="bevel"/>
<prop k="name" v="circle"/>
<prop k="offset" v="0,0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="outline_color" v="35,35,35,255"/>
<prop k="outline_style" v="solid"/>
<prop k="outline_width" v="0"/>
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="outline_width_unit" v="MM"/>
<prop k="scale_method" v="diameter"/>
<prop k="size" v="2"/>
<prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="size_unit" v="MM"/>
<prop k="vertical_anchor_point" v="1"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</source-symbol>
<colorramp type="gradient" name="[source]">
<prop k="color1" v="215,25,28,255"/>
<prop k="color2" v="26,150,65,255"/>
<prop k="discrete" v="0"/>
<prop k="rampType" v="gradient"/>
<prop k="stops" v="0.25;253,174,97,255:0.5;255,255,192,255:0.75;166,217,106,255"/>
</colorramp>
<rotation/>
<sizescale/>
</renderer-v2>
<labeling type="simple">
<settings>
<text-style namedStyle="Regular" previewBkgrdColor="#ffffff" fontItalic="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textOpacity="1" fontCapitals="0" fontUnderline="0" blendMode="0" fontWeight="25" fontStrikeout="0" fontSize="10" useSubstitutions="0" multilineHeight="1" fontFamily="Calibri Light" fontSizeUnit="Point" fontWordSpacing="0" isExpression="0" fontLetterSpacing="0" textColor="0,0,0,255" fieldName="trend">
<text-buffer bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferBlendMode="0" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferOpacity="1" bufferJoinStyle="128" bufferDraw="1" bufferSize="1" bufferNoFill="1"/>
<background shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeRotation="0" shapeOffsetX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetY="0" shapeSizeType="0" shapeRadiiUnit="MM" shapeOffsetUnit="MM" shapeBorderWidth="0" shapeType="0" shapeJoinStyle="64" shapeSizeX="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeBorderWidthUnit="MM" shapeSVGFile="" shapeSizeY="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeDraw="0" shapeRadiiY="0" shapeSizeUnit="MM" shapeOpacity="1" shapeRadiiX="0" shapeFillColor="255,255,255,255" shapeRotationType="0" shapeBorderColor="128,128,128,255"/>
<shadow shadowUnder="0" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetAngle="135" shadowOffsetUnit="MM" shadowScale="100" shadowOffsetDist="1" shadowRadiusUnit="MM" shadowColor="0,0,0,255" shadowDraw="0" shadowRadius="1.5" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetGlobal="1" shadowBlendMode="6" shadowRadiusAlphaOnly="0" shadowOpacity="0.7"/>
<substitutions/>
</text-style>
<text-format formatNumbers="0" rightDirectionSymbol=">" multilineAlign="3" useMaxLineLengthForAutoWrap="1" decimals="3" plussign="0" wrapChar="" autoWrapLength="0" placeDirectionSymbol="0" reverseDirectionSymbol="0" leftDirectionSymbol="&lt;" addDirectionSymbol="0"/>
<placement centroidWhole="0" repeatDistanceUnits="MM" yOffset="0" preserveRotation="1" repeatDistanceMapUnitScale="3x:0,0,0,0,0,0" fitInPolygonOnly="0" placement="1" dist="0" distUnits="MM" centroidInside="0" offsetType="0" offsetUnits="MM" predefinedPositionOrder="TR,TL,BR,BL,R,L,TSR,BSR" quadOffset="1" repeatDistance="0" xOffset="0" labelOffsetMapUnitScale="3x:0,0,0,0,0,0" rotationAngle="0" distMapUnitScale="3x:0,0,0,0,0,0" maxCurvedCharAngleIn="25" maxCurvedCharAngleOut="-25" priority="5" placementFlags="10"/>
<rendering zIndex="0" obstacleFactor="1" limitNumLabels="0" obstacle="1" maxNumLabels="2000" minFeatureSize="0" scaleVisibility="0" drawLabels="1" scaleMin="0" upsidedownLabels="0" fontMinPixelSize="3" obstacleType="0" fontLimitPixelSize="0" scaleMax="0" displayAll="0" mergeLines="0" fontMaxPixelSize="10000" labelPerPart="0"/>
<dd_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</dd_properties>
</settings>
</labeling>
<customproperties>
<property key="embeddedWidgets/count" value="0"/>
<property key="variableNames"/>
<property key="variableValues"/>
</customproperties>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<layerOpacity>1</layerOpacity>
<SingleCategoryDiagramRenderer diagramType="Histogram" attributeLegend="1">
<DiagramCategory backgroundAlpha="255" scaleBasedVisibility="0" barWidth="5" height="15" scaleDependency="Area" penColor="#000000" enabled="0" penAlpha="255" lineSizeScale="3x:0,0,0,0,0,0" labelPlacementMethod="XHeight" rotationOffset="270" penWidth="0" lineSizeType="MM" sizeScale="3x:0,0,0,0,0,0" diagramOrientation="Up" minScaleDenominator="0" minimumSize="0" sizeType="MM" width="15" opacity="1" backgroundColor="#ffffff" maxScaleDenominator="1e+08">
<fontProperties style="" description="MS Shell Dlg 2,8.1,-1,5,50,0,0,0,0,0"/>
<attribute color="#000000" field="" label=""/>
</DiagramCategory>
</SingleCategoryDiagramRenderer>
<DiagramLayerSettings showAll="1" zIndex="0" priority="0" placement="0" dist="0" linePlacementFlags="18" obstacle="0">
<properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</properties>
</DiagramLayerSettings>
<geometryOptions removeDuplicateNodes="0" geometryPrecision="0">
<activeChecks/>
<checkConfiguration/>
</geometryOptions>
<fieldConfiguration>
<field name="uuid">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="shortname">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="timestamp">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="value">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="trend">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="stateMnwMhw">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
<field name="stateNswHsw">
<editWidget type="TextEdit">
<config>
<Option/>
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias field="uuid" index="0" name=""/>
<alias field="shortname" index="1" name=""/>
<alias field="timestamp" index="2" name=""/>
<alias field="value" index="3" name=""/>
<alias field="trend" index="4" name=""/>
<alias field="stateMnwMhw" index="5" name=""/>
<alias field="stateNswHsw" index="6" name=""/>
</aliases>
<excludeAttributesWMS/>
<excludeAttributesWFS/>
<defaults>
<default expression="" field="uuid" applyOnUpdate="0"/>
<default expression="" field="shortname" applyOnUpdate="0"/>
<default expression="" field="timestamp" applyOnUpdate="0"/>
<default expression="" field="value" applyOnUpdate="0"/>
<default expression="" field="trend" applyOnUpdate="0"/>
<default expression="" field="stateMnwMhw" applyOnUpdate="0"/>
<default expression="" field="stateNswHsw" applyOnUpdate="0"/>
</defaults>
<constraints>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="uuid"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="shortname"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="timestamp"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="value"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="trend"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="stateMnwMhw"/>
<constraint notnull_strength="0" constraints="0" unique_strength="0" exp_strength="0" field="stateNswHsw"/>
</constraints>
<constraintExpressions>
<constraint desc="" exp="" field="uuid"/>
<constraint desc="" exp="" field="shortname"/>
<constraint desc="" exp="" field="timestamp"/>
<constraint desc="" exp="" field="value"/>
<constraint desc="" exp="" field="trend"/>
<constraint desc="" exp="" field="stateMnwMhw"/>
<constraint desc="" exp="" field="stateNswHsw"/>
</constraintExpressions>
<expressionfields/>
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
</attributeactions>
<attributetableconfig sortExpression="" sortOrder="0" actionWidgetStyle="dropDown">
<columns>
<column type="field" width="-1" hidden="0" name="uuid"/>
<column type="field" width="-1" hidden="0" name="shortname"/>
<column type="field" width="-1" hidden="0" name="timestamp"/>
<column type="field" width="-1" hidden="0" name="value"/>
<column type="field" width="-1" hidden="0" name="trend"/>
<column type="field" width="-1" hidden="0" name="stateMnwMhw"/>
<column type="field" width="-1" hidden="0" name="stateNswHsw"/>
<column type="actions" width="-1" hidden="1"/>
</columns>
</attributetableconfig>
<conditionalstyles>
<rowstyles/>
<fieldstyles/>
</conditionalstyles>
<editform tolerant="1"></editform>
<editforminit/>
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath></editforminitfilepath>
<editforminitcode><![CDATA[# -*- coding: utf-8 -*-
"""
QGIS forms can have a Python function that is called when the form is
opened.
Use this function to add extra logic to your forms.
Enter the name of the function in the "Python Init function"
field.
An example follows:
"""
from qgis.PyQt.QtWidgets import QWidget
def my_form_open(dialog, layer, feature):
geom = feature.geometry()
control = dialog.findChild(QWidget, "MyLineEdit")
]]></editforminitcode>
<featformsuppress>0</featformsuppress>
<editorlayout>generatedlayout</editorlayout>
<editable>
<field editable="1" name="shortname"/>
<field editable="1" name="stateMnwMhw"/>
<field editable="1" name="stateNswHsw"/>
<field editable="1" name="timestamp"/>
<field editable="1" name="trend"/>
<field editable="1" name="uuid"/>
<field editable="1" name="value"/>
</editable>
<labelOnTop>
<field labelOnTop="0" name="shortname"/>
<field labelOnTop="0" name="stateMnwMhw"/>
<field labelOnTop="0" name="stateNswHsw"/>
<field labelOnTop="0" name="timestamp"/>
<field labelOnTop="0" name="trend"/>
<field labelOnTop="0" name="uuid"/>
<field labelOnTop="0" name="value"/>
</labelOnTop>
<widgets/>
<previewExpression>uuid</previewExpression>
<mapTip></mapTip>
<layerGeometryType>0</layerGeometryType>
</qgis>

View File

@ -1,8 +0,0 @@
import os
local_dir = r"J:\gp190225\Home\.qgis3\profiles\default\python\plugins\pegelonline"
lyr = iface.activeLayer()
lyr.loadNamedStyle(os.path.join(local_dir, "styles/trend.qml"))
if iface.mapCanvas().isCachingEnabled():
lyr.triggerRepaint()
else:
iface.mapCanvas().refresh()