Denis Rouzaud
1dc7b2f6ed
allow to follow redirect for custom plugin repo url ( #30869 )
2019-07-23 12:53:33 +02:00
Julien Cabieces
0dfa77ddb3
Add a new settings noProxyUrls and change UI to edit this setting
2019-07-23 19:03:51 +10:00
Nyall Dawson
e208bc5888
Avoid cloning symbols during label rendering
...
This is expensive and unnecessary
2019-07-23 17:41:39 +10:00
Nyall Dawson
45b23fd5b2
[callouts] Allow callout types to have icons, and use them in the type combobox
...
...and pick ugly icons to prompt @nirvn into action ;)
2019-07-23 12:12:18 +10:00
nirvn
bc524b0e2e
A couple of callouts dox fixes
2019-07-22 18:29:05 +07:00
nirvn
aab8e511bd
[FEATURE][callouts] Allow specifying an offset from label area distance
2019-07-22 18:29:05 +07:00
lbartoletti
81c4b81b3b
[bugfix] Fix the whole text instead of the selected part in db_manager save SQL file. fixes #30616
2019-07-22 18:41:01 +10:00
Nyall Dawson
2b554d8bab
[FEATURE][callouts] Allow specifying an offset from feature distance
...
which controls a distance from the feature where callout lines end
Makes for visually more appealing callouts vs drawing them right
up against the edges of features
2019-07-22 18:40:08 +10:00
Nyall Dawson
8f6f04885b
[FEATURE] Add @scale_value expression variable for use when evaluating
...
data defined text format properties while rendering scale bar text
Allows for per-label customisation of the text format inside scale bars
2019-07-22 11:34:32 +10:00
Nyall Dawson
a85d4d129b
[FEATURE] Allow data defined settings in text formats
...
This allows text formats to store data defined settings,
allowing them to be used wherever the text renderer is (e.g. in
layout scalebar text).
2019-07-22 11:34:32 +10:00
Nyall Dawson
19a2b0e5d5
[api] Allow data defined properties to be set in QgsTextFormat, so
...
that these are automatically respected whenever the format is
rendered using QgsTextRenderer
This is done transparently to the caller - so by porting away
from the raw QPainter text apis to use QgsTextRenderer instead,
then they immediately gain the ability to use data defined
properties in their text formats.
2019-07-22 11:34:32 +10:00
Nyall Dawson
bae321ad28
Prioritize moving unplaced labels in the move label tool
...
These are most likely the ones which users are trying to move
when there's overlapping labels
2019-07-21 20:29:34 +10:00
Nyall Dawson
87282e5dd7
[needs-docs] Add checkbox to layout map label settings panel to allow
...
display of unplaced labels
This is independant from the main canvas setting, and can be used
to determine whether labels are missing from a particular layout map
2019-07-21 20:29:34 +10:00
Nyall Dawson
39d4145aae
Append additional "QgsCalloutContext" member to callout rendering virtual
...
methods
While unused for now, this gives us flexibility in future to specify
additional useful contextual information about how a callout should
be rendered without breaking API (e.g. label text alignment, label
font settings, etc)
2019-07-21 20:29:34 +10:00
Matthias Kuhn
4e0102f3b1
Merge pull request #30816 from m-kuhn/ellipsoid_from_first_layer
...
Update the project ellipsoid if CRS is taken from first layer
2019-07-20 10:29:54 +02:00
Matthias Kuhn
4505a4b03b
For geometry validation GAP errors, allow zooming to gap or context
...
When a topological check returns a gap, it's sometimes better to zoom to the gap,
sometimes to show the gap in the context of the surrounding polygons. There is no
one-size-suits-all solution.
Therefore it's now possible to zoom to one by enabling the "zoom to feature(s)" button
also for topological errors.
2019-07-19 11:59:07 +02:00
Matthias Kuhn
ce8004446a
Update the project ellipsoid if CRS is taken from first layer
...
Fix #30815
2019-07-19 11:08:39 +02:00
Nyall Dawson
d439484c27
Remove disableCache argument from python bindings
2019-07-19 13:39:06 +10:00
Nyall Dawson
9015a177d0
Disable CRS and transform cache permenantly when exiting Qgis
...
Hopefully this will prevent additional items being added to the cache
after we've gracefully finalised proj operations, which results
in the infamous crash-on-exit fiasco...
2019-07-19 13:39:06 +10:00
Nyall Dawson
dbe7e6156e
Append additional "QgsCalloutContext" member to callout rendering virtual
...
methods
While unused for now, this gives us flexibility in future to specify
additional useful contextual information about how a callout should
be rendered without breaking API (e.g. label text alignment, label
font settings, etc)
2019-07-19 13:38:49 +10:00
Nyall Dawson
2aba793946
Fix some warnings
2019-07-19 09:22:48 +10:00
Nyall Dawson
33ee00f3f6
Ensure layer tree indicator icons are repainted on changes
2019-07-19 07:20:40 +10:00
Nyall Dawson
bd44f53236
Map canvas emits a signal when errors occur during rendering operations
2019-07-19 07:20:40 +10:00
Alexander Bruy
d0b8d6210c
Merge pull request #30715 from alexbruy/gdal-layers
...
[processing] pass layer name to the gdalwarp to avoid issues with multi-layer datasources (fix #30292 )
2019-07-18 10:21:03 +03:00
Nyall Dawson
83168d3a02
[FEATURE] Add a separate unit choice for milliradians (SI definition) vs mil (NATO definition)
...
Allows angular measurements in either of these units
2019-07-18 15:06:52 +10:00
Nyall Dawson
249a27b003
Fix dox warning
2019-07-18 13:00:15 +10:00
Nyall Dawson
10a1b1548b
Remove broken seealso links
2019-07-18 13:00:15 +10:00
Nyall Dawson
a83953599a
Allow pushing more contextual information to QgsFontButton/QgsTextFormatWidget
...
e.g. follow the same approach as symbology and allow pushing message
bars, map canvases, and expression contexts to the widgets
2019-07-18 13:00:15 +10:00
Nyall Dawson
a57d04fb7f
When a style manager dialog is opened in read only mode, still allow
...
symbols to be double clicked to view their properties. Just disable
actually saving any edited symbols instead.
2019-07-18 11:13:35 +10:00
Matthias Kuhn
7013539981
Resolve code issues
2019-07-17 04:26:29 +10:00
Sandro Mani
afb698b334
Add missing consts
2019-07-17 04:26:29 +10:00
Matthias Kuhn
7691f526be
Cleanup rubberband code
2019-07-17 04:26:29 +10:00
Sandro Mani
7af22a8bf6
Add QgsRubberBand::IconType::ICON_SVG
2019-07-17 04:26:29 +10:00
Sandro Mani
bc4bd9199e
Add QgsUnitTypes::AngleUnit::AngleMil
2019-07-17 04:26:29 +10:00
Sandro Mani
68c94dd844
Move QgsReadWriteContext::DefaultTranslator to cpp file
...
The nested class appears to cause sip to stumble with undefined references to vtable (observed cross-compiling from Fedora to MinGW)
2019-07-17 04:26:29 +10:00
nirvn
dded60611b
[callouts] Add symbol-related variables to the expression context
2019-07-16 14:59:06 +07:00
luz.paz
604e66ba75
sipify_all
2019-07-16 11:29:42 +10:00
Nyall Dawson
171f06447a
[callouts] Ensure simple callouts are rendered below all map labels
...
...instead of being rendered on top of some. For this callout style,
we don't want callouts overlapping labels (rather the opposite). But
leave API in place to allow other callout styles to render below
their associated labels only, as this may be wanted for some styles
(e.g. balloon style callouts)
2019-07-16 07:46:58 +10:00
Nyall Dawson
c2ce430116
[processing] Don't append full traceback when a QgsProcessingException is
...
raised by a Python algorithm
This is too noisy for these expected exceptions -- instead, only
show the traceback for other exceptions (Which are likely a result
of Python coding errors, so they are useful for debugging)
2019-07-16 07:44:09 +10:00
Alexander Bruy
e45b62c6af
re-enable some disabled test and fix broken r.describe algorithm
2019-07-16 06:20:23 +10:00
Alexander Bruy
807564a435
[processing] improve handling of the HTML outputs in GRASS provider ( fix #30609 )
2019-07-16 06:20:23 +10:00
Alexander Bruy
da8b574bf1
Merge pull request #30716 from alexbruy/fix-sip
...
fix SIP file
2019-07-15 19:11:22 +03:00
Alexander Bruy
109d1fb7a8
[processing] pass layer name to the gdalwarp to avoid issues with
...
multi-layer datasources (fix #30292 )
2019-07-15 16:05:16 +03:00
Matthias Kuhn
5f0447b397
Fix sip file ( #30714 )
2019-07-15 15:01:42 +02:00
Alexander Bruy
39124dad04
update SIP file
2019-07-15 15:59:25 +03:00
rldhont
7362faca02
[Bugfix] DB Mananger: Fix in Oracle plugin the way to strip uniqueCol
2019-07-15 10:37:36 +02:00
Alex
248af94ba9
Symbol aware legend expression ( #9648 )
2019-07-15 07:12:24 +02:00
Nyall Dawson
64ecc06fed
Store publish_to field locally
2019-07-15 12:52:20 +10:00
Nyall Dawson
a1d116ebb6
More dox
2019-07-15 12:52:20 +10:00
Nyall Dawson
a0e41f98e8
Spelling and dox
2019-07-15 12:52:20 +10:00