Salvatore Larosa
1a74b0a021
fix warning
2018-03-30 11:22:32 +02:00
Blottiere Paul
4be8baa683
Merge pull request #6679 from pblottiere/bugfix_will_render_feature
...
[bugfix] Fixes identify action on deactivated rules for QgsRuleBasedRenderer
2018-03-30 09:08:11 +01:00
Mathieu Pellerin
13d0556ac6
[FEATURE][needs-docs] Custom SVG path and size for the north arrow decoration ( #6715 )
2018-03-30 12:13:44 +07:00
Nyall Dawson
8ebd47bfb2
[needs-docs] Drop unused/misleading 'tolerance' setting from topology
...
checker
Fixes #9621
2018-03-30 14:03:08 +11:00
Nyall Dawson
d9e9f2abac
Fix tests
2018-03-30 09:01:21 +11:00
Nyall Dawson
95d2a27cbf
Split QgsVectorFileWriter writeAsVectorFormat into two methods
...
to allow correct thread-safe usage
There is now a prepare method, which must be run on the main
thread and which prepopulates feature iterators and clones
renderers, and a separate write method which is safe to
execute on background threads (e.g. tasks)
Fixes #18516
2018-03-30 09:01:21 +11:00
Nyall Dawson
5ecb7cc363
Use unique_ptr
2018-03-30 09:01:21 +11:00
Nyall Dawson
64707c1817
Always add a dummy atlas expression context scope to canvas expression
...
context
This allows the atlas variables to be correctly available before
an atlas has been first opened - e.g. for rules which render
when a feature is not the current atlas feature.
Otherwise these variables are NULL, which creates confusing behavior
when rendering differences occur before/after an atlas is opened.
2018-03-30 09:00:42 +11:00
Nyall Dawson
f02602b9bb
[needs-docs] geometry smooth algorithm now also retains and smooths z/m values
...
...instead of just discarding them
Applies to processing algorithm and expression function (and
QgsGeometry::smooth method)
2018-03-30 08:59:00 +11:00
David
e0a539aeea
generated sip file
2018-03-29 16:47:56 +02:00
David
05547398be
styling stuff
2018-03-29 15:22:41 +02:00
David
5b7a525ed2
displayName in DnDTreeItem
...
a displayName defined on creation. Usually on fields the fieldname and on relations the relationname.
no other logical use for that. The DnDTreeItem.name is used as id and should be unique, not like displayName.
2018-03-29 14:28:07 +02:00
David
901327c269
fix relation id confusion
...
if inserting a relation the id is used as name because it's used as identificator
2018-03-29 14:05:52 +02:00
Nyall Dawson
bf252d68d2
Fix enum comparison warning
2018-03-29 22:29:05 +11:00
Nyall Dawson
b805b60389
Test masks
2018-03-29 19:50:44 +11:00
Nyall Dawson
3f733e7061
Use a checkerboard background in svg cache tests
2018-03-29 19:50:44 +11:00
Nyall Dawson
c71347c327
Indentation
2018-03-29 19:50:44 +11:00
Nyall Dawson
d3aae3f5b6
Allow remote SVG files with text/plain MIME type, instead of only
...
valid image/svg+xml mime types
This allows users to link to SVG files hosted on github, where
the raw content is served up as plain text.
2018-03-29 19:50:44 +11:00
Nyall Dawson
50241dcba4
More helpful log message when svg requests fail
2018-03-29 19:50:44 +11:00
Nyall Dawson
77941442c7
When a remote SVG is requested but fails, use the missing SVG icon
...
as an indicator for users that something went wrong
This was previously only used for replies with incorrect mime
types or authentication errors, but it meant that an incorrect
SVG url would silently result in no symbols rendered.
Also add unit tests for fetching remote svg images
2018-03-29 19:50:44 +11:00
Blottiere Paul
810e531bfc
Add documentation for onlyActive parameter
2018-03-29 08:51:03 +01:00
Nyall Dawson
5d4e1bb31f
Add intersection/tangent methods to QgsCircle
2018-03-29 17:40:40 +11:00
Mathieu Pellerin
716ba9befe
[needs-docs] Add a "save selected features as" layer item shortcut
2018-03-29 10:34:49 +07:00
Salvatore Larosa
7900570504
folowup a29c6a7d07006ff03ac26bd636dcafb8293fee0d: set noun to entries
2018-03-29 13:34:34 +11:00
Nyall Dawson
44143c1bf9
Restore a disabled test for Qt5 which works OK now
2018-03-29 13:26:51 +11:00
Nyall Dawson
fb5caa7a0f
Fix weird line edit styling error on Ubuntu
...
Ubuntu theme is incorrectly showing hidden actions in
line edits.
Fixes #18537
2018-03-29 07:21:34 +11:00
Nyall Dawson
8b59bdcc94
[layouts] Fix missing layer scope for atlas enabled items
...
Fixes #18525
2018-03-29 07:21:03 +11:00
Nyall Dawson
054470f032
Never show int/long attributes in scientific notation
...
Fixes #18508 , #18302
2018-03-29 07:20:31 +11:00
Salvatore Larosa
18f02ee2ea
cleanup code: followup d17481e3d2279a36e536821d21f0f709ba8bd534
2018-03-28 21:47:59 +02:00
Salvatore Larosa
d17481e3d2
[FEATURE][needs-docs] add filter line edit to query builder
2018-03-28 19:11:04 +02:00
Alessandro Pasotti
cc7c9356bc
Merge pull request #6698 from elpaso/auto-select-first-layer-on-load
...
Make first layer selected on project load
2018-03-28 12:35:29 +02:00
Mathieu Pellerin
93a6115c9e
[needs-docs] Use QgsTextRender to power up copyright decoration styling ( #6684 )
...
- we gain all of the styling capabilities of our text renderer engine (i.e. what powers
the rendering of labels)
- HTML support is gone for now, with virtually all of styling possibilities
covered by the above text renderer
2018-03-28 17:12:48 +07:00
Denis Rouzaud
721095e89d
add virtual destructor
...
fix warning: delete called on 'QgsEditorWidgetAutoConfPlugin' that is abstract but has non-virtual destructor
2018-03-28 11:49:41 +02:00
Denis Rouzaud
e252f5cd6f
remove unused variables
2018-03-28 11:49:41 +02:00
Mathieu Pellerin
5fe1ea85bf
[needs-docs] Use QgsScaleBarRenderer to power up scale bar decoration ( #6689 )
...
Main short-term benefit: scale bar font size and family can be customized.
2018-03-28 15:55:48 +07:00
Alessandro Pasotti
9ec2d1f99b
Make first layer selected on project load
...
just spare a click
2018-03-28 08:46:53 +02:00
nirvn
14c057aeff
Follow up a29c6a7d07: add missing ellipsis
2018-03-28 12:09:40 +07:00
Salvatore Larosa
a29c6a7d07
[needs-docs] Reorganisation of contextual menu for group and layer ( #6665 )
2018-03-28 11:20:22 +07:00
Salvatore Larosa
f75c0a80e6
Merge pull request #6680 from DelazJ/topol
...
Enable Topology Checker help button
2018-03-27 16:45:09 +02:00
Blottiere Paul
624e446b67
Add unit test
2018-03-27 14:11:15 +01:00
Blottiere Paul
58b3e20054
Fixes #13999 : feature count on rule based renderer is valid for ELSE statement
2018-03-27 14:09:20 +01:00
Alessandro Pasotti
ecfbe8a141
Fix android build with osgeo4a
2018-03-27 14:24:11 +02:00
Blottiere Paul
0b5c2aeecc
Recursive fix
2018-03-27 11:00:20 +01:00
Nyall Dawson
d24f8a3c5b
Cleanup
2018-03-27 19:24:10 +11:00
Nyall Dawson
556668e067
Fix 'actions' button in attribute table dialog only shows menu after
...
extended click and hold
2018-03-27 19:24:10 +11:00
Nyall Dawson
9551471ebf
Fix some attribute table columns do not remember their size
2018-03-27 19:24:10 +11:00
Nyall Dawson
4d40202121
Fix signal loop when resizing columns on opening attribute table
2018-03-27 19:24:10 +11:00
Nyall Dawson
3d8dd4913c
Fix crash in attribute table when action column is visible and edit is
...
toggled
2018-03-27 19:24:10 +11:00
Blottiere Paul
dd6f98fe24
Add unit tests
2018-03-27 09:14:18 +01:00
Blottiere Paul
2cb1f43342
Fix sip binding
2018-03-27 09:14:02 +01:00