8186 Commits

Author SHA1 Message Date
Nyall Dawson
bc98a326c0 [FEATURE] Add QgsVectorDataProvider::truncate for clearing layers
Adds a new method to QgsVectorDataProvider to truncate the layer.
The base implementation requires DeleteFeatures capability and
is not optimised. Providers can return the FastTruncate capability
and override the base implementation with a provider specific
optimised version. This is done in this commit for the Postgres
and Spatialite providers.
2016-12-27 13:55:42 +10:00
nirvn
181f84b86f [raster] move pseudocolor renderer classification out of gui into core 2016-12-27 10:16:51 +07:00
Juergen E. Fischer
8fb37aa666 indentation fixes 2016-12-26 23:36:16 +01:00
Juergen E. Fischer
e5a4426dce more spelling fixes 2016-12-26 23:36:16 +01:00
Juergen E. Fischer
a3faa92339 spelling fixes 2016-12-26 22:19:45 +01:00
Alexander Bruy
f40e914b76 [FEATURE] replace GDALTools plugin with Processing
Tagged as feature to not forget mention in docs and changelog
2016-12-26 19:09:32 +02:00
Alexander Bruy
47e5a5fc19 [processing] include start point into service area convex hull 2016-12-26 16:39:58 +02:00
Nyall Dawson
80b757b6db [FEATURE] Add zoom to features shortcut in select by form dialog
Allows very quick navigation to features which match the criteria
in the form
2016-12-23 05:44:38 +10:00
Nyall Dawson
0bfc9bb6e3 [FEATURE] Show field values in autocompleter in form filter mode
This adds a new gui widget QgsFieldValuesLineEdit which includes
an autocompleter populated with current field values.

The autocompleter is nicely updated in the background so that
the gui remains nice and responsive, even if there's millions
of records in the associated table.

It's now used as a search widget for text fields, so can be seen
in the browser window if you set the filter to a text field, or
if you launch the form based select/filter by selecting a layer
and pressing F3.
2016-12-23 05:44:38 +10:00
Nyall Dawson
e27822bf39 Small cleanups to QgsFloatingWidget 2016-12-23 05:44:38 +10:00
Matthias Kuhn
33abb78ac5 Pass variable values as QVariant 2016-12-22 20:21:21 +01:00
Matthias Kuhn
79f32ab6b2 Rename QgsProject::variables to QgsProject::customVariables 2016-12-22 20:21:21 +01:00
Matthias Kuhn
b07ecfa106 Let QgsApplication manage global custom variables 2016-12-22 20:21:21 +01:00
Matthias Kuhn
3fba3ac775 [processing] Quote and escape script exported ParameterString 2016-12-22 11:26:28 +01:00
Matthias Kuhn
55e3ea033a [processing] Fix some script parameter export/import issues 2016-12-22 11:21:32 +01:00
Alexander Bruy
ffd67f119e Merge pull request #3891 from alexbruy/processing-interpolation
[processing] add remaining functionalify from the interpolation plugin
2016-12-22 10:18:02 +02:00
Matthias Kuhn
cbac49b63b Add QgsProject::write( filename ) convenience function 2016-12-21 17:39:58 +01:00
Matthias Kuhn
0a686c4fca [processing] Make ParameterFixedTable scriptable 2016-12-21 14:21:36 +01:00
Matthias Kuhn
2af00beddc [processing] Don't hide errors when resolving script paramters 2016-12-21 13:17:31 +01:00
Alexandre Neto
932de2ab55 Replace PNGs by SVGs (#3896)
- removes no longer needed SVG compounds
- Improves cap and join style icons
2016-12-21 08:55:22 +07:00
Matthias Kuhn
2f0f6a98c6 Use assertIsInstance instead of assertTrue(isinstance()) 2016-12-20 16:32:50 +01:00
Alexander Bruy
0340320cd0 [processing] fix wrong ParameterSelection definition 2016-12-20 16:34:52 +02:00
Matthias Kuhn
d129f8a7ab Revert "[Processing] fix parameter to open the Retile algorithm"
This reverts commit 76b796b4916d4ee23dff1a50105cdf1a6635b388.
2016-12-20 13:44:30 +01:00
Alexander Bruy
97780b6be6 [processing] fix incorrect parameter construction 2016-12-20 14:41:58 +02:00
Alexander Bruy
ea4f05d931 [processing] add support for custom parameter used in interpolation algs
to the test suite
2016-12-20 14:29:51 +02:00
Matteo Ghetta
eab5ae28ec more gdal test for Processing (#3893)
* more gdal test for Processing
2016-12-20 13:07:56 +01:00
matteo
76b796b491 [Processing] fix parameter to open the Retile algorithm 2016-12-20 13:06:37 +01:00
Alexander Bruy
7dde862cc4 [processing] add missed functionality from Interpolation plugin 2016-12-20 10:14:49 +02:00
nirvn
c365439140 [processing] fix error in MultipleInputWidgetWrapper 2016-12-20 14:38:52 +07:00
nirvn
e338a90c80 [processing] support non-ogr layers in merge vector layers alg 2016-12-20 14:38:42 +07:00
Anita Graser
5e061b1c63 updated help for qgis:mergevectorlayers (#3883)
"two" => "multiple"
2016-12-20 14:08:54 +07:00
Matthias Kuhn
dbbf062e5d Fix bindings and tests 2016-12-20 01:20:08 +01:00
Matthias Kuhn
95fedd082d Expose QgsSnappingConfig to QML
Sponsored by QField
2016-12-20 01:20:08 +01:00
Matthias Kuhn
d169487850 bindings 2016-12-20 01:20:08 +01:00
Matthias Kuhn
0190e506a6 Move QgsConfigurationMap to QgsXmlUtils 2016-12-20 01:20:08 +01:00
Matthias Kuhn
afacbb1320 Make sure attribute table doesn't use deleted field formatters 2016-12-20 01:20:08 +01:00
Matthias Kuhn
928f360c77 Make attribute table aware of disappearing field formatters 2016-12-20 01:20:08 +01:00
Matthias Kuhn
8b2ea98871 Add missing bindings 2016-12-20 01:20:08 +01:00
Matthias Kuhn
1b5e577fd3 Generic code cleanup 2016-12-20 01:20:08 +01:00
Matthias Kuhn
22c492e6e5 Rename QgsFieldKit to QgsFieldFormatter 2016-12-20 01:20:08 +01:00
Matthias Kuhn
f294201e7b Remove QgsEditFormConfig::widgetType 2016-12-20 01:20:08 +01:00
Matthias Kuhn
930ce545a8 Fix failing tests 2016-12-20 01:20:08 +01:00
Matthias Kuhn
1ad6e0bc2a Document api breakages and add more doxymentation 2016-12-20 01:20:08 +01:00
Matthias Kuhn
c9f8ac2afe Remove editor widget project loading code from gui 2016-12-20 01:20:08 +01:00
Matthias Kuhn
9fd0802939 Remove QgsEditorWidgetConfig
This is replaced with a QVariantMap. It was never really more than this in the
past and with the switch to QgsConfigurationProperties, there is really no
longer any reason to assume that this will change.
2016-12-20 01:20:08 +01:00
Matthias Kuhn
ab0dccf1d5 Rename vl parameters to layer 2016-12-20 01:20:08 +01:00
Matthias Kuhn
826c44092b Python bindings 2016-12-20 01:20:08 +01:00
Matthias Kuhn
82d1871f8c Put field kit into use 2016-12-20 01:20:08 +01:00
Matthias Kuhn
9a53b7df06 Add field kits for a lot of common field types 2016-12-20 01:20:08 +01:00
Matthias Kuhn
f15284ec3d Save and load new-style widget configuration 2016-12-20 01:20:08 +01:00