Alessandro Pasotti
541737681b
Moved form feature to private and added setters/getters
...
plus other minor style changes as suggested by m-kuhn
in his PR review
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
83328ae596
[feature] Form context expressions in value relation widget
...
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.
This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/
The new functions/variables are:
Function:
get_current_form_field_value( 'FIELD_NAME' )
Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00
nirvn
4d36f37004
[needs-docs][processing] rename export geom. columns to add geom. attributes
2018-05-15 12:10:11 +07:00
nirvn
5cb8c2523e
[needs-docs][processing] vectorize and improve remaining geometry tools menu icons
2018-05-15 12:10:11 +07:00
Denis Rouzaud
c5ee15a97c
Merge pull request #6987 from 3nids/pyqgis_additions
...
[pyqgis] move qgis.core tricks to their own python file in additions folder
2018-05-14 16:21:41 -08:00
Denis Rouzaud
261e5f74ec
bring back PyQt.QtCore.NULL in qgis.core
2018-05-14 19:53:02 -04:00
Denis Rouzaud
831512c98f
[pyqgis] fix py files in subdirectory not correctly installed
2018-05-14 18:01:09 -04:00
Denis Rouzaud
6e33bdcdc4
[pyqgis] move qgis.core tricks to their own python file in additions folder
...
this makes the code much easier to read
2018-05-14 18:00:39 -04:00
Luigi Pirelli
9b28e3d7f5
Port gdalcalc with formula excaping fix ( #6984 )
...
Resurrect gdalcalc algorithm from 2.x
2018-05-15 07:59:00 +10:00
Alexander Bruy
c985092a6d
fix typo
2018-05-14 18:47:14 +03:00
Denis Rouzaud
fca72fa7d1
put back module sip files
2018-05-14 11:02:28 -04:00
Denis Rouzaud
847f0e1829
adapt sipify scripts and test to place auto generated sip files in dedicated folder
2018-05-14 10:44:11 -04:00
Denis Rouzaud
8b130f1c14
move auto generated sip file in dedicated folder (server+analysis)
2018-05-14 10:41:52 -04:00
Denis Rouzaud
9ed1548494
move auto generated sip file in dedicated folder (gui)
2018-05-14 10:31:17 -04:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00
Denis Rouzaud
45e5b3fb79
[pyqgis] comment some core additions
2018-05-14 10:21:07 -04:00
arnaud.morvan@camptocamp.com
81dabd185c
[processing] Finish default values in model for destination parameters
2018-05-14 22:12:32 +10:00
Nyall Dawson
c5f478c38f
[processing] Fix destination resets to 'memory:' instead of temporary layer
2018-05-14 22:12:32 +10:00
Nyall Dawson
1a45a79719
[processing][model] Fix handling of mandatory checkbox in output definitions
2018-05-14 22:12:32 +10:00
arnaud.morvan@camptocamp.com
4ccd4446fe
[processing] Add default values in model for destination parameters
2018-05-14 22:12:32 +10:00
Nyall Dawson
8d5e5c944d
Add a newNameChanged signal to QgsNewNameDialog
...
Handy for subclasses.
2018-05-14 17:22:42 +10:00
Mathieu Pellerin
8f47691a7a
[processing] add gdal command name to tags for better searches ( #6978 )
2018-05-14 11:32:55 +07:00
Denis Rouzaud
272f9ef874
Merge pull request #6951 from 3nids/locator_prefix
...
allow customizing prefix of locator filters
2018-05-13 17:56:22 -08:00
Denis Rouzaud
395c13f1f1
fix typo
2018-05-11 10:55:34 -04:00
Denis Rouzaud
2bb6149e6c
add test for (active) prefixes and fix bad prefix for plugins
2018-05-11 10:17:27 -04:00
Denis Rouzaud
0a6f88a4e5
remove map from QgsLocator and rename custom to active prefix
...
the active/custom prefix info is now accessible only from QgsLocatorFilter
2018-05-11 07:52:41 -04:00
Nyall Dawson
9ce19af552
Fix failing test
2018-05-11 17:48:45 +10:00
Nyall Dawson
9d2c4fca19
[FEATURE][layouts] Use text renderer for drawing scalebar text
...
Allows the full range of formatting options exposed through
text renderer - e.g. scalebar text with buffers, shadows,
background shapes, letter spacing, etc.
Say goodbye to unreadable scale bar text!
2018-05-11 17:48:45 +10:00
Nyall Dawson
a06000e0e7
Add method to QgsTextRenderer to retreive scaled QFontMetricsF
...
from a text format in a specified render context
2018-05-11 17:48:45 +10:00
Nyall Dawson
e53adc154b
Add methods to convert QgsTextFormat to and from QFonts
2018-05-11 17:48:45 +10:00
Nyall Dawson
e35d1d0ed9
Fix setting default value for non-multiple enum params
2018-05-11 15:49:52 +10:00
Alexander Bruy
26a97a7da7
[processing] improve default values handling in the enum modeler GUI
2018-05-11 15:49:06 +10:00
Alexander Bruy
e97212e8b7
[processing] correctly restore default values
2018-05-11 15:49:06 +10:00
Alexander Bruy
0046b9f824
add single item to matrix parameter by default
2018-05-11 15:49:06 +10:00
Alexander Bruy
18f3151808
[processing] couple of fixes for matrix parameter
2018-05-11 15:49:06 +10:00
Alexander Bruy
bb0feccec4
[processing] use another icon for clear button and add confirmation
2018-05-11 15:49:06 +10:00
Alexander Bruy
3ec2dfa611
[processing] don't allow multiple enum items to be selected if
...
allowMultiple is not set
2018-05-11 15:49:06 +10:00
Alexander Bruy
39456ba6b4
[processing] fix handling of the multiple enum values
2018-05-11 15:49:06 +10:00
Alexander Bruy
33cfed2e06
[processing] fix method signature
2018-05-11 15:49:06 +10:00
Alexander Bruy
1ba34dcbea
[processing] add matrix and enum parameters to wrappers and handle them
...
in the modeler dialogs
2018-05-11 15:49:06 +10:00
Alexander Bruy
038da1131d
[processing] modeler GUI for matrix parameter
2018-05-11 15:49:06 +10:00
Alexander Bruy
ffa4b04e29
[processing] add modeler GUI for enum parameter
2018-05-11 15:49:06 +10:00
Nyall Dawson
be73c9605f
Spelling
2018-05-11 11:29:34 +10:00
Nyall Dawson
0d520456ea
[processing][gdal] Fix conversion of non-EPSG crs parameters
...
to GDAL compatible strings
2018-05-11 11:29:34 +10:00
Denis Rouzaud
6459d24e5a
allow to reset prefixes in settings
2018-05-10 16:11:27 -04:00
Denis Rouzaud
0a0de2ec9f
use multimap to allow using the same prefix for several filters
2018-05-10 15:51:07 -04:00
Martin Dobias
c3279ee544
Add a note about version added for new functions in testing module
2018-05-10 14:10:10 -04:00
Martin Dobias
aa2b1e9834
Add test for single layer union
2018-05-10 06:50:57 -04:00
Martin Dobias
ef145afca6
Add support for unordered comparison of features of layers
...
This is useful when an algorithm returns features in no particular order
and sorting features by attributes does not help because there may be
features with the same attributes, giving non-unique sorting orders.
2018-05-10 06:50:57 -04:00
Martin Dobias
73d10afe31
Processing tests: allow topological geometry tests instead of exact tests
...
This is useful with geometry algorithms when the order of the coordinates of produced
geometries does not need to be exactly the same every time, but the output is still
topologically equivalent.
2018-05-10 06:50:57 -04:00