56746 Commits

Author SHA1 Message Date
Nyall Dawson
03e2c4dae7 Add since 2019-07-31 05:08:12 +10:00
Sandro Mani
91d5c2d55c Add QgsUnitTypes::areaToDistanceUnit 2019-07-31 05:08:12 +10:00
Nyall Dawson
a123a51b5f Optimisations for shapeburst fill rendering 2019-07-31 05:07:48 +10:00
Nyall Dawson
ee29b4c5ca Use QgsImageOperation optimized implementation of stackblur in shapeburst fill 2019-07-31 05:07:48 +10:00
Nyall Dawson
43068c66f6 Move stackblur operation to header so it can be inlined 2019-07-31 05:07:48 +10:00
Nyall Dawson
041aa70724 Const 2019-07-31 05:07:17 +10:00
Nyall Dawson
e02591c09b Much faster copying of expression contexts with a project scope present 2019-07-31 05:07:17 +10:00
Nyall Dawson
5af2e52fff Allow custom drop handlers to indicate that they will accept a mime type
in advance

Allows non-standard mime types to be dropped onto the QGIS window,
which will be handled by custom drop handlers
2019-07-31 05:06:50 +10:00
Nyall Dawson
0238f98471 Simplify method 2019-07-31 02:51:46 +10:00
Sandro Mani
3cf94e98fc Inizialize QgsGpsInformation with sane values, add QgsGpsInformation::isValid and QgsGpsInformation::fixStatus 2019-07-31 02:51:46 +10:00
Nyall Dawson
fc79502763 Fix unnecessary calculations performed when a layer is set not to be an obstacle for other labels 2019-07-31 02:40:50 +10:00
Nyall Dawson
5931933b41 [labeling] Avoid lots of unnecessary work involving disabled data defined properties 2019-07-31 02:40:50 +10:00
lbartoletti
9e4a7eb66f add *BSD to osName 2019-07-30 18:32:03 +02:00
nirvn
0ffd1174db Address review 2019-07-30 18:06:26 +07:00
nirvn
b68a9c3b81 Add tests 2019-07-30 18:06:26 +07:00
nirvn
ec99bd6240 [FEATURE][callouts] Add anchor point position settings for polygon features 2019-07-30 18:06:26 +07:00
Matthias Kuhn
5873bc8316 fix typo 2019-07-30 11:57:41 +02:00
Matthias Kuhn
6333ecc738 When default ellipsoid is not planimetric use the CRS defined ellipsoid 2019-07-30 11:52:25 +02:00
Matthias Kuhn
f3c268262f Do not change ellipsoid on CRS change when it's planimetric 2019-07-30 11:47:38 +02:00
Matthias Kuhn
845c9cdd95 Only expose a single "default ellipsoid" option: planimetric or not 2019-07-30 11:47:34 +02:00
lbartoletti
794a8efc81 Fixes empty WKT. Fixes #20753, Fixes #19190, Fixes #20754 (#9645)
* Fixes empty WKT. Fixes #20753, Fixes #19190, Fixes #20754
2019-07-30 09:34:53 +02:00
Nyall Dawson
45fba385c5 Fix ui file build warning 2019-07-30 08:21:15 +10:00
lbartoletti
c1f454d5f9 fix preview for circle with 3 tangents 2019-07-30 08:20:23 +10:00
Nyall Dawson
2aec816b16 [needs-docs] Add option to show superseded (but not deprecated)
coordinate operations when selecting operations

This is the closest equivalent for the existing "hide deprecated"
checkbox which is available in proj < 6 builds.

Requires Proj >= 6.2
2019-07-30 07:24:53 +10:00
nirvn
8b5ba4a0cf Fix rebase gone wrong and address review 2019-07-29 15:14:34 +07:00
nirvn
3a37c83da7 [FEATURE][layout] Add horizontal placement option for scale bar labels 2019-07-29 15:14:34 +07:00
nirvn
e5deb5517b [FEATURE][layout] Add above/below segments placement option for scale bar labels 2019-07-29 15:14:34 +07:00
Nyall Dawson
5911f96fa9 [FEATURE][labelling] Expose "label all parts" option via label
properties tool

Makes it easier to set this option per-feature
2019-07-29 16:41:09 +10:00
Nyall Dawson
f59fc9e622 Use QgsAlignmentComboBox in scalebar settings 2019-07-29 15:39:12 +10:00
Nyall Dawson
1106af7925 Don't calculate the symbol outputUnit and mapUnitScale only for
retrieval by unused, deprecated methods

Whilst technically this is an API break, it's costly to calculate
these for symbols and the results are completely unused, except
for in some deprecated getters which are very unlikely to be
used by external plugins (and which shouldn't be used, in any case...)
2019-07-29 15:38:40 +10:00
Nyall Dawson
31c2291e41 [labeling] Disable alignment combo boxes in label properties dialog
for non-pinned labels

These have no effect, so enabling them is misleading

Refs https://gis.stackexchange.com/questions/330312/changing-vertical-and-horizontal-position-for-specific-label-in-qgis
2019-07-29 12:48:18 +10:00
nirvn
cf215e149d [ui] Fix hidpi/resizing issue with auxiliary-related dialogs 2019-07-29 12:40:01 +10:00
Nyall Dawson
4d5fe9a086 [FEATURE][callouts] Add setting to allow callouts to be drawn to all parts
of a multi-part feature

Also data-definable!
2019-07-29 11:18:10 +10:00
Nyall Dawson
bb9267d11b Record whether a callout corresponds to a feature which has all parts labeled in the callout context
This is useful information for dictating how a callout should be rendered
2019-07-29 11:18:10 +10:00
Nyall Dawson
fcd952efe9 Always clear the label all parts flag when a label has fixed position 2019-07-29 11:18:10 +10:00
rldhont
fd504337d8 [Test] PyQgsRulebasedRenderer: add more complex 2019-07-29 09:52:18 +10:00
rldhont
238e0210df [Test] PyQgsRulebasedRenderer: add more complex usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
12df8d187a [Test] PyQgsCategorizedSymbolRenderer: add more complex usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
a0f3ceefce [Test] PyQgsPointDisplacementRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
3955c1e047 [Test] PyQgsPointClusterRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
26442d4edb [Test] PyQgsRulebasedRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
629c3e64d2 [Test] PyQgsSingleSymbolRenderer: add usedAttributes test 2019-07-29 09:52:18 +10:00
rldhont
96e012eb43 [Test] PyQgsSymbolLayer: add usedAttributes tests 2019-07-29 09:52:18 +10:00
Nyall Dawson
802deddaf9 Sipify 2019-07-29 09:03:40 +10:00
Nyall Dawson
27c606a617 Fix ui file build warning 2019-07-29 08:19:33 +10:00
Nyall Dawson
ab7106ae99 [labeling][FEATURE] Allow data defined control over "label every
part of multipart features" setting
2019-07-27 20:22:50 +10:00
Juergen E. Fischer
051e315a69 fix build 2019-07-26 22:27:46 +02:00
Juergen E. Fischer
22ca00bfbe release.pl: use sha256 sum for tar ball 2019-07-26 20:46:23 +02:00
Matthias Kuhn
4cd2812905 Allow manually specifying ellipsoid for new projects 2019-07-26 18:24:12 +02:00
Nyall Dawson
7ec2101d05 Dox++ 2019-07-26 18:24:20 +10:00