|
| 1 | +<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> |
| 2 | +<qgis simplifyAlgorithm="0" hasScaleBasedVisibilityFlag="0" maxScale="0" mincale="1e+08" simplifyDrawingHints="1" simplifyLocal="1" version="2.99.0-Master" readOnly="0" simplifyDrawingTol="1" simplifyMaxScale="1"> |
| 3 | + <renderer-v2 forceraster="0" enableorderby="0" symbollevels="0" type="singleSymbol"> |
| 4 | + <symbols> |
| 5 | + <symbol name="0" alpha="1" type="line" clip_to_extent="1"> |
| 6 | + <layer locked="0" class="SimpleLine" pass="0" enabled="1"> |
| 7 | + <prop v="square" k="capstyle"/> |
| 8 | + <prop v="5;2" k="customdash"/> |
| 9 | + <prop v="3x:0,0,0,0,0,0" k="customdash_map_unit_scale"/> |
| 10 | + <prop v="MM" k="customdash_unit"/> |
| 11 | + <prop v="0" k="draw_inside_polygon"/> |
| 12 | + <prop v="bevel" k="joinstyle"/> |
| 13 | + <prop v="198,33,179,255" k="line_color"/> |
| 14 | + <prop v="solid" k="line_style"/> |
| 15 | + <prop v="0.26" k="line_width"/> |
| 16 | + <prop v="MM" k="line_width_unit"/> |
| 17 | + <prop v="0" k="offset"/> |
| 18 | + <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/> |
| 19 | + <prop v="MM" k="offset_unit"/> |
| 20 | + <prop v="0" k="use_custom_dash"/> |
| 21 | + <prop v="3x:0,0,0,0,0,0" k="width_map_unit_scale"/> |
| 22 | + <data_defined_properties> |
| 23 | + <Option type="Map"> |
| 24 | + <Option name="name" value="" type="QString"/> |
| 25 | + <Option name="properties"/> |
| 26 | + <Option name="type" value="collection" type="QString"/> |
| 27 | + </Option> |
| 28 | + </data_defined_properties> |
| 29 | + </layer> |
| 30 | + </symbol> |
| 31 | + </symbols> |
| 32 | + <rotation/> |
| 33 | + <sizescale/> |
| 34 | + </renderer-v2> |
| 35 | + <labeling type="simple"> |
| 36 | + <settings> |
| 37 | + <text-style namedStyle="Regular" fontSize="10" fontLetterSpacing="0" multilineHeight="1" fontWordSpacing="0" useSubstitutions="0" fontUnderline="0" previewBkgrdColor="#ffffff" isExpression="0" fontWeight="50" fontCapitals="0" fieldName="name" textColor="0,0,0,255" textOpacity="1" fontStrikeout="0" fontFamily="Noto Sans" fontSizeMapUnitScale="3x:0,0,0,0,0,0" blendMode="0" fontSizeUnit="Point" fontItalic="0"> |
| 38 | + <text-buffer bufferSize="1" bufferDraw="0" bufferColor="255,255,255,255" bufferJoinStyle="128" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferNoFill="1" bufferBlendMode="0" bufferSizeUnits="MM" bufferOpacity="1"/> |
| 39 | + <background shapeRotation="0" shapeBorderWidthUnit="MM" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiY="0" shapeBorderWidth="0" shapeRadiiUnit="MM" shapeBorderColor="128,128,128,255" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeOffsetY="0" shapeJoinStyle="64" shapeSizeX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeY="0" shapeRotationType="0" shapeSizeUnit="MM" shapeBlendMode="0" shapeDraw="0" shapeSizeType="0" shapeRadiiX="0" shapeSVGFile="" shapeOffsetUnit="MM" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeFillColor="255,255,255,255" shapeType="0" shapeOpacity="1"/> |
| 40 | + <shadow shadowOffsetAngle="135" shadowOffsetGlobal="1" shadowOffsetDist="1" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowDraw="0" shadowUnder="0" shadowOpacity="0.7" shadowOffsetUnit="MM" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowBlendMode="6" shadowRadiusAlphaOnly="0" shadowScale="100" shadowRadius="1.5" shadowRadiusUnit="MM" shadowColor="0,0,0,255"/> |
| 41 | + <substitutions/> |
| 42 | + </text-style> |
| 43 | + <text-format placeDirectionSymbol="0" multilineAlign="4294967295" wrapChar="" rightDirectionSymbol=">" leftDirectionSymbol="<" plussign="0" formatNumbers="0" reverseDirectionSymbol="0" addDirectionSymbol="0" decimals="3"/> |
| 44 | + <placement rotationAngle="0" dist="0" priority="5" placement="2" placementFlags="10" labelOffsetInMapUnits="1" quadOffset="4" repeatDistanceUnit="1" distInMapUnits="0" centroidWhole="0" yOffset="0" centroidInside="0" maxCurvedCharAngleIn="25" repeatDistanceMapUnitScale="3x:0,0,0,0,0,0" distMapUnitScale="3x:0,0,0,0,0,0" maxCurvedCharAngleOut="-25" labelOffsetMapUnitScale="3x:0,0,0,0,0,0" xOffset="0" repeatDistance="0" predefinedPositionOrder="TR,TL,BR,BL,R,L,TSR,BSR" preserveRotation="1" fitInPolygonOnly="0" offsetType="0"/> |
| 45 | + <rendering obstacle="1" zIndex="0" mergeLines="0" scaleVisibility="0" limitNumLabels="0" maxNumLabels="2000" drawLabels="1" scaleMax="0" fontLimitPixelSize="0" fontMinPixelSize="3" minFeatureSize="0" labelPerPart="0" obstacleFactor="1" displayAll="0" obstacleType="0" scaleMin="0" upsidedownLabels="0" fontMaxPixelSize="10000"/> |
| 46 | + <dd_properties> |
| 47 | + <Option type="Map"> |
| 48 | + <Option name="name" value="" type="QString"/> |
| 49 | + <Option name="properties"/> |
| 50 | + <Option name="type" value="collection" type="QString"/> |
| 51 | + </Option> |
| 52 | + </dd_properties> |
| 53 | + </settings> |
| 54 | + </labeling> |
| 55 | + <customproperties> |
| 56 | + <property value="0" key="embeddedWidgets/count"/> |
| 57 | + <property key="variableNames"/> |
| 58 | + <property key="variableValues"/> |
| 59 | + </customproperties> |
| 60 | + <blendMode>0</blendMode> |
| 61 | + <featureBlendMode>0</featureBlendMode> |
| 62 | + <layerOpacity>1</layerOpacity> |
| 63 | + <SingleCategoryDiagramRenderer sizeLegend="0" diagramType="Histogram" attributeLegend="1"> |
| 64 | + <DiagramCategory sizeType="MM" opacity="1" scaleBasedVisibility="0" width="15" backgroundColor="#ffffff" enabled="0" penAlpha="255" lineSizeScale="3x:0,0,0,0,0,0" penWidth="0" scaleDependency="Area" rotationOffset="270" lineSizeType="MM" labelPlacementMethod="XHeight" backgroundAlpha="255" barWidth="5" penColor="#000000" minScaleDenominator="0" sizeScale="3x:0,0,0,0,0,0" minimumSize="0" maxScaleDenominator="1e+08" diagramOrientation="Up" height="15"> |
| 65 | + <fontProperties style="" description="Noto Sans,9,-1,5,50,0,0,0,0,0"/> |
| 66 | + </DiagramCategory> |
| 67 | + <symbol name="sizeSymbol" alpha="1" type="marker" clip_to_extent="1"> |
| 68 | + <layer locked="0" class="SimpleMarker" pass="0" enabled="1"> |
| 69 | + <prop v="0" k="angle"/> |
| 70 | + <prop v="255,0,0,255" k="color"/> |
| 71 | + <prop v="1" k="horizontal_anchor_point"/> |
| 72 | + <prop v="bevel" k="joinstyle"/> |
| 73 | + <prop v="circle" k="name"/> |
| 74 | + <prop v="0,0" k="offset"/> |
| 75 | + <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/> |
| 76 | + <prop v="MM" k="offset_unit"/> |
| 77 | + <prop v="0,0,0,255" k="outline_color"/> |
| 78 | + <prop v="solid" k="outline_style"/> |
| 79 | + <prop v="0" k="outline_width"/> |
| 80 | + <prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/> |
| 81 | + <prop v="MM" k="outline_width_unit"/> |
| 82 | + <prop v="diameter" k="scale_method"/> |
| 83 | + <prop v="2" k="size"/> |
| 84 | + <prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/> |
| 85 | + <prop v="MM" k="size_unit"/> |
| 86 | + <prop v="1" k="vertical_anchor_point"/> |
| 87 | + <data_defined_properties> |
| 88 | + <Option type="Map"> |
| 89 | + <Option name="name" value="" type="QString"/> |
| 90 | + <Option name="properties"/> |
| 91 | + <Option name="type" value="collection" type="QString"/> |
| 92 | + </Option> |
| 93 | + </data_defined_properties> |
| 94 | + </layer> |
| 95 | + </symbol> |
| 96 | + </SingleCategoryDiagramRenderer> |
| 97 | + <DiagramLayerSettings placement="2" obstacle="0" showAll="1" priority="0" dist="0" zIndex="0" linePlacementFlags="18"> |
| 98 | + <properties> |
| 99 | + <Option type="Map"> |
| 100 | + <Option name="name" value="" type="QString"/> |
| 101 | + <Option name="properties"/> |
| 102 | + <Option name="type" value="collection" type="QString"/> |
| 103 | + </Option> |
| 104 | + </properties> |
| 105 | + </DiagramLayerSettings> |
| 106 | + <fieldConfiguration> |
| 107 | + <field name="dissolve"> |
| 108 | + <editWidget type="TextEdit"> |
| 109 | + <config> |
| 110 | + <Option/> |
| 111 | + </config> |
| 112 | + </editWidget> |
| 113 | + </field> |
| 114 | + <field name="scalerank"> |
| 115 | + <editWidget type="Range"> |
| 116 | + <config> |
| 117 | + <Option/> |
| 118 | + </config> |
| 119 | + </editWidget> |
| 120 | + </field> |
| 121 | + <field name="featurecla"> |
| 122 | + <editWidget type="TextEdit"> |
| 123 | + <config> |
| 124 | + <Option/> |
| 125 | + </config> |
| 126 | + </editWidget> |
| 127 | + </field> |
| 128 | + <field name="name"> |
| 129 | + <editWidget type="TextEdit"> |
| 130 | + <config> |
| 131 | + <Option/> |
| 132 | + </config> |
| 133 | + </editWidget> |
| 134 | + </field> |
| 135 | + <field name="name_alt"> |
| 136 | + <editWidget type="TextEdit"> |
| 137 | + <config> |
| 138 | + <Option/> |
| 139 | + </config> |
| 140 | + </editWidget> |
| 141 | + </field> |
| 142 | + <field name="rivernum"> |
| 143 | + <editWidget type="TextEdit"> |
| 144 | + <config> |
| 145 | + <Option/> |
| 146 | + </config> |
| 147 | + </editWidget> |
| 148 | + </field> |
| 149 | + <field name="note"> |
| 150 | + <editWidget type="TextEdit"> |
| 151 | + <config> |
| 152 | + <Option/> |
| 153 | + </config> |
| 154 | + </editWidget> |
| 155 | + </field> |
| 156 | + </fieldConfiguration> |
| 157 | + <aliases> |
| 158 | + <alias name="" field="dissolve" index="0"/> |
| 159 | + <alias name="" field="scalerank" index="1"/> |
| 160 | + <alias name="" field="featurecla" index="2"/> |
| 161 | + <alias name="" field="name" index="3"/> |
| 162 | + <alias name="" field="name_alt" index="4"/> |
| 163 | + <alias name="" field="rivernum" index="5"/> |
| 164 | + <alias name="" field="note" index="6"/> |
| 165 | + </aliases> |
| 166 | + <excludeAttributesWMS/> |
| 167 | + <excludeAttributesWFS/> |
| 168 | + <defaults> |
| 169 | + <default field="dissolve" expression=""/> |
| 170 | + <default field="scalerank" expression=""/> |
| 171 | + <default field="featurecla" expression=""/> |
| 172 | + <default field="name" expression=""/> |
| 173 | + <default field="name_alt" expression=""/> |
| 174 | + <default field="rivernum" expression=""/> |
| 175 | + <default field="note" expression=""/> |
| 176 | + </defaults> |
| 177 | + <constraints> |
| 178 | + <constraint field="dissolve" unique_strength="0" notnull_strength="0" exp_strength="0" constraints="0"/> |
| 179 | + <constraint field="scalerank" unique_strength="0" notnull_strength="0" exp_strength="0" constraints="0"/> |
| 180 | + <constraint field="featurecla" unique_strength="0" notnull_strength="0" exp_strength="0" constraints="0"/> |
| 181 | + <constraint field="name" unique_strength="0" notnull_strength="0" exp_strength="0" constraints="0"/> |
| 182 | + <constraint field="name_alt" unique_strength="0" notnull_strength="0" exp_strength="0" constraints="0"/> |
| 183 | + <constraint field="rivernum" unique_strength="0" notnull_strength="0" exp_strength="0" constraints="0"/> |
| 184 | + <constraint field="note" unique_strength="0" notnull_strength="0" exp_strength="0" constraints="0"/> |
| 185 | + </constraints> |
| 186 | + <constraintExpressions> |
| 187 | + <constraint field="dissolve" desc="" exp=""/> |
| 188 | + <constraint field="scalerank" desc="" exp=""/> |
| 189 | + <constraint field="featurecla" desc="" exp=""/> |
| 190 | + <constraint field="name" desc="" exp=""/> |
| 191 | + <constraint field="name_alt" desc="" exp=""/> |
| 192 | + <constraint field="rivernum" desc="" exp=""/> |
| 193 | + <constraint field="note" desc="" exp=""/> |
| 194 | + </constraintExpressions> |
| 195 | + <attributeactions> |
| 196 | + <defaultAction value="{00000000-0000-0000-0000-000000000000}" key="Canvas"/> |
| 197 | + </attributeactions> |
| 198 | + <attributetableconfig sortExpression="" actionWidgetStyle="dropDown" sortOrder="0"> |
| 199 | + <columns> |
| 200 | + <column name="dissolve" hidden="0" type="field" width="-1"/> |
| 201 | + <column name="scalerank" hidden="0" type="field" width="-1"/> |
| 202 | + <column name="featurecla" hidden="0" type="field" width="-1"/> |
| 203 | + <column name="name" hidden="0" type="field" width="-1"/> |
| 204 | + <column name="name_alt" hidden="0" type="field" width="-1"/> |
| 205 | + <column name="rivernum" hidden="0" type="field" width="-1"/> |
| 206 | + <column name="note" hidden="0" type="field" width="-1"/> |
| 207 | + <column hidden="1" type="actions" width="-1"/> |
| 208 | + </columns> |
| 209 | + </attributetableconfig> |
| 210 | + <editform></editform> |
| 211 | + <editforminit/> |
| 212 | + <editforminitcodesource>0</editforminitcodesource> |
| 213 | + <editforminitfilepath></editforminitfilepath> |
| 214 | + <editforminitcode><![CDATA[# -*- coding: utf-8 -*- |
| 215 | +""" |
| 216 | +QGIS forms can have a Python function that is called when the form is |
| 217 | +opened. |
| 218 | +
|
| 219 | +Use this function to add extra logic to your forms. |
| 220 | +
|
| 221 | +Enter the name of the function in the "Python Init function" |
| 222 | +field. |
| 223 | +An example follows: |
| 224 | +""" |
| 225 | +from qgis.PyQt.QtWidgets import QWidget |
| 226 | + |
| 227 | +def my_form_open(dialog, layer, feature): |
| 228 | + geom = feature.geometry() |
| 229 | + control = dialog.findChild(QWidget, "MyLineEdit") |
| 230 | +]]></editforminitcode> |
| 231 | + <featformsuppress>0</featformsuppress> |
| 232 | + <editorlayout>generatedlayout</editorlayout> |
| 233 | + <widgets/> |
| 234 | + <conditionalstyles> |
| 235 | + <rowstyles/> |
| 236 | + <fieldstyles/> |
| 237 | + </conditionalstyles> |
| 238 | + <expressionfields/> |
| 239 | + <previewExpression>name</previewExpression> |
| 240 | + <mapTip></mapTip> |
| 241 | + <layerGeometryType>1</layerGeometryType> |
| 242 | +</qgis> |
0 commit comments