19757 Commits

Author SHA1 Message Date
Nyall Dawson
a51a9c4854 Add QgsIconUtils::iconForLayerType 2021-07-01 17:37:52 +10:00
Vincent Cloarec
db21851bbb
[mesh] mesh frame editing part-2 - start, commit, roll back and cancel (#43982)
[mesh] allows the user of mesh layers to start editing, save, roll back or cancel editing, in the same way as vector layers (editing part-2)
2021-07-01 08:18:18 +02:00
Nyall Dawson
174d5ee9e0 Ensure python script files saved in the Python console editor use
.py file extension
2021-07-01 15:40:20 +10:00
Alessandro Pasotti
8835b2d05e
Merge pull request #43617 from troopa81/fix_htmlwidget_geom
Set up cache geometry if HTML widget needs it
2021-06-30 10:49:37 +02: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
54610b293c [api] Allow a symbology reference scale to be set on a QgsRenderContext
This should match the desired scale denominator for the rendered map,
eg 1000.0 for a 1:1000 map render. Set (by default) to -1 to disable
symbology scaling by reference scale.

The symbology reference scale is an optional property which specifies
the reference scale at which symbology in paper units (such as
millimeters or points) is fixed to. For instance, if \a scale is set
to 1000 then a 2mm thick line will be rendered at exactly 2mm thick
when a map is rendered at 1:1000, or 1mm thick when rendered at
1:2000, or 4mm thick at 1:500.
2021-06-29 07:33:35 +10:00
nirvn
19eaec7436 [processing] Clear python command in history dialog when selecting a non-algorithm item (i.e. folder) 2021-06-28 00:15:40 -07:00
nirvn
a777ba8a26 [ui][processing] Fix broken enter key showing help instead of running algorithm in history dialog 2021-06-28 00:15:40 -07:00
nicogodet
681ff42938 exit fillTree() if no log entries 2021-06-28 06:44:31 +10:00
Paul Blottiere
ba75f371ba
Merge pull request #43923 from nicogodet/fix-since-39211
Correct since indent legend (follow #39211)
2021-06-25 16:39:26 +02:00
Vincent Cloarec
d326d38660
[mesh] mesh frame editing part-1 (qgis_core) (#43828)
[feature] qgis_core changes to allow mesh layer editing (part-1 or QEP#228)
2021-06-25 16:17:13 +02:00
nicogodet
ff388dc733 Correct since indent legend (follow #39211) 2021-06-25 11:47:50 +02:00
Matthias Kuhn
4d27183715
Merge pull request #39211 from jdugge/indent_legend_groups
[FEATURE] Indentation of legend groups and subgroups
2021-06-25 09:14:32 +02:00
Nyall Dawson
8c9d008413 Spelling 2021-06-25 13:53:52 +10:00
Nyall Dawson
2d489737e2 [feature] Add a "redraw layer only" temporal mode for raster layers
Just like the equivalent setting for vector layers, this option
causes a raster layer to be redrawn on each new animation frame. It's
useful when the layer uses time-based expression values (e.g. data
defined renderer opacity, to fade/in out a raster layer)
2021-06-25 13:53:52 +10:00
Nyall Dawson
2a9c32bb9c [feature] Expose data defined control over raster layer opacity
Allows the opacity of a raster to be varied e.g. on different
pages of an atlas, depending on the visibility of another layer,
by temporal variables, etc...
2021-06-25 13:53:52 +10:00
Nyall Dawson
c013c78285 [api] Attach QgsPropertyCollection to QgsRasterPipe to allow
for data-defined raster pipeline properties
2021-06-25 13:53:52 +10:00
Nyall Dawson
3c3059c938 Fix code example blocks in QgsFeature documentation 2021-06-25 10:50:04 +10:00
Nyall Dawson
711a615be3 Fix raises sphinx format 2021-06-25 10:50:04 +10:00
Even Rouault
8a6ed7d8f9 Address -Woverloaded-virtual clang virtual and enable the warning 2021-06-25 06:37:49 +10:00
Denis Rouzaud
6cdbced874
allow to build auth methods statically (#43866)
* allow to build auth methods statically

* enable static build of all auth methods

* follow-up

* fix static auths

* fix dynamic

* fix bindings

* fix core only

* fix dox

* fix dox again

* fix bindings again

* fix test and more

* some cleanup

* fix test

* add missing gui edits

* O2_DLL

* fix bindings with core only

* fix SIP feature

* fix SIP condition

* disable feature earlier

* fix auth manager bindings without gui

* put back virtual methods
2021-06-24 16:48:47 +02:00
Denis Rouzaud
8915a0751a put back virtual methods 2021-06-24 16:10:33 +02:00
Denis Rouzaud
cfb4241767 fix auth manager bindings without gui 2021-06-24 15:27:42 +02:00
Denis Rouzaud
437b3efb92 disable feature earlier 2021-06-24 15:13:46 +02:00
mhugent
cb2fb67d0d
Merge pull request #43639 from mhugent/network_request_preprocessor
Network request preprocessor
2021-06-24 14:43:04 +02:00
Sandro Mani
23b4786cc8
Merge pull request #43526 from kadas-albireo/attachments
Implement project file attachments
2021-06-24 14:42:03 +02:00
Denis Rouzaud
144098b905 fix SIP condition 2021-06-24 13:43:16 +02:00
Denis Rouzaud
51f25b7df9 fix SIP feature 2021-06-24 11:48:49 +02:00
Denis Rouzaud
1851e379d1 fix bindings with core only 2021-06-24 11:24:18 +02:00
Sandro Mani
c518912922
Merge pull request #43883 from kadas-albireo/includes
Install missing headers, fix includes from installed location
2021-06-24 02:56:28 +02:00
Sandro Mani
83f73027ad Install missing headers, fix includes from installed location 2021-06-24 01:08:45 +02:00
Andrea Giudiceandrea
f55b5b9e6f Fix UnicodeDecodeError in Processing history 2021-06-24 07:53:51 +10:00
nicogodet
908e38a20a typo 2021-06-24 04:36:26 +10:00
Denis Rouzaud
e02d341197 fix bindings again 2021-06-23 15:05:18 +02:00
Denis Rouzaud
e25ff6f370 fix dox 2021-06-23 14:53:40 +02:00
Denis Rouzaud
b0b22bb6bf fix bindings 2021-06-23 14:30:28 +02:00
Denis Rouzaud
a42df3b856 allow to build auth methods statically 2021-06-23 12:52:26 +02:00
Nyall Dawson
69debff405 Add convenience method to directly convert QgsProviderSublayerDetails
object to a QgsMapLayer
2021-06-23 19:35:11 +10:00
Nyall Dawson
00db2820cd Add generic method to QgsMapLayerFactory to create map layers of
any type
2021-06-23 19:35:11 +10:00
Nyall Dawson
07f5812383 Add uri to QgsProviderSublayerDetails 2021-06-23 19:35:11 +10:00
Denis Rouzaud
55e20eb800
avoid code duplication of fromEncodedComponent_helper(QGIS)/qt_urlRecodeByteArray(Qt) (#43842) 2021-06-23 09:11:03 +00:00
Nyall Dawson
f50dd99ed7 Dox++ 2021-06-23 17:30:47 +10:00
Nyall Dawson
f62ddb37a2 Promote QgsRasterPipe enums to enum classes in Qgis namespace
and add forward declares where possible
2021-06-23 17:30:47 +10:00
Nyall Dawson
e2b7f0712e Improve QgsRasterPipe docs 2021-06-23 17:30:47 +10:00
Sandro Mani
6f0bac42be Also support project attachments for QGS format 2021-06-22 11:46:51 +02:00
Sandro Mani
001d363b2e Implement project file attachments 2021-06-22 09:04:48 +02:00
Nyall Dawson
2430173427 Fix since 2021-06-22 08:43:39 +10:00