Nyall Dawson
fc76784e09
Misc documentation fixes causing errors in PyQGIS doc builder
2025-04-09 14:04:24 +10:00
Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
f480c2a04e
Add all missing class brief descriptions
2025-03-28 14:23:56 +10:00
Juho Ervasti
13ee0bf5cf
Apply suggestions from review
2024-12-10 09:56:33 +10:00
JuhoErvasti
5c49205bd2
Add maximumExtentBuffer() function to QgsFeatureRenderer
2024-12-10 09:56:33 +10:00
Nyall Dawson
c50c923261
Add API to determine if feature renderer affects labeling results
2024-09-14 13:25:59 +10:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation
2024-09-10 11:11:25 +10:00
Nyall Dawson
cc6b83449d
Add some missing class docstrings
2024-08-16 07:28:29 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
be8dce7d0d
Valid improvements from new sipify
2024-08-13 20:28:55 +10:00
Nyall Dawson
aa39eabde1
Add framework for feature renderer level data defined properties
2024-05-10 12:06:18 +10:00
Nyall Dawson
61b72b7d96
Fix see also
2024-05-10 06:09:56 +10:00
Nyall Dawson
04f96fcf4b
Move responsibility for creating vector legend nodes to renderer
...
This will allow renderer subclasses to create legend nodes which
aren't QgsSymbolLegendNodes.
2024-05-10 06:09:56 +10:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.'
2024-02-18 20:46:01 +01: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
046883fa9c
Promote QgsWkbTypes enums to enum class, move to Qgis
2023-02-22 12:39:21 +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
793f887dd6
Add method to convert vector renderer legend rule keys to equivalent
...
QgsExpression filter
2022-03-22 11:18:54 +10:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09
Run sipify_all.sh
2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306
run sipify
2021-10-12 16:34:05 +10:00
Nyall Dawson
ae4c1b0d2a
Add missing transfer annotation
2021-09-11 06:14:45 +10:00
Nyall Dawson
2724315a99
Move enums from QgsVectorLayer to Qgis, promote to enum classes,
...
and fix redundant QgsVectorLayer.VertexMarkerType enum
2021-07-19 14:02:39 +10:00
Nyall Dawson
d6709e0145
Fix docs, better check
2021-06-29 07:33:35 +10:00
Nyall Dawson
0565c3ffb8
Retain more renderer properties when switching between vector
...
renderer types
2021-06-29 07:33:35 +10:00
Nyall Dawson
849819cd0d
[api] Allow reference scale for vector layer renderer to be set
...
Gives a means of setting the reference scale for a vector layer
renderer, so that symbol sizes in the rendered layer will be
scaled accordingly depending on the actual scale of the
rendered map.
2021-06-29 07:33:35 +10:00
Nyall Dawson
c8da0c43f9
Safer approach to saving common QgsFeatureRenderer properties
2021-06-29 07:33:35 +10:00
Nyall Dawson
b5dfe8f155
Refactor enum handling
...
- Add enums to qgis.h instead of qgscoreenums, so that they belong to
a Qgis namespace
- Split up the various symbol headers into multiple files so that we
can fine-tune their inclusion and forward declare more readily, speeding
up recompilation
- Move QgsSymbol enums to qgis
2021-05-18 16:59:22 +10:00
Nyall Dawson
50082a396f
Create new "Embedded Symbol" renderer
...
This renderer will draw features using their embedded feature symbology
2021-03-06 16:37:46 +10:00
Nyall Dawson
f32d563041
Add virtual method QgsFeatureRenderer::usesEmbeddedSymbols()
...
Should return true for feature renderers which require embedded
feature symbology. The corresponding feature request flag will
be set on the iterator used for the renderer will rendering vector
layers.
2021-03-06 16:37:46 +10:00
Denis Rouzaud
2cc632ee5d
follow up QVariant
2021-01-03 20:16:56 +01:00
Even Rouault
a76670e521
QStringLiteral -> QLatin1String changes generated by scripts/qstringfixup.sh --all
2020-10-11 12:30:58 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Nyall Dawson
cedd73ee4d
More list formatting fixes
2020-06-13 16:49:14 +10:00
Matthias Kuhn
5c439ab693
More efficient loops
2019-11-02 16:05:28 +01:00
Nyall Dawson
590d1aae9d
[FEATURE][API] Visitor API for style entities
...
Adds a new visitor pattern API for creation of visitors which visit
all the style entities (symbols, color ramps, text formats, and
label styles) associated with different objects. Can be used on a
renderer, map layer, or project wide level.
E.g. on a project wide level, allows collection of ALL the style
symbols/color ramps/text settings inside a project, including those
in layouts or annotations!
2019-07-06 12:36:54 +10:00
Nyall Dawson
e23ceaa806
Mark render features methods as throwing QgsCsException, to allow it to be nicely caught in Python
2019-05-22 07:12:06 +10:00
Nyall Dawson
107b48a430
Add NULLPTR macro for use in doxygen comments
...
For the c++ api dox this expands to "\c nullptr" (the
\c directive indicates a code literal value), and for sipify/Python
it expands to ``None`` (`` is sphinx annotation for literal values)
Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
a7ca08784c
Nullptr consistency in dox
2019-02-27 09:41:11 +10:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Mathieu Pellerin
8ac762e5e1
[ui] Fix tiny vertex marker on hidpi
2019-02-04 16:43:04 +07:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Nyall Dawson
9f650fead9
Fix incorrect param docstring when doxygen \param has extra
...
trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00
Nyall Dawson
c864d22d1f
Add "get ..." to doxygen compliance blacklist
...
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00