Even Rouault
702eace76c
Merge pull request #3532 from pvalsecc/discover_relations
...
Add auto-discovery of relations for PostgresQL and SpatiaLite
2016-10-06 10:26:06 +02:00
Nyall Dawson
37e3dd76c4
When taking main widget from QgsPanelWidgetStack, auto accept
...
all open child panel widgets
Avoids the stack state becoming inconsistent because child
panel widgets from a different main panel are still present
And add unit tests for QgsPanelWidgetStack
2016-10-06 17:36:23 +10:00
Nyall Dawson
fbdc414957
Rename methods in QgsPanelWidgetStack for consistency
2016-10-06 17:36:23 +10:00
Matthias Kuhn
3b0486cc6e
Followup 722fdef: fix grass plugin build
2016-10-05 22:15:15 +02:00
Marco Bernasocchi
7c59e41177
fix save to postgis table in processing
2016-10-05 20:35:28 +02:00
Matthias Kuhn
9242d225e5
Remove fields from default value configuration widget
2016-10-05 20:02:51 +02:00
Matthias Kuhn
d0ec367044
Fix crash in QgsEncodingFileDialog
2016-10-05 16:18:29 +02:00
Matthias Kuhn
5179a3a55d
[processing] Fix extent selection widget
2016-10-05 15:51:43 +02:00
Matthias Kuhn
722fdefe43
referencedColumns returns QSet<QString> instead of QStringList
...
The order of the elements is irrelevant and duplicate elements are unwanted. It
is therefore a perfect candidate for a set instead of a list. This prevents
filtering for duplicates manually be replacing some filer codes with (more
performant) builtin methods of QSet.
2016-10-05 14:33:38 +02:00
Matthias Kuhn
3767cd4819
Debloat QgsExpression header
...
it's used throughout the project and keeping it slick should keep compile time a
little lower.
These methods are also normally used while building the request or preparing, so
inlining them shouldn't make much difference.
2016-10-05 14:33:38 +02:00
Matthias Kuhn
b642c3ff5e
Show fields in "default value" expression editor
2016-10-05 13:41:03 +02:00
volaya
2207669001
[processing] fixed expressions dialog when not in modeler
2016-10-05 12:39:03 +02:00
volaya
bc0cdc7b0d
[processing] fixed handling of integer values
2016-10-05 12:39:02 +02:00
arnaud.morvan@camptocamp.com
4184934b9a
[processing] Apply 2to3 on changes
2016-10-05 12:39:01 +02:00
volaya
effcb5ed14
[processing] [modeler] show options of MultipleInputParameter sorted in alphabetical order
...
fixes # 4836
2016-10-05 12:38:59 +02:00
volaya
404c57bc59
[processing] fixed table fields in batch processing interface
...
Conflicts:
python/plugins/processing/gui/BatchInputSelectionPanel.py
2016-10-05 12:38:58 +02:00
volaya
23aec61501
[processing] connect signal in multipleinput widget
2016-10-05 12:38:57 +02:00
volaya
6f498a3138
[processing] removed debug line
2016-10-05 12:38:56 +02:00
volaya
db7b1e7890
[processing] correctly resolve values for hidden outputs
2016-10-05 12:38:55 +02:00
volaya
1a95110dcc
[processing] renamed wrongly named signal in InputLayerSelectionPanel
2016-10-05 12:38:54 +02:00
volaya
b2fd1a4560
[processing] use cmp_to_key to ensure Python3 compatibility
...
Conflicts:
python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:53 +02:00
Alexander Bruy
e04780a279
add missed comma
2016-10-05 12:38:51 +02:00
Alexander Bruy
3407ced90e
fix indentation
...
Conflicts:
python/plugins/processing/gui/BatchInputSelectionPanel.py
python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
a20c86c0c3
[processing] use InputLayerSelectorPanel for vector layers
2016-10-05 12:38:49 +02:00
volaya
c605c67b8c
[processing] some minor changes for batch processing interface
2016-10-05 12:38:48 +02:00
arnaud.morvan@camptocamp.com
d33e33874a
Fix StringWidgetWrapper.value method
2016-10-05 12:38:47 +02:00
arnaud.morvan@camptocamp.com
c010a035c3
Call postInitialise in BatchAlgorithmDialog
2016-10-05 12:38:46 +02:00
arnaud.morvan@camptocamp.com
be5f951cd1
Support layer objects in BatchInputSelectionPanel
2016-10-05 12:38:44 +02:00
arnaud.morvan@camptocamp.com
9e36582feb
Simplify TableFieldWidgetWrapper
...
Conflicts:
python/plugins/processing/gui/ParametersPanel.py
python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:43 +02:00
arnaud.morvan@camptocamp.com
c1bc364a76
Fix PointWidgetWrapper with modeler
2016-10-05 12:38:42 +02:00
arnaud.morvan@camptocamp.com
8d16161742
Call postInitialise in modeler Dialog
2016-10-05 12:38:41 +02:00
arnaud.morvan@camptocamp.com
a38c13d523
Create FieldMappingWrapper
2016-10-05 12:38:40 +02:00
volaya
affc8f7ca5
[processing] correctly return widget in TableFieldWidgetWrapper
2016-10-05 12:38:39 +02:00
volaya
ae0e9c8442
[processing]minor code cleaning
...
Conflicts:
python/plugins/processing/core/parameters.py
2016-10-05 12:38:38 +02:00
volaya
e6f9499716
[processing] improvements for modeler UI
...
Do not show help tab if there is no help
add "optional" tag for optional parameters
2016-10-05 12:38:37 +02:00
volaya
a968fa3dea
[processing] use original filename when possible when exporting vector layer
...
Conflicts:
python/plugins/processing/tools/dataobjects.py
2016-10-05 12:38:35 +02:00
volaya
c65cc92009
[processing] improved widgets for raster and vector layers in modeler
2016-10-05 12:38:34 +02:00
volaya
c8f35fb4ce
[processing] fixed typo in modeler/ModelerParameterDefinitionDialog.py
2016-10-05 12:38:33 +02:00
volaya
36abbc427c
[processing] allow multiple values in ParameterSelection
2016-10-05 12:38:32 +02:00
volaya
8ce93b102c
[processing] removed unused imports
2016-10-05 12:38:31 +02:00
volaya
5464c4501b
[processing] use QgsMessage bar in algorithm dialogs
2016-10-05 12:38:30 +02:00
volaya
56225c4d8c
[processing] fixed batch processing interface
...
Conflicts:
python/plugins/processing/gui/BatchAlgorithmDialog.py
2016-10-05 12:38:29 +02:00
volaya
ccdf372250
[processing] UI improvement for defining model parameters
2016-10-05 12:38:27 +02:00
volaya
53d0372cad
[processing] return copy of object dictionary in parameter todict method
2016-10-05 12:38:26 +02:00
volaya
d07aef9c5b
[processing] added missing return statement in getParameterFromString
2016-10-05 12:38:25 +02:00
volaya
257faf3083
[processing] fixed evaluation of output values
2016-10-05 12:38:24 +02:00
volaya
0ea66299c8
[processing] fixed error in constructor of ParameterTableField
2016-10-05 12:38:23 +02:00
volaya
cdcc01e97c
[processing] removed debug lines
2016-10-05 12:38:22 +02:00
volaya
c491c01266
[processing] changes to allow custom parameter dialog adapt to new parameter architecture
2016-10-05 12:38:21 +02:00
volaya
dfb4cdd34b
[processing] moved output value evaluation to output object itself
2016-10-05 12:38:20 +02:00