Matthias Kuhn
e2c84f1a50
Merge pull request #4669 from nyalldawson/spinbox_ctrl
...
When holding ctrl while mouse wheeling on spin box, increase in smaller amounts
2017-07-08 10:37:00 +02:00
Matthias Kuhn
8f8cb67370
Merge pull request #4803 from DelazJ/polygon_symbol
...
Reorganize Polygon symbol dialogs
2017-07-08 10:22:28 +02:00
Matthias Kuhn
875a5d6d9d
Merge pull request #4818 from DelazJ/spelling
...
Fix some spelling issues
2017-07-08 10:20:40 +02:00
Matthias Kuhn
ada9ce4dcf
Merge pull request #4825
...
Various new expression functions and possibilities
2017-07-08 10:18:10 +02:00
Matthias Kuhn
89a06f6907
No need to set limit with setFilterFid
2017-07-08 09:51:14 +02:00
Matthias Kuhn
eb8eb59680
Code dedup
2017-07-08 09:51:14 +02:00
Matthias Kuhn
66d562a336
Fix leak
2017-07-08 08:26:47 +02:00
rldhont
6b6a52be49
Merge pull request #4823 from rldhont/fix-qgis3-asgml2
...
Fix GML2 after GML3 improvements
2017-07-07 15:32:33 +02:00
Matthias Kuhn
d28296f27f
Get rid of the comment about getting rid of the qgseditorwidgetregistry
2017-07-07 15:12:43 +02:00
Blottiere Paul
e6de737fad
Add unit tests
2017-07-07 14:35:08 +02:00
Blottiere Paul
162063be1b
[bugfix] Fixes relation widget when switching between layer styles #16100
2017-07-07 14:35:08 +02:00
Matthias Kuhn
4a16b3a1c5
Drop gui dependency from server
2017-07-07 13:15:27 +02:00
Matthias Kuhn
35f8083aab
Doxygen
2017-07-07 13:14:14 +02:00
rldhont
aa24896ce1
Fix GML2 after GML3 improvements
2017-07-07 13:01:31 +02:00
Matthias Kuhn
72da246b8b
Add tests
2017-07-07 13:01:17 +02:00
Matthias Kuhn
795e2477cb
Fix running expressions without context
2017-07-07 13:01:17 +02:00
Matthias Kuhn
30f86e6269
Local variables should not be prefixed
2017-07-07 13:01:17 +02:00
Matthias Kuhn
0e19995762
Improvements to layer handling in expressions
2017-07-07 13:01:17 +02:00
Matthias Kuhn
066528de4f
get_feature_by_id docs
2017-07-07 13:01:17 +02:00
Matthias Kuhn
f379be2033
array docs
2017-07-07 13:01:17 +02:00
Matthias Kuhn
25ad20c3b3
[FEATURE] Add expression function get_feature_by_id
...
... like get_feature, just with an id instead of a field value
2017-07-07 13:00:47 +02:00
Matthias Kuhn
10dc0d5da9
Rename set_variable to with_variable
2017-07-07 13:00:47 +02:00
rldhont
59d1f6d1b2
[Server] Tests update mask image
2017-07-07 13:00:11 +02:00
Matthias Kuhn
efff5f1670
[FEATURE] Add with_variable function
...
This function sets a variable for parts of an expression, therefore
avoiding to repeatedly recalculate complex values.
2017-07-07 12:59:43 +02:00
Matthias Kuhn
9562536333
[FEATURE] Add array_first and array_last expression functions
2017-07-07 12:59:34 +02:00
Matthias Kuhn
9581fe0a10
[FEATURE] Add snapping results to default value calculation
...
... as @snapping_results variable
2017-07-07 12:58:55 +02:00
Martin Dobias
a8cceff0fc
Make it possible to build just core lib and providers: -DWITH_GUI=FALSE
...
This is useful in some cases when working on a third party app/script
that only uses qgis_core. For example, I am working on qgis 3D project
and it is useful to be able to build QGIS core lib with custom Qt version
without having to spend too much time building what I do not need.
Also may be useful for QField to simplify the build of QGIS as a dependency
(no QScintilla, Qwt) and avoid bits of code in providers that would not
be used anyway.
No real source code changes, just configuration changes, mainly in providers.
2017-07-07 11:38:03 +02:00
Nyall Dawson
eb8f91a556
Fix some button sizes on hidpi displays
2017-07-07 18:17:40 +10:00
Nyall Dawson
e0915103fd
Fix folder destinations always default to temp folder ( fix #16800 )
2017-07-07 17:02:19 +10:00
Nyall Dawson
0802586a13
Fix minimum height of font buttons on non-Windows platforms
2017-07-07 16:50:27 +10:00
Nyall Dawson
b500080a31
[processing] Use correct file filter for file output dialog
2017-07-07 16:39:19 +10:00
Francisco Raga
617e4577a6
Fix link to create a pull request and to git download ( #4817 )
...
* fixing link to create a pull request
* fixing link in git exe
Git for Windows 1.x is deprecated, superseded by Git for Windows 2.x.
2017-07-07 08:25:28 +02:00
Matthias Kuhn
632eca6079
Merge pull request #4795 from pblottiere/dynamicform
...
[FEATURE] Dynamic form for joined fields
2017-07-07 08:22:18 +02:00
Harrissou Sant-anna
0d1c4cdc59
Running check_spelling.sh
2017-07-07 06:55:06 +02:00
Nyall Dawson
0036f27216
Merge pull request #4794 from nyalldawson/tests2
...
Use native algorithms for processing tests where possible
2017-07-07 14:45:00 +10:00
Nyall Dawson
3a31f54b15
Don't use broken qHash< QList<...> > on Qt < 5.6
...
Results in infinite recursion
2017-07-07 13:50:52 +10:00
Matthias Kuhn
e8177b733f
Print debug info when ctest2travis indexes run out of sync
2017-07-07 13:50:51 +10:00
Nyall Dawson
05e8928e30
Use native algorithms for processing tests where possible
...
And fix a few issues in the dissolve algorithm
2017-07-07 13:49:43 +10:00
Nyall Dawson
cb6c6f39a2
Merge pull request #4812 from nyalldawson/model_exp_input
...
[processing] Allow model child parameters to take values from an expression
2017-07-07 12:40:25 +10:00
Nyall Dawson
515ba24230
Update tests
2017-07-07 11:58:15 +10:00
Nyall Dawson
d6cbf30cc4
Add all 'single value' input/output types as expression variables
...
Since expressions can be written which convert string values
to numeric, and vice versa, it doesn't make sense to restrict
creation of expression variables to only numeric inputs/outputs.
Instead create variables for all sensible inputs/outputs, since
users may want to use these in expressions which convert the
output to a number....
2017-07-07 11:36:42 +10:00
Nyall Dawson
ac51ae106c
Add unit tests
2017-07-07 11:36:41 +10:00
Nyall Dawson
3ea70696f0
Add descriptions for model algorithm variables
2017-07-07 11:35:31 +10:00
Nyall Dawson
35e16b2f31
Add method for specifying variable description when adding to contexts
...
And use this description in expression builders when it's set.
2017-07-07 11:35:31 +10:00
Nyall Dawson
534844f999
Add function to return variables available for child algorithms during
...
model execution
And use this function to determine in advance dependencies between
child algorithm parameters with expression based values and
which other child algorithms they depend upon.
2017-07-07 11:35:31 +10:00
Nyall Dawson
3f9cfe0ce7
Fix setting number parameters to expressions
2017-07-07 11:35:31 +10:00
Nyall Dawson
82ef7d2a89
Create specific expression context scope for child algorithms
...
Contains variables for model parameters, algorithm results for
other child algorithms which are not dependent on the
algorithm.
Allows removal of final pieces of ModelerAlgorithm code
2017-07-07 11:35:31 +10:00
Nyall Dawson
d8086e549d
Use c++ method for available sources
2017-07-07 11:35:31 +10:00
Nyall Dawson
17199c8ffd
Reimplement getAvailableValuesOfType in QgsProcessingModelAlgorithm
2017-07-07 11:35:31 +10:00
Nyall Dawson
26cd6017b8
Use an expression context when evaluating child parameters with expression sources
2017-07-07 11:35:31 +10:00