Nyall Dawson
69f45e389c
Refactor QgsExpressionContext and move QgsExpressionContextUtils
...
out to its own header
Avoids slow recompilation caused by changes to the frequently
modified QgsExpressionContextUtils class
2019-02-13 07:59:30 +10:00
Nyall Dawson
d281c8aef5
Fix build
2019-02-13 07:59:30 +10:00
Nyall Dawson
60a1d6306f
Fix some missing expression context variables in processing expression based widgets
2019-02-13 07:59:30 +10:00
Nyall Dawson
e533a4078c
[processing] Expose some model related variables to expressions
...
run inside models
Allows expressions to access important variables like the current
model path
2019-02-13 07:59:30 +10:00
Nyall Dawson
2180b63e35
[processing] Correct order of expression scopes in widget wrapper expression contexts
2019-02-13 07:59:30 +10:00
Nyall Dawson
493aed58fb
API tweak
2019-02-13 07:59:30 +10:00
Martin Dobias
43512d561a
[quick] Improve map settings flags for canvas
...
- labeling engine settings from project were not being applied
- enable simplification of geometries (faster map rendering)
- enable partial map updates when incremental rendering is enabled
(to be able to see how wmts/xyz tiles are being loaded)
2019-02-12 22:09:41 +01:00
Martin Dobias
6fab904cc9
Fix tests due to updated tolerance
2019-02-12 22:09:23 +01:00
Martin Dobias
673d494941
[quick] Fix identify: give priority to points (and lines)
...
Without priority for points (and lines) it is otherwise very difficult
to identify them on top of polygons or difficult to identify a point
on top of a line.
Also lowered the default radius from 8mm (which seemed excessively large) to 5mm.
2019-02-12 22:09:23 +01:00
Nyall Dawson
f95d3235f3
Merge pull request #9156 from nyalldawson/fix_21188_render_cats
...
[categorized] Fix blank layers when using categorized renderer
2019-02-13 05:33:02 +10:00
Nyall Dawson
07746dbc0e
[postgis] Fix creation of new Z/M enabled, curved geometry type layers
2019-02-13 05:32:51 +10:00
Nyall Dawson
2e20f13279
Fix fragile test
2019-02-12 16:48:44 +10:00
Nyall Dawson
7714bfbfbe
[categorized] Fix blank layers when using categorized renderer
...
Fixes #21188
2019-02-12 13:37:55 +10:00
Nyall Dawson
51a4981237
[memory] Optimise iteration, avoid multiple map lookups and an unnecessary expression evaluation
2019-02-12 13:01:04 +10:00
Nyall Dawson
6fb7856b0e
[memory] Fix inefficient memory feature iteration when using a FilterFids request
...
The request was not being handled correctly by the provider, resulting
in the provider iterating through every feature in the layer at every
attempt to retrieve a particular feature from a list of IDs.
Greatly speeds up numerous Processing algorithms when working
with temporary outputs
2019-02-12 13:01:04 +10:00
Nyall Dawson
916805cf04
[processing] More responsive cancelation for dissolve algorithm
2019-02-12 12:58:55 +10:00
Nyall Dawson
d614ff39e7
[processing] Field calculator algorithms should not force an upper limit
...
on string field lengths
Don't hold back the algorithms because of outdated format limitations!
2019-02-12 12:58:55 +10:00
nirvn
e833360309
[ui] Harmonize 2D/3D map view toolbars
2019-02-12 09:55:46 +07:00
Harrissou Sant-anna
e24403da2a
Remove trailing space
2019-02-12 12:51:27 +10:00
Harrissou Sant-anna
1efb96b7a9
Some tweaks on translatable strings
2019-02-12 12:51:27 +10:00
Nyall Dawson
2729af65c3
[processing] Port expression widget wrapper to new API
...
Fixes confusing expression parameter definitions in modeler
child algorithms (there's no direction as to what the
widget should be) and ensures that the correct expression
context is revealed to the widget when in all modes.
2019-02-12 07:18:02 +10:00
Nyall Dawson
6f6d562ec8
Fix QgsFieldExpressionWidget doesn't correctly emit signals when
...
clearing the current expression/field
2019-02-12 07:18:02 +10:00
Nyall Dawson
9a75976ca4
API tweaks
2019-02-12 07:18:02 +10:00
Nyall Dawson
d3bd1370d6
[processing] Fix incorrect parameter definition used when evaluating
...
parent layer parameter in the gui for dynamic properties data defined
buttons
2019-02-12 07:18:02 +10:00
Luigi Pirelli
2a917f4c10
Merge pull request #9049 from luipir/rasterSLD_export
...
Add SLD 1.0 export for rasters
2019-02-11 22:04:30 +01:00
nirvn
89bce696a7
[ui] Harmonize CAD panel by using toolbar (fixes hidpi et cie)
2019-02-11 17:24:28 +07:00
nirvn
e4feb3228b
[ui] Harmonize the style dock warning label alignment by centering it
2019-02-11 12:06:14 +07:00
nirvn
e41ff7b745
[themes] Fix missing focus hint for slider widgets
2019-02-11 11:34:17 +07:00
nirvn
d1e5d6ef24
[themes] Fix style of line edit within combo box
2019-02-11 11:28:54 +07:00
nirvn
0647188566
[themes] Properly style table/list view headers
2019-02-11 11:14:06 +07:00
nirvn
b080ab548b
[themes] Scroll bar handle can go MIA, add minimum width/height
2019-02-11 10:25:55 +07:00
Juergen E. Fischer
eea4eda6a3
osgeo4w: fix b6293f23c8c ( fixes #21210 )
2019-02-10 21:31:31 +01:00
Juergen E. Fischer
29d4496452
osgeo4w: build with spatialindex 1.9
2019-02-10 16:48:14 +01:00
Alessandro Pasotti
e6cce107ae
Merge pull request #9139 from elpaso/bugfix-21176-spatialite-text-pk
...
Fix spatialite text PKs
2019-02-10 10:00:15 +01:00
Mathieu Pellerin
3ae5038d7f
[themes] Properly style widget focus
2019-02-09 15:36:34 +07:00
Mathieu Pellerin
bf5b3f03c9
[ui] Move property override button css to default style sheet
2019-02-09 15:36:34 +07:00
Mathieu Pellerin
bfbb75ae2b
[themes] Fix background color issue within group boxes
2019-02-09 13:03:42 +07:00
Mathieu Pellerin
437e4e289e
[ui] Enable autoraise state for attribute table form/table view buttons
2019-02-09 12:16:35 +07:00
Mathieu Pellerin
7c50ed9b7e
[themes] Properly size width of icon-only labeling/mesh tab bar
2019-02-09 11:13:42 +07:00
Nyall Dawson
78a6b4ff3d
Fix build
2019-02-09 07:27:39 +10:00
Nyall Dawson
324fb40500
QgsFileWidget should also accept dropped plain text paths
2019-02-09 07:27:39 +10:00
Nyall Dawson
8ad2d7291f
More unit tests
2019-02-09 07:27:39 +10:00
Nyall Dawson
ceaf97b204
Remove a totally unused enum
2019-02-09 07:27:39 +10:00
Nyall Dawson
48e05434e4
Dox++
2019-02-09 07:27:39 +10:00
Nyall Dawson
35ddb3b630
[browser] Provide mime data for directory items
...
Allows them to be dragged and dropped to file widgets
2019-02-09 07:27:39 +10:00
Nyall Dawson
2857f585ae
File widget should also accept drops from browser
2019-02-09 07:27:39 +10:00
Nyall Dawson
d741c73d9b
Dropping a file onto a file widget in directory mode should set the widget
...
to the folder containing that file, not reject the event entirely
2019-02-09 07:27:39 +10:00
Alessandro Pasotti
3736fc078d
Fix sqlite double free
2019-02-08 22:26:22 +01:00
Nyall Dawson
73fa58a5af
Fix more incorrect 'invalid data source' errors when loading mesh layers
2019-02-09 06:24:28 +10:00
Nyall Dawson
a1d8d9ae5d
Fix invalid data source message is always shown after dragging and dropping
...
vector layers to QGIS window
2019-02-09 06:24:28 +10:00