Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q4TS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
opentelemac
Q4TS
Commits
6698fc90
Commit
6698fc90
authored
1 year ago
by
Jean-Marie Kerloch
Browse files
Options
Downloads
Plain Diff
Merge branch 'feat/update_contour_style' into 'develop'
feat(qml): update style for countour mesh Closes
#160
See merge request
!147
parents
e5de72ee
65733281
No related branches found
No related tags found
1 merge request
!147
feat(qml): update style for countour mesh
Pipeline
#14371
passed
1 year ago
Stage: 🐍 lint
Stage: 🤞 test
Stage: 📦 build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
q4ts/style/ContourMesh.qml
+448
-0
448 additions, 0 deletions
q4ts/style/ContourMesh.qml
q4ts/ui/create_boundary_widget.py
+1
-1
1 addition, 1 deletion
q4ts/ui/create_boundary_widget.py
with
449 additions
and
1 deletion
q4ts/style/ContourMesh.qml
0 → 100644
+
448
−
0
View file @
6698fc90
<!
DOCTYPE
qgis
PUBLIC
'
http://mrcc.com/qgis.dtd
'
'
SYSTEM
'
>
<
qgis
labelsEnabled
=
"
0
"
hasScaleBasedVisibilityFlag
=
"
0
"
minScale
=
"
100000000
"
version
=
"
3.28.1-Firenze
"
symbologyReferenceScale
=
"
-1
"
simplifyDrawingHints
=
"
1
"
styleCategories
=
"
AllStyleCategories
"
simplifyAlgorithm
=
"
0
"
maxScale
=
"
0
"
simplifyDrawingTol
=
"
1
"
simplifyMaxScale
=
"
1
"
readOnly
=
"
0
"
simplifyLocal
=
"
1
"
>
<
flags
>
<
Identifiable
>
1
<
/Identifiable
>
<
Removable
>
1
<
/Removable
>
<
Searchable
>
1
<
/Searchable
>
<
Private
>
0
<
/Private
>
<
/flags
>
<
temporal
enabled
=
"
0
"
accumulate
=
"
0
"
mode
=
"
0
"
endExpression
=
""
fixedDuration
=
"
0
"
endField
=
""
durationField
=
""
startExpression
=
""
durationUnit
=
"
min
"
limitMode
=
"
0
"
startField
=
""
>
<
fixedRange
>
<
start
><
/start
>
<
end
><
/end
>
<
/fixedRange
>
<
/temporal
>
<
elevation
respectLayerSymbol
=
"
1
"
extrusionEnabled
=
"
0
"
zoffset
=
"
0
"
binding
=
"
Centroid
"
clamping
=
"
Terrain
"
extrusion
=
"
0
"
type
=
"
IndividualFeatures
"
symbology
=
"
Line
"
showMarkerSymbolInSurfacePlots
=
"
0
"
zscale
=
"
1
"
>
<
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
>
<
profileLineSymbol
>
<
symbol
alpha
=
"
1
"
is_animated
=
"
0
"
name
=
""
clip_to_extent
=
"
1
"
force_rhr
=
"
0
"
frame_rate
=
"
10
"
type
=
"
line
"
>
<
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
enabled
=
"
1
"
class
=
"
SimpleLine
"
locked
=
"
0
"
pass
=
"
0
"
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
align_dash_pattern
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
capstyle
"
type
=
"
QString
"
value
=
"
square
"
/>
<
Option
name
=
"
customdash
"
type
=
"
QString
"
value
=
"
5;2
"
/>
<
Option
name
=
"
customdash_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
customdash_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
dash_pattern_offset
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
dash_pattern_offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
dash_pattern_offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
draw_inside_polygon
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
joinstyle
"
type
=
"
QString
"
value
=
"
bevel
"
/>
<
Option
name
=
"
line_color
"
type
=
"
QString
"
value
=
"
213,180,60,255
"
/>
<
Option
name
=
"
line_style
"
type
=
"
QString
"
value
=
"
solid
"
/>
<
Option
name
=
"
line_width
"
type
=
"
QString
"
value
=
"
0.6
"
/>
<
Option
name
=
"
line_width_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
offset
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
ring_filter
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_end
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_end_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
trim_distance_end_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
trim_distance_start
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_start_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
trim_distance_start_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
tweak_dash_pattern_on_corners
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
use_custom_dash
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
width_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
/Option
>
<
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
>
<
/profileLineSymbol
>
<
profileFillSymbol
>
<
symbol
alpha
=
"
1
"
is_animated
=
"
0
"
name
=
""
clip_to_extent
=
"
1
"
force_rhr
=
"
0
"
frame_rate
=
"
10
"
type
=
"
fill
"
>
<
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
enabled
=
"
1
"
class
=
"
SimpleFill
"
locked
=
"
0
"
pass
=
"
0
"
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
border_width_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
color
"
type
=
"
QString
"
value
=
"
213,180,60,255
"
/>
<
Option
name
=
"
joinstyle
"
type
=
"
QString
"
value
=
"
bevel
"
/>
<
Option
name
=
"
offset
"
type
=
"
QString
"
value
=
"
0,0
"
/>
<
Option
name
=
"
offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
outline_color
"
type
=
"
QString
"
value
=
"
152,129,43,255
"
/>
<
Option
name
=
"
outline_style
"
type
=
"
QString
"
value
=
"
solid
"
/>
<
Option
name
=
"
outline_width
"
type
=
"
QString
"
value
=
"
0.2
"
/>
<
Option
name
=
"
outline_width_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
style
"
type
=
"
QString
"
value
=
"
solid
"
/>
<
/Option
>
<
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
>
<
/profileFillSymbol
>
<
profileMarkerSymbol
>
<
symbol
alpha
=
"
1
"
is_animated
=
"
0
"
name
=
""
clip_to_extent
=
"
1
"
force_rhr
=
"
0
"
frame_rate
=
"
10
"
type
=
"
marker
"
>
<
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
enabled
=
"
1
"
class
=
"
SimpleMarker
"
locked
=
"
0
"
pass
=
"
0
"
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
angle
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
cap_style
"
type
=
"
QString
"
value
=
"
square
"
/>
<
Option
name
=
"
color
"
type
=
"
QString
"
value
=
"
213,180,60,255
"
/>
<
Option
name
=
"
horizontal_anchor_point
"
type
=
"
QString
"
value
=
"
1
"
/>
<
Option
name
=
"
joinstyle
"
type
=
"
QString
"
value
=
"
bevel
"
/>
<
Option
name
=
"
name
"
type
=
"
QString
"
value
=
"
diamond
"
/>
<
Option
name
=
"
offset
"
type
=
"
QString
"
value
=
"
0,0
"
/>
<
Option
name
=
"
offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
outline_color
"
type
=
"
QString
"
value
=
"
152,129,43,255
"
/>
<
Option
name
=
"
outline_style
"
type
=
"
QString
"
value
=
"
solid
"
/>
<
Option
name
=
"
outline_width
"
type
=
"
QString
"
value
=
"
0.2
"
/>
<
Option
name
=
"
outline_width_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
outline_width_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
scale_method
"
type
=
"
QString
"
value
=
"
diameter
"
/>
<
Option
name
=
"
size
"
type
=
"
QString
"
value
=
"
3
"
/>
<
Option
name
=
"
size_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
size_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
vertical_anchor_point
"
type
=
"
QString
"
value
=
"
1
"
/>
<
/Option
>
<
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
>
<
/profileMarkerSymbol
>
<
/elevation
>
<
renderer
-
v2
symbollevels
=
"
0
"
referencescale
=
"
-1
"
forceraster
=
"
0
"
type
=
"
singleSymbol
"
enableorderby
=
"
0
"
>
<
symbols
>
<
symbol
alpha
=
"
1
"
is_animated
=
"
0
"
name
=
"
0
"
clip_to_extent
=
"
1
"
force_rhr
=
"
0
"
frame_rate
=
"
10
"
type
=
"
fill
"
>
<
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
enabled
=
"
1
"
class
=
"
SimpleLine
"
locked
=
"
0
"
pass
=
"
0
"
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
align_dash_pattern
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
capstyle
"
type
=
"
QString
"
value
=
"
square
"
/>
<
Option
name
=
"
customdash
"
type
=
"
QString
"
value
=
"
5;2
"
/>
<
Option
name
=
"
customdash_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
customdash_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
dash_pattern_offset
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
dash_pattern_offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
dash_pattern_offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
draw_inside_polygon
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
joinstyle
"
type
=
"
QString
"
value
=
"
bevel
"
/>
<
Option
name
=
"
line_color
"
type
=
"
QString
"
value
=
"
0,0,4,255
"
/>
<
Option
name
=
"
line_style
"
type
=
"
QString
"
value
=
"
solid
"
/>
<
Option
name
=
"
line_width
"
type
=
"
QString
"
value
=
"
0.96
"
/>
<
Option
name
=
"
line_width_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
offset
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
ring_filter
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_end
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_end_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
trim_distance_end_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
trim_distance_start
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_start_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
trim_distance_start_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
tweak_dash_pattern_on_corners
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
use_custom_dash
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
width_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
/Option
>
<
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
>
<
layer
enabled
=
"
1
"
class
=
"
MarkerLine
"
locked
=
"
0
"
pass
=
"
0
"
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
average_angle_length
"
type
=
"
QString
"
value
=
"
4
"
/>
<
Option
name
=
"
average_angle_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
average_angle_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
interval
"
type
=
"
QString
"
value
=
"
3
"
/>
<
Option
name
=
"
interval_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
interval_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
offset
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
offset_along_line
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
offset_along_line_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_along_line_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
place_on_every_part
"
type
=
"
bool
"
value
=
"
true
"
/>
<
Option
name
=
"
placements
"
type
=
"
QString
"
value
=
"
LastVertex|FirstVertex|InnerVertices
"
/>
<
Option
name
=
"
ring_filter
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
rotate
"
type
=
"
QString
"
value
=
"
1
"
/>
<
/Option
>
<
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
>
<
symbol
alpha
=
"
1
"
is_animated
=
"
0
"
name
=
"
@0@1
"
clip_to_extent
=
"
1
"
force_rhr
=
"
0
"
frame_rate
=
"
10
"
type
=
"
marker
"
>
<
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
enabled
=
"
1
"
class
=
"
SimpleMarker
"
locked
=
"
0
"
pass
=
"
0
"
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
angle
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
cap_style
"
type
=
"
QString
"
value
=
"
square
"
/>
<
Option
name
=
"
color
"
type
=
"
QString
"
value
=
"
51,160,44,255
"
/>
<
Option
name
=
"
horizontal_anchor_point
"
type
=
"
QString
"
value
=
"
1
"
/>
<
Option
name
=
"
joinstyle
"
type
=
"
QString
"
value
=
"
bevel
"
/>
<
Option
name
=
"
name
"
type
=
"
QString
"
value
=
"
square
"
/>
<
Option
name
=
"
offset
"
type
=
"
QString
"
value
=
"
0,0
"
/>
<
Option
name
=
"
offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
outline_color
"
type
=
"
QString
"
value
=
"
35,35,35,255
"
/>
<
Option
name
=
"
outline_style
"
type
=
"
QString
"
value
=
"
solid
"
/>
<
Option
name
=
"
outline_width
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
outline_width_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
outline_width_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
scale_method
"
type
=
"
QString
"
value
=
"
diameter
"
/>
<
Option
name
=
"
size
"
type
=
"
QString
"
value
=
"
2
"
/>
<
Option
name
=
"
size_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
size_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
vertical_anchor_point
"
type
=
"
QString
"
value
=
"
1
"
/>
<
/Option
>
<
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
>
<
/layer
>
<
/symbol
>
<
/symbols
>
<
rotation
/>
<
sizescale
/>
<
/renderer-v2
>
<
customproperties
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
embeddedWidgets/count
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
variableNames
"
/>
<
Option
name
=
"
variableValues
"
/>
<
/Option
>
<
/customproperties
>
<
blendMode
>
0
<
/blendMode
>
<
featureBlendMode
>
0
<
/featureBlendMode
>
<
layerOpacity
>
1
<
/layerOpacity
>
<
SingleCategoryDiagramRenderer
attributeLegend
=
"
1
"
diagramType
=
"
Histogram
"
>
<
DiagramCategory
penColor
=
"
#000000
"
maxScaleDenominator
=
"
1e+08
"
penAlpha
=
"
255
"
minimumSize
=
"
0
"
sizeType
=
"
MM
"
labelPlacementMethod
=
"
XHeight
"
diagramOrientation
=
"
Up
"
barWidth
=
"
5
"
penWidth
=
"
0
"
backgroundColor
=
"
#ffffff
"
lineSizeType
=
"
MM
"
opacity
=
"
1
"
lineSizeScale
=
"
3x:0,0,0,0,0,0
"
minScaleDenominator
=
"
0
"
spacingUnitScale
=
"
3x:0,0,0,0,0,0
"
width
=
"
15
"
height
=
"
15
"
backgroundAlpha
=
"
255
"
scaleDependency
=
"
Area
"
showAxis
=
"
1
"
enabled
=
"
0
"
rotationOffset
=
"
270
"
direction
=
"
0
"
sizeScale
=
"
3x:0,0,0,0,0,0
"
spacing
=
"
5
"
scaleBasedVisibility
=
"
0
"
spacingUnit
=
"
MM
"
>
<
fontProperties
underline
=
"
0
"
italic
=
"
0
"
description
=
"
MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0
"
strikethrough
=
"
0
"
bold
=
"
0
"
style
=
""
/>
<
attribute
colorOpacity
=
"
1
"
label
=
""
field
=
""
color
=
"
#000000
"
/>
<
axisSymbol
>
<
symbol
alpha
=
"
1
"
is_animated
=
"
0
"
name
=
""
clip_to_extent
=
"
1
"
force_rhr
=
"
0
"
frame_rate
=
"
10
"
type
=
"
line
"
>
<
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
enabled
=
"
1
"
class
=
"
SimpleLine
"
locked
=
"
0
"
pass
=
"
0
"
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
align_dash_pattern
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
capstyle
"
type
=
"
QString
"
value
=
"
square
"
/>
<
Option
name
=
"
customdash
"
type
=
"
QString
"
value
=
"
5;2
"
/>
<
Option
name
=
"
customdash_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
customdash_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
dash_pattern_offset
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
dash_pattern_offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
dash_pattern_offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
draw_inside_polygon
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
joinstyle
"
type
=
"
QString
"
value
=
"
bevel
"
/>
<
Option
name
=
"
line_color
"
type
=
"
QString
"
value
=
"
35,35,35,255
"
/>
<
Option
name
=
"
line_style
"
type
=
"
QString
"
value
=
"
solid
"
/>
<
Option
name
=
"
line_width
"
type
=
"
QString
"
value
=
"
0.26
"
/>
<
Option
name
=
"
line_width_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
offset
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
offset_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
offset_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
ring_filter
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_end
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_end_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
trim_distance_end_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
trim_distance_start
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
trim_distance_start_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
Option
name
=
"
trim_distance_start_unit
"
type
=
"
QString
"
value
=
"
MM
"
/>
<
Option
name
=
"
tweak_dash_pattern_on_corners
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
use_custom_dash
"
type
=
"
QString
"
value
=
"
0
"
/>
<
Option
name
=
"
width_map_unit_scale
"
type
=
"
QString
"
value
=
"
3x:0,0,0,0,0,0
"
/>
<
/Option
>
<
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
>
<
/axisSymbol
>
<
/DiagramCategory
>
<
/SingleCategoryDiagramRenderer
>
<
DiagramLayerSettings
linePlacementFlags
=
"
18
"
obstacle
=
"
0
"
zIndex
=
"
0
"
placement
=
"
1
"
showAll
=
"
1
"
priority
=
"
0
"
dist
=
"
0
"
>
<
properties
>
<
Option
type
=
"
Map
"
>
<
Option
name
=
"
name
"
type
=
"
QString
"
value
=
""
/>
<
Option
name
=
"
properties
"
/>
<
Option
name
=
"
type
"
type
=
"
QString
"
value
=
"
collection
"
/>
<
/Option
>
<
/properties
>
<
/DiagramLayerSettings
>
<
geometryOptions
geometryPrecision
=
"
0
"
removeDuplicateNodes
=
"
0
"
>
<
activeChecks
/>
<
checkConfiguration
type
=
"
Map
"
>
<
Option
name
=
"
QgsGeometryGapCheck
"
type
=
"
Map
"
>
<
Option
name
=
"
allowedGapsBuffer
"
type
=
"
double
"
value
=
"
0
"
/>
<
Option
name
=
"
allowedGapsEnabled
"
type
=
"
bool
"
value
=
"
false
"
/>
<
Option
name
=
"
allowedGapsLayer
"
type
=
"
QString
"
value
=
""
/>
<
/Option
>
<
/checkConfiguration
>
<
/geometryOptions
>
<
legend
showLabelLegend
=
"
0
"
type
=
"
default-vector
"
/>
<
referencedLayers
/>
<
fieldConfiguration
>
<
field
name
=
"
fid
"
configurationFlags
=
"
None
"
>
<
editWidget
type
=
"
TextEdit
"
>
<
config
>
<
Option
/>
<
/config
>
<
/editWidget
>
<
/field
>
<
field
name
=
"
name
"
configurationFlags
=
"
None
"
>
<
editWidget
type
=
"
TextEdit
"
>
<
config
>
<
Option
/>
<
/config
>
<
/editWidget
>
<
/field
>
<
/fieldConfiguration
>
<
aliases
>
<
alias
name
=
""
field
=
"
fid
"
index
=
"
0
"
/>
<
alias
name
=
""
field
=
"
name
"
index
=
"
1
"
/>
<
/aliases
>
<
defaults
>
<
default
applyOnUpdate
=
"
0
"
field
=
"
fid
"
expression
=
""
/>
<
default
applyOnUpdate
=
"
0
"
field
=
"
name
"
expression
=
""
/>
<
/defaults
>
<
constraints
>
<
constraint
notnull_strength
=
"
1
"
field
=
"
fid
"
exp_strength
=
"
0
"
constraints
=
"
3
"
unique_strength
=
"
1
"
/>
<
constraint
notnull_strength
=
"
0
"
field
=
"
name
"
exp_strength
=
"
0
"
constraints
=
"
0
"
unique_strength
=
"
0
"
/>
<
/constraints
>
<
constraintExpressions
>
<
constraint
exp
=
""
field
=
"
fid
"
desc
=
""
/>
<
constraint
exp
=
""
field
=
"
name
"
desc
=
""
/>
<
/constraintExpressions
>
<
expressionfields
/>
<
attributeactions
>
<
defaultAction
key
=
"
Canvas
"
value
=
"
{00000000-0000-0000-0000-000000000000}
"
/>
<
/attributeactions
>
<
attributetableconfig
sortOrder
=
"
0
"
actionWidgetStyle
=
"
dropDown
"
sortExpression
=
""
>
<
columns
>
<
column
name
=
"
name
"
hidden
=
"
0
"
width
=
"
-1
"
type
=
"
field
"
/>
<
column
name
=
"
fid
"
hidden
=
"
0
"
width
=
"
-1
"
type
=
"
field
"
/>
<
column
hidden
=
"
1
"
width
=
"
-1
"
type
=
"
actions
"
/>
<
/columns
>
<
/attributetableconfig
>
<
conditionalstyles
>
<
rowstyles
/>
<
fieldstyles
/>
<
/conditionalstyles
>
<
storedexpressions
/>
<
editform
tolerant
=
"
1
"
><
/editform
>
<
editforminit
/>
<
editforminitcodesource
>
0
<
/editforminitcodesource
>
<
editforminitfilepath
><
/editforminitfilepath
>
<
editforminitcode
><!
[
CDATA
[
#
-*-
coding
:
utf
-
8
-*-
"""
Les formulaires QGIS peuvent avoir une fonction Python qui sera appelée à l'ouverture du formulaire.
Utilisez cette fonction pour ajouter plus de fonctionnalités à vos formulaires.
Entrez le nom de la fonction dans le champ
"
Fonction
d
'
initialisation Python".
Voici un exemple à suivre:
"""
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="NR" editable="1"/>
<field name="TEXT" editable="1"/>
<field name="TYPE" editable="1"/>
<field name="default" editable="1"/>
<field name="fid" editable="1"/>
<field name="name" editable="1"/>
</editable>
<labelOnTop>
<field name="NR" labelOnTop="0"/>
<field name="TEXT" labelOnTop="0"/>
<field name="TYPE" labelOnTop="0"/>
<field name="default" labelOnTop="0"/>
<field name="fid" labelOnTop="0"/>
<field name="name" labelOnTop="0"/>
</labelOnTop>
<reuseLastValue>
<field name="default" reuseLastValue="0"/>
<field name="fid" reuseLastValue="0"/>
<field name="name" reuseLastValue="0"/>
</reuseLastValue>
<dataDefinedFieldProperties/>
<widgets/>
<previewExpression>"TEXT"</previewExpression>
<mapTip></mapTip>
<layerGeometryType>2</layerGeometryType>
</qgis>
This diff is collapsed.
Click to expand it.
q4ts/ui/create_boundary_widget.py
+
1
−
1
View file @
6698fc90
...
@@ -168,7 +168,7 @@ class CreateBoundaryWidget(AlgorithmWidget):
...
@@ -168,7 +168,7 @@ class CreateBoundaryWidget(AlgorithmWidget):
contour_layer
=
QgsVectorLayer
(
contour_layer_file
,
layer_name
,
"
ogr
"
)
contour_layer
=
QgsVectorLayer
(
contour_layer_file
,
layer_name
,
"
ogr
"
)
# Need to load style before packaging to save style in .gpkg
# Need to load style before packaging to save style in .gpkg
contour_layer
.
loadNamedStyle
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
+
"
/../style/Contour
_v2
.qml
"
)
contour_layer
.
loadNamedStyle
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
+
"
/../style/Contour
Mesh
.qml
"
)
gpkg_file_name
=
get_or_create_q4ts_gpkg
(
self
)
gpkg_file_name
=
get_or_create_q4ts_gpkg
(
self
)
if
gpkg_file_name
:
if
gpkg_file_name
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment