|
| 1 | +<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> |
| 2 | +<qgis minScale="1e+8" readOnly="0" version="3.3.0-Master" simplifyDrawingTol="1" simplifyDrawingHints="0" simplifyLocal="1" simplifyMaxScale="1" maxScale="0" labelsEnabled="0" hasScaleBasedVisibilityFlag="0" simplifyAlgorithm="0"> |
| 3 | + <renderer-v2 type="singleSymbol" forceraster="0" symbollevels="0" enableorderby="0"> |
| 4 | + <symbols> |
| 5 | + <symbol clip_to_extent="1" name="0" type="marker" alpha="1"> |
| 6 | + <layer pass="0" locked="0" class="SimpleMarker" enabled="1"> |
| 7 | + <prop v="0" k="angle"/> |
| 8 | + <prop v="55,126,184,255" k="color"/> |
| 9 | + <prop v="1" k="horizontal_anchor_point"/> |
| 10 | + <prop v="bevel" k="joinstyle"/> |
| 11 | + <prop v="circle" k="name"/> |
| 12 | + <prop v="0,0" k="offset"/> |
| 13 | + <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/> |
| 14 | + <prop v="MM" k="offset_unit"/> |
| 15 | + <prop v="35,35,35,255" k="outline_color"/> |
| 16 | + <prop v="no" k="outline_style"/> |
| 17 | + <prop v="0" k="outline_width"/> |
| 18 | + <prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/> |
| 19 | + <prop v="MM" k="outline_width_unit"/> |
| 20 | + <prop v="diameter" k="scale_method"/> |
| 21 | + <prop v="10" k="size"/> |
| 22 | + <prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/> |
| 23 | + <prop v="MM" k="size_unit"/> |
| 24 | + <prop v="1" k="vertical_anchor_point"/> |
| 25 | + <data_defined_properties> |
| 26 | + <Option type="Map"> |
| 27 | + <Option name="name" type="QString" value=""/> |
| 28 | + <Option name="properties" type="Map"> |
| 29 | + <Option name="size" type="Map"> |
| 30 | + <Option name="active" type="bool" value="false"/> |
| 31 | + <Option name="type" type="int" value="1"/> |
| 32 | + <Option name="val" type="QString" value=""/> |
| 33 | + </Option> |
| 34 | + </Option> |
| 35 | + <Option name="type" type="QString" value="collection"/> |
| 36 | + </Option> |
| 37 | + </data_defined_properties> |
| 38 | + </layer> |
| 39 | + <layer pass="0" locked="0" class="SimpleMarker" enabled="1"> |
| 40 | + <prop v="0" k="angle"/> |
| 41 | + <prop v="255,149,0,255" k="color"/> |
| 42 | + <prop v="1" k="horizontal_anchor_point"/> |
| 43 | + <prop v="bevel" k="joinstyle"/> |
| 44 | + <prop v="circle" k="name"/> |
| 45 | + <prop v="0,0" k="offset"/> |
| 46 | + <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/> |
| 47 | + <prop v="MM" k="offset_unit"/> |
| 48 | + <prop v="35,35,35,255" k="outline_color"/> |
| 49 | + <prop v="no" k="outline_style"/> |
| 50 | + <prop v="0" k="outline_width"/> |
| 51 | + <prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/> |
| 52 | + <prop v="MM" k="outline_width_unit"/> |
| 53 | + <prop v="diameter" k="scale_method"/> |
| 54 | + <prop v="8" k="size"/> |
| 55 | + <prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/> |
| 56 | + <prop v="MM" k="size_unit"/> |
| 57 | + <prop v="1" k="vertical_anchor_point"/> |
| 58 | + <data_defined_properties> |
| 59 | + <Option type="Map"> |
| 60 | + <Option name="name" type="QString" value=""/> |
| 61 | + <Option name="properties" type="Map"> |
| 62 | + <Option name="fillColor" type="Map"> |
| 63 | + <Option name="active" type="bool" value="true"/> |
| 64 | + <Option name="expression" type="QString" value="ramp_color('Viridis', 60 / second(now()))"/> |
| 65 | + <Option name="type" type="int" value="3"/> |
| 66 | + </Option> |
| 67 | + <Option name="size" type="Map"> |
| 68 | + <Option name="active" type="bool" value="false"/> |
| 69 | + <Option name="type" type="int" value="1"/> |
| 70 | + <Option name="val" type="QString" value=""/> |
| 71 | + </Option> |
| 72 | + </Option> |
| 73 | + <Option name="type" type="QString" value="collection"/> |
| 74 | + </Option> |
| 75 | + </data_defined_properties> |
| 76 | + </layer> |
| 77 | + <layer pass="0" locked="0" class="SimpleMarker" enabled="1"> |
| 78 | + <prop v="0" k="angle"/> |
| 79 | + <prop v="255,0,0,255" k="color"/> |
| 80 | + <prop v="1" k="horizontal_anchor_point"/> |
| 81 | + <prop v="bevel" k="joinstyle"/> |
| 82 | + <prop v="cross" k="name"/> |
| 83 | + <prop v="0,0" k="offset"/> |
| 84 | + <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/> |
| 85 | + <prop v="MM" k="offset_unit"/> |
| 86 | + <prop v="55,126,184,255" k="outline_color"/> |
| 87 | + <prop v="solid" k="outline_style"/> |
| 88 | + <prop v="2" k="outline_width"/> |
| 89 | + <prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/> |
| 90 | + <prop v="MM" k="outline_width_unit"/> |
| 91 | + <prop v="diameter" k="scale_method"/> |
| 92 | + <prop v="5" k="size"/> |
| 93 | + <prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/> |
| 94 | + <prop v="MM" k="size_unit"/> |
| 95 | + <prop v="1" k="vertical_anchor_point"/> |
| 96 | + <data_defined_properties> |
| 97 | + <Option type="Map"> |
| 98 | + <Option name="name" type="QString" value=""/> |
| 99 | + <Option name="properties" type="Map"> |
| 100 | + <Option name="angle" type="Map"> |
| 101 | + <Option name="active" type="bool" value="true"/> |
| 102 | + <Option name="expression" type="QString" value="second(now()) * 6"/> |
| 103 | + <Option name="type" type="int" value="3"/> |
| 104 | + </Option> |
| 105 | + </Option> |
| 106 | + <Option name="type" type="QString" value="collection"/> |
| 107 | + </Option> |
| 108 | + </data_defined_properties> |
| 109 | + </layer> |
| 110 | + </symbol> |
| 111 | + </symbols> |
| 112 | + <rotation/> |
| 113 | + <sizescale/> |
| 114 | + <effect type="effectStack" enabled="1"> |
| 115 | + <effect type="dropShadow"> |
| 116 | + <prop v="13" k="blend_mode"/> |
| 117 | + <prop v="3" k="blur_level"/> |
| 118 | + <prop v="124,124,124,255" k="color"/> |
| 119 | + <prop v="2" k="draw_mode"/> |
| 120 | + <prop v="1" k="enabled"/> |
| 121 | + <prop v="135" k="offset_angle"/> |
| 122 | + <prop v="2" k="offset_distance"/> |
| 123 | + <prop v="MM" k="offset_unit"/> |
| 124 | + <prop v="3x:0,0,0,0,0,0" k="offset_unit_scale"/> |
| 125 | + <prop v="1" k="opacity"/> |
| 126 | + </effect> |
| 127 | + <effect type="outerGlow"> |
| 128 | + <prop v="0" k="blend_mode"/> |
| 129 | + <prop v="3" k="blur_level"/> |
| 130 | + <prop v="0,0,255,255" k="color1"/> |
| 131 | + <prop v="0,255,0,255" k="color2"/> |
| 132 | + <prop v="0" k="color_type"/> |
| 133 | + <prop v="0" k="discrete"/> |
| 134 | + <prop v="2" k="draw_mode"/> |
| 135 | + <prop v="0" k="enabled"/> |
| 136 | + <prop v="0.5" k="opacity"/> |
| 137 | + <prop v="gradient" k="rampType"/> |
| 138 | + <prop v="255,255,255,255" k="single_color"/> |
| 139 | + <prop v="2" k="spread"/> |
| 140 | + <prop v="MM" k="spread_unit"/> |
| 141 | + <prop v="3x:0,0,0,0,0,0" k="spread_unit_scale"/> |
| 142 | + </effect> |
| 143 | + <effect type="drawSource"> |
| 144 | + <prop v="0" k="blend_mode"/> |
| 145 | + <prop v="2" k="draw_mode"/> |
| 146 | + <prop v="1" k="enabled"/> |
| 147 | + <prop v="1" k="opacity"/> |
| 148 | + </effect> |
| 149 | + <effect type="innerShadow"> |
| 150 | + <prop v="13" k="blend_mode"/> |
| 151 | + <prop v="10" k="blur_level"/> |
| 152 | + <prop v="0,0,0,255" k="color"/> |
| 153 | + <prop v="2" k="draw_mode"/> |
| 154 | + <prop v="0" k="enabled"/> |
| 155 | + <prop v="135" k="offset_angle"/> |
| 156 | + <prop v="2" k="offset_distance"/> |
| 157 | + <prop v="MM" k="offset_unit"/> |
| 158 | + <prop v="3x:0,0,0,0,0,0" k="offset_unit_scale"/> |
| 159 | + <prop v="1" k="opacity"/> |
| 160 | + </effect> |
| 161 | + <effect type="innerGlow"> |
| 162 | + <prop v="0" k="blend_mode"/> |
| 163 | + <prop v="3" k="blur_level"/> |
| 164 | + <prop v="0,0,255,255" k="color1"/> |
| 165 | + <prop v="0,255,0,255" k="color2"/> |
| 166 | + <prop v="0" k="color_type"/> |
| 167 | + <prop v="0" k="discrete"/> |
| 168 | + <prop v="2" k="draw_mode"/> |
| 169 | + <prop v="0" k="enabled"/> |
| 170 | + <prop v="0.5" k="opacity"/> |
| 171 | + <prop v="gradient" k="rampType"/> |
| 172 | + <prop v="255,255,255,255" k="single_color"/> |
| 173 | + <prop v="2" k="spread"/> |
| 174 | + <prop v="MM" k="spread_unit"/> |
| 175 | + <prop v="3x:0,0,0,0,0,0" k="spread_unit_scale"/> |
| 176 | + </effect> |
| 177 | + </effect> |
| 178 | + </renderer-v2> |
| 179 | + <customproperties> |
| 180 | + <property key="embeddedWidgets/count" value="0"/> |
| 181 | + <property key="variableNames"/> |
| 182 | + <property key="variableValues"/> |
| 183 | + </customproperties> |
| 184 | + <blendMode>0</blendMode> |
| 185 | + <featureBlendMode>0</featureBlendMode> |
| 186 | + <layerOpacity>1</layerOpacity> |
| 187 | + <SingleCategoryDiagramRenderer diagramType="Histogram" attributeLegend="1"> |
| 188 | + <DiagramCategory rotationOffset="270" lineSizeType="MM" diagramOrientation="Up" penAlpha="255" sizeScale="3x:0,0,0,0,0,0" lineSizeScale="3x:0,0,0,0,0,0" scaleDependency="Area" maxScaleDenominator="1e+8" penWidth="0" width="15" backgroundAlpha="255" enabled="0" scaleBasedVisibility="0" sizeType="MM" minScaleDenominator="0" labelPlacementMethod="XHeight" barWidth="5" minimumSize="0" height="15" penColor="#000000" opacity="1" backgroundColor="#ffffff"> |
| 189 | + <fontProperties description=".SF NS Text,13,-1,5,50,0,0,0,0,0" style=""/> |
| 190 | + <attribute color="#000000" label="" field=""/> |
| 191 | + </DiagramCategory> |
| 192 | + </SingleCategoryDiagramRenderer> |
| 193 | + <DiagramLayerSettings zIndex="0" dist="0" showAll="1" linePlacementFlags="18" placement="0" obstacle="0" priority="0"> |
| 194 | + <properties> |
| 195 | + <Option type="Map"> |
| 196 | + <Option name="name" type="QString" value=""/> |
| 197 | + <Option name="properties"/> |
| 198 | + <Option name="type" type="QString" value="collection"/> |
| 199 | + </Option> |
| 200 | + </properties> |
| 201 | + </DiagramLayerSettings> |
| 202 | + <fieldConfiguration> |
| 203 | + <field name="Name"> |
| 204 | + <editWidget type="TextEdit"> |
| 205 | + <config> |
| 206 | + <Option/> |
| 207 | + </config> |
| 208 | + </editWidget> |
| 209 | + </field> |
| 210 | + <field name="Committer"> |
| 211 | + <editWidget type="TextEdit"> |
| 212 | + <config> |
| 213 | + <Option/> |
| 214 | + </config> |
| 215 | + </editWidget> |
| 216 | + </field> |
| 217 | + <field name="First Commit Message"> |
| 218 | + <editWidget type="TextEdit"> |
| 219 | + <config> |
| 220 | + <Option/> |
| 221 | + </config> |
| 222 | + </editWidget> |
| 223 | + </field> |
| 224 | + <field name="First Commit Date"> |
| 225 | + <editWidget type="TextEdit"> |
| 226 | + <config> |
| 227 | + <Option/> |
| 228 | + </config> |
| 229 | + </editWidget> |
| 230 | + </field> |
| 231 | + <field name="GIT Nickname"> |
| 232 | + <editWidget type="TextEdit"> |
| 233 | + <config> |
| 234 | + <Option/> |
| 235 | + </config> |
| 236 | + </editWidget> |
| 237 | + </field> |
| 238 | + </fieldConfiguration> |
| 239 | + <geometryOptions geometryPrecision="0" removeDuplicateNodes="0"/> |
| 240 | + <aliases> |
| 241 | + <alias name="" field="Name" index="0"/> |
| 242 | + <alias name="" field="Committer" index="1"/> |
| 243 | + <alias name="" field="First Commit Message" index="2"/> |
| 244 | + <alias name="" field="First Commit Date" index="3"/> |
| 245 | + <alias name="" field="GIT Nickname" index="4"/> |
| 246 | + </aliases> |
| 247 | + <excludeAttributesWMS/> |
| 248 | + <excludeAttributesWFS/> |
| 249 | + <defaults> |
| 250 | + <default expression="" field="Name" applyOnUpdate="0"/> |
| 251 | + <default expression="" field="Committer" applyOnUpdate="0"/> |
| 252 | + <default expression="" field="First Commit Message" applyOnUpdate="0"/> |
| 253 | + <default expression="" field="First Commit Date" applyOnUpdate="0"/> |
| 254 | + <default expression="" field="GIT Nickname" applyOnUpdate="0"/> |
| 255 | + </defaults> |
| 256 | + <constraints> |
| 257 | + <constraint notnull_strength="0" field="Name" unique_strength="0" constraints="0" exp_strength="0"/> |
| 258 | + <constraint notnull_strength="0" field="Committer" unique_strength="0" constraints="0" exp_strength="0"/> |
| 259 | + <constraint notnull_strength="0" field="First Commit Message" unique_strength="0" constraints="0" exp_strength="0"/> |
| 260 | + <constraint notnull_strength="0" field="First Commit Date" unique_strength="0" constraints="0" exp_strength="0"/> |
| 261 | + <constraint notnull_strength="0" field="GIT Nickname" unique_strength="0" constraints="0" exp_strength="0"/> |
| 262 | + </constraints> |
| 263 | + <constraintExpressions> |
| 264 | + <constraint field="Name" desc="" exp=""/> |
| 265 | + <constraint field="Committer" desc="" exp=""/> |
| 266 | + <constraint field="First Commit Message" desc="" exp=""/> |
| 267 | + <constraint field="First Commit Date" desc="" exp=""/> |
| 268 | + <constraint field="GIT Nickname" desc="" exp=""/> |
| 269 | + </constraintExpressions> |
| 270 | + <attributeactions> |
| 271 | + <defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/> |
| 272 | + </attributeactions> |
| 273 | + <attributetableconfig sortExpression="" sortOrder="0" actionWidgetStyle="dropDown"> |
| 274 | + <columns> |
| 275 | + <column type="actions" width="-1" hidden="1"/> |
| 276 | + <column name="Name" type="field" width="-1" hidden="0"/> |
| 277 | + <column name="Committer" type="field" width="-1" hidden="0"/> |
| 278 | + <column name="First Commit Message" type="field" width="-1" hidden="0"/> |
| 279 | + <column name="First Commit Date" type="field" width="-1" hidden="0"/> |
| 280 | + <column name="GIT Nickname" type="field" width="-1" hidden="0"/> |
| 281 | + </columns> |
| 282 | + </attributetableconfig> |
| 283 | + <editform tolerant="1"></editform> |
| 284 | + <editforminit/> |
| 285 | + <editforminitcodesource>0</editforminitcodesource> |
| 286 | + <editforminitfilepath></editforminitfilepath> |
| 287 | + <editforminitcode><![CDATA[# -*- coding: utf-8 -*- |
| 288 | +""" |
| 289 | +QGIS forms can have a Python function that is called when the form is |
| 290 | +opened. |
| 291 | +
|
| 292 | +Use this function to add extra logic to your forms. |
| 293 | +
|
| 294 | +Enter the name of the function in the "Python Init function" |
| 295 | +field. |
| 296 | +An example follows: |
| 297 | +""" |
| 298 | +from qgis.PyQt.QtWidgets import QWidget |
| 299 | + |
| 300 | +def my_form_open(dialog, layer, feature): |
| 301 | + geom = feature.geometry() |
| 302 | + control = dialog.findChild(QWidget, "MyLineEdit") |
| 303 | +]]></editforminitcode> |
| 304 | + <featformsuppress>0</featformsuppress> |
| 305 | + <editorlayout>generatedlayout</editorlayout> |
| 306 | + <editable> |
| 307 | + <field editable="1" name="Committer"/> |
| 308 | + <field editable="1" name="First Commit Date"/> |
| 309 | + <field editable="1" name="First Commit Message"/> |
| 310 | + <field editable="1" name="GIT Nickname"/> |
| 311 | + <field editable="1" name="Name"/> |
| 312 | + <field editable="1" name="date_nice"/> |
| 313 | + <field editable="1" name="day_int"/> |
| 314 | + <field editable="1" name="hackfest_number"/> |
| 315 | + <field editable="1" name="month"/> |
| 316 | + <field editable="1" name="month_int"/> |
| 317 | + <field editable="1" name="notes"/> |
| 318 | + <field editable="1" name="place"/> |
| 319 | + <field editable="1" name="year"/> |
| 320 | + </editable> |
| 321 | + <labelOnTop> |
| 322 | + <field labelOnTop="0" name="Committer"/> |
| 323 | + <field labelOnTop="0" name="First Commit Date"/> |
| 324 | + <field labelOnTop="0" name="First Commit Message"/> |
| 325 | + <field labelOnTop="0" name="GIT Nickname"/> |
| 326 | + <field labelOnTop="0" name="Name"/> |
| 327 | + <field labelOnTop="0" name="date_nice"/> |
| 328 | + <field labelOnTop="0" name="day_int"/> |
| 329 | + <field labelOnTop="0" name="hackfest_number"/> |
| 330 | + <field labelOnTop="0" name="month"/> |
| 331 | + <field labelOnTop="0" name="month_int"/> |
| 332 | + <field labelOnTop="0" name="notes"/> |
| 333 | + <field labelOnTop="0" name="place"/> |
| 334 | + <field labelOnTop="0" name="year"/> |
| 335 | + </labelOnTop> |
| 336 | + <widgets/> |
| 337 | + <conditionalstyles> |
| 338 | + <rowstyles/> |
| 339 | + <fieldstyles/> |
| 340 | + </conditionalstyles> |
| 341 | + <expressionfields/> |
| 342 | + <previewExpression>year</previewExpression> |
| 343 | + <mapTip></mapTip> |
| 344 | + <layerGeometryType>0</layerGeometryType> |
| 345 | +</qgis> |
0 commit comments