380 Commits

Author SHA1 Message Date
Nyall Dawson
06ed5bd86e Remove unnecessary setAngle/angle overrides in QgsPointPatternFillSymbolLayer 2023-04-14 03:53:52 +10:00
Nyall Dawson
50c76929e1
Followup 30700f1, ensure links to Qgis members are set in docstrings 2023-03-31 10:46:24 +10:00
Alexey Karandashev
30700f1ef1 Fix GeometryType in documentation:
QgsWkbTypes::GeometryType to Qgis::GeometryType
and QgsWkbTypes::<geometry>Geometry to Qgis::GeometryType::<geometry>
2023-03-31 10:28:36 +10:00
Nyall Dawson
efbfaf8046 Add QgsFeatureRenderer::legendKeys method to retrieve all legend
keys for the renderer
2023-03-08 14:27:51 +10:00
Nyall Dawson
b170c0f97e Nicer documentation 2023-03-08 14:27:51 +10:00
Nyall Dawson
723ad914d3
Fix some warnings 2023-02-28 09:01:54 +10:00
Julien Cabieces
8f32f07433 Treat review comments
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-02-27 09:24:40 +01:00
Julien Cabieces
7a2a252d0d fix doc and typos 2023-02-27 09:24:40 +01:00
Julien Cabieces
f8c1c16ec7 fix duplicate layer 2023-02-27 09:24:40 +01:00
Julien Cabieces
b7d800aed2 fix api doc 2023-02-27 09:24:40 +01:00
Julien Cabieces
906757349e fix text renderer tests 2023-02-27 09:24:40 +01:00
Julien Cabieces
b0cce7ac54 don't deprecate a class, sip fails 2023-02-27 09:24:40 +01:00
Julien Cabieces
11e88ad425 fix documentation 2023-02-27 09:24:40 +01:00
Julien Cabieces
5ff9229a8b fix tests 2023-02-27 09:24:40 +01:00
Julien Cabieces
388c6e3ee6 fix project migration of old reference to new ones 2023-02-27 09:24:38 +01:00
Julien Cabieces
7ed58763ed Fix vector rendering of fill symbol layer 2023-02-27 09:23:19 +01:00
Julien Cabieces
b3af80e3e4 [Selective masking]Fixes #34352 : use QUUid to identify symbol layer
Don't use pointers anymore because there are not stable when it comes
to clone
2023-02-27 09:23:16 +01:00
Nyall Dawson
9815333dd4 Fix using interpolated line symbol layer for polygon outlines
It was doing weird things, and silently reverting back to a blue
simple fill
2023-02-27 17:57:55 +10:00
Nyall Dawson
c6a1a57230 Add some missing documentation 2023-02-22 12:39:21 +10:00
Nyall Dawson
046883fa9c Promote QgsWkbTypes enums to enum class, move to Qgis 2023-02-22 12:39:21 +10:00
Nyall Dawson
ef3c301a34 Fix loss of first color for lineburst symbol layers in GUI
Fixes #51942
2023-02-22 11:32:38 +10:00
Nyall Dawson
ab97a3a1c5 Add since 2023-02-20 17:43:44 +10:00
Nyall Dawson
88c6f8430e When no rule based rules fall within the map scale range, don't
needlessly iterate through all features in the layer

Previously when the rules all resulted in filtering out all
features due to the map scale falling outside all rule scale
ranges, we'd still fetch every feature from the layer and
attempt to draw them...
2023-02-20 17:43:44 +10:00
Nyall Dawson
f9c3da1e06 Move unit enums to Qgis, promote to enum class 2023-02-19 13:29:06 +10:00
Alex
7cf5848222
don't recycle rulekeys when copy pasting rules in the rule-based render widget (#51292)
Fixes #47915
2023-02-02 09:03:36 +10:00
Alessandro Pasotti
1b10375a13 Doxy 2023-01-28 16:29:37 +01:00
Alessandro Pasotti
a5265bc75a Fix SLD loading when using external graphic raster image fill 2023-01-28 14:19:27 +01:00
Alessandro Pasotti
694ebda27c
Merge pull request #51467 from elpaso/sld-export-options-png
SLD: export options png
2023-01-22 10:29:47 +01:00
Alessandro Pasotti
24703f7e6a Address PR Comments 2023-01-17 10:28:11 +01:00
Alessandro Pasotti
7a3abbd7e4 Add tests 2023-01-13 12:46:58 +01:00
Denis Rouzaud
40231e84b4 sipify 2023-01-12 15:00:51 +01:00
Alessandro Pasotti
0ddee0b231 Tests for tile size 2023-01-11 18:05:50 +01:00
Alessandro Pasotti
889a263352 Linepattern 2023-01-10 18:30:24 +01:00
Alessandro Pasotti
ddd010d037 Tile size algorithm 2023-01-10 17:36:01 +01:00
Alessandro Pasotti
8282358e9f Adjust tile size 2023-01-09 12:18:43 +01:00
Nyall Dawson
73e50bfc06 Ensure correct expression context is used when generating symbol preview
icons

Fixes #49106
2022-09-29 15:32:46 +10:00
Julien Cabieces
dcf64e80fe add an ok boolean to check if it exists a restricted symbol 2022-09-21 09:30:45 +02:00
Julien Cabieces
e24700df2d Move geom generator logic in QgsSymbolLayerUtils 2022-09-15 15:10:08 +02:00
Nyall Dawson
33788b6cb4 Remove more old qt fallbacks 2022-08-12 20:36:07 +10:00
Nyall Dawson
94ea21764b Fix storing reference to feature which goes out of scope leads
to crashes in rule based renderer
2022-08-10 17:00:48 +10:00
Zayne Tomlins
dc2bad87c2 [feature] Added new ellipse marker shapes
Added Pentagon, Hexagon, Octagon, Third Circle, Quarter Circle & Star to ellipse marker shapes.
2022-07-25 18:51:13 +10:00
Nyall Dawson
a3e72bdc52 Ensure that all units are changed when setting output unit for a symbol
Fixes #45961
2022-05-31 16:11:55 +10:00
Nyall Dawson
4f204c2dff Better approach to filtering lists by tags which works across different
styles

Fixes #48659
2022-05-24 13:26:03 +10:00
Nyall Dawson
c6ba421644 Cleanup some more of the default style/project instance initialisation spaghetti
And avoid some more QgsProject::instance() in core
2022-05-17 16:36:00 +10:00
Nyall Dawson
aa658465f8 Cleanup handling of default label format for project, and avoid a QgsProject::instance() use in core 2022-05-17 16:36:00 +10:00
Nyall Dawson
1251b115f4 Better way to mark styles as read only 2022-05-17 16:36:00 +10:00
Nyall Dawson
42a758ec6a Allow lazy setting of style manager QgsStyle 2022-05-17 16:36:00 +10:00
Nyall Dawson
66aaf36059 [feature] Show entities from all project style databases in symbol and label
selectors
2022-05-17 16:36:00 +10:00
Nyall Dawson
e4d2adda27 Add entity name to style model roles 2022-05-17 16:36:00 +10:00
Nyall Dawson
6529309f48 Fix header data for combined model 2022-05-17 16:36:00 +10:00