Juergen E. Fischer
487a7a00b7
fix 'allows to/allows one to' spell errors and enhance to our spellchecker to deal with those
2017-08-06 17:34:22 +02:00
Nyall Dawson
05a039b173
[needs-docs] Remove python console "import class" action
...
Since these classes are always imported by default, there's no
need for a toolbar action to manually import them
2017-08-06 23:52:52 +10:00
Nyall Dawson
069fadfc53
Import all qgis.gui, analysis, processing, and Qt classes by default
...
in Python console
Because it's a PITA to remember to manually import these all the time
2017-08-06 23:48:53 +10:00
Nyall Dawson
b1a6c790cf
Remove QgsFileDropEdit widget and integrate functionality into QgsFileWidget
...
It makes no sense to have two classes covering this use case, with
partial functionality in each. Smash the two together so we can
safely use QgsFileWidget for all use cases in future.
2017-08-06 23:26:46 +10:00
Denis Rouzaud
06f9842637
rename symbology-ng to symbology
2017-08-06 14:18:57 +02:00
Alessandro Pasotti
a612a6874d
Sipify docstring for signal
2017-08-06 09:02:27 +02:00
Alessandro Pasotti
0e2458e943
Merge pull request #4969 from boundlessgeo/unified-layer-dialog-raster-mods
...
Unified layer dialog raster mods
2017-08-06 08:48:19 +02:00
Nyall Dawson
7f5b4dbc18
Followup 6ed389c8, fix push direct to master ;)
2017-08-06 16:34:49 +10:00
Tim Sutton
0d092f9212
Python console ( #4550 )
...
* Use tabbed view for python console settings. Allow fonts larger that 15pt in console and python editor.
* Make the python console settings list look more like the C++ implemented settings dialogs.
* Use scroll areas in python console settings to prevent widget squashing
* Fix python console settings icons
* updating python console settings to be part of main QGIS settings
* Revert "updating python console settings to be part of main QGIS settings"
This reverts commit a811d7d7b184fece419f6610321a98f1acc9238f.
2017-08-05 23:45:11 +02:00
Juergen E. Fischer
6ed389c8e8
fix translation string again and improve translation scripts (followup 79a095cb)
2017-08-05 23:01:42 +02:00
Nyall Dawson
a5ddab6cc8
Merge pull request #4950 from nyalldawson/algs
...
Port some more algs to new API
2017-08-06 05:05:32 +10:00
Nyall Dawson
ca1abdc716
Merge pull request #4964 from arnaud-morvan/processing_delete_dialogs
...
[processing] Correctly delete processing dialogs
2017-08-06 05:05:13 +10:00
Alessandro Pasotti
acead27197
Add raster widget to data source manager dialog
...
Also:
- created source select widget for GDAL provider
- created source select widget for OGR provider
- added addVecorLayers signal to the base class
2017-08-05 16:38:33 +02:00
Nyall Dawson
470afbebbe
Use correct file filters for processing vector/raster input selectors
2017-08-05 23:19:03 +10:00
Nyall Dawson
19fd3e8912
Merge pull request #4963 from Gustry/category
...
add category in QgsLayerMetadata using keywords
2017-08-05 22:12:37 +10:00
Nyall Dawson
d4ad063f45
Allow specifying a 'primary key' field when comparing layers for
...
processing tests
Some algorithms will return results in different orders, e.g.
due to the use of dicts or other methods which do not guarantee
a fixed return order.
Using a primary key to do the feature match allows us to flexibly
handle these situations and provide tests for these algorithms.
2017-08-05 22:10:18 +10:00
Nyall Dawson
6aa672d9e0
Fix typo in gridify alg
2017-08-05 17:51:38 +10:00
Nyall Dawson
b93be39c24
Port Stats by Category to new API
...
Improvements:
- keep original field type and name for category field
- add unit test
2017-08-05 17:51:38 +10:00
Nyall Dawson
adda744576
Port Join Attributes alg to new API
...
Improvements:
- don't fetch unused geometry for joined table
2017-08-05 17:51:38 +10:00
Nyall Dawson
572dadab01
Remember window geometry in multi input dialogs
2017-08-05 17:51:38 +10:00
Nyall Dawson
a1f487d679
Add alternate reference layer for points to path algorithm
2017-08-05 17:51:38 +10:00
Nyall Dawson
c2559d8273
Add second reference layer for topocolor algorithm
2017-08-05 17:51:38 +10:00
Nyall Dawson
9968962ab9
Allow specifying multiple possible vector layer results for processing
...
tests
Some algorithms are non-deterministic and the results may vary from
run to run. In this case we allow specifying multiple possible valid
results, and the test will pass if the result layer matches any of these.
2017-08-05 17:51:38 +10:00
Nyall Dawson
e8d667cac3
Allow testing of layer equality without throwing asserts
...
Sometimes in tests it's required to check for layer equality without
aborting in case of mismatches
2017-08-05 17:51:38 +10:00
Nyall Dawson
5d635d190d
Allow list of acceptable raster hashes for processing algorithm tests
...
Differences in gdal libraries mean the hash value may differ between
platforms. Allow multiple acceptable hashes to be listed for
expected test results
2017-08-05 17:51:38 +10:00
Nyall Dawson
03bae593bb
Port Eliminate Selection to new API
2017-08-05 17:51:38 +10:00
Nyall Dawson
7132faa974
Port Topocolor algorithm to new API
2017-08-05 17:51:38 +10:00
Nyall Dawson
ec4df6c019
Port points to path to new API
...
Improvements:
- Maintain Z/M values
- Keep original data type for group/order fields
- Group field is optional
- Added unit tests
- Don't export text files for features by default
2017-08-05 17:51:38 +10:00
Nyall Dawson
b4b39996d2
Port hub lines algorithm to new API
...
Improvements:
- transparent reprojection to match hub/spoke CRS
- keep all attributes from matched hub/spoke features
- don't break after matching one hub point to spoke - instead
join ALL hub/spoke points with matching id values
2017-08-05 17:51:38 +10:00
Nyall Dawson
e0354456e3
Port Hub Distance (lines) to new API
...
Improvements:
- handle different CRS between points and hubs
- add unit test
2017-08-05 17:51:38 +10:00
Nyall Dawson
fc1746e770
Port Hub Distance (points) to new API
...
Improvements:
- handle different CRS between points and hubs
- add unit test
2017-08-05 17:51:38 +10:00
Nyall Dawson
0930e18bf9
Add tests for gridify
2017-08-05 17:51:38 +10:00
Nyall Dawson
591de92b07
Port gridify to new API
2017-08-05 17:51:38 +10:00
Nyall Dawson
54be720485
Port grid lines to new API
2017-08-05 17:51:38 +10:00
Nyall Dawson
7ab82444f1
Port random selection algorithms to new API
...
And heavily optimise random selection within subsets alg
2017-08-05 17:51:38 +10:00
Nyall Dawson
a64d199e6f
[processing] If an error occurs while running an algorith, always
...
keep the algorithm dialog open after execution
Otherwise it's hard to see the error - you have to know to check
the python log. Keeping the dialog open at the log makes the
error immediately visible to the user
2017-08-05 17:51:38 +10:00
arnaud.morvan@camptocamp.com
40ccd3bcb3
[processing] Correctly delete processing dialogs
...
del only delete the python variable, not the dialog which is owned by the main window.
2017-08-05 09:31:40 +02:00
Etienne Trimaille
5100d85c49
add category in QgsLayerMetadata using keywords
2017-08-05 09:12:48 +02:00
Alessandro Pasotti
04059ebccf
Merge pull request #4962 from boundlessgeo/unified-layer-dialog-mods
...
Unified layer dialog mods
2017-08-04 23:03:51 +02:00
Nyall Dawson
bf7abdea76
Followup 69a25d
2017-08-05 06:53:19 +10:00
Nyall Dawson
79a095cb69
Revert "translation string fix"
...
Causes 'AlgorithmDialog' object has no attribute 'trUtf8' error when
trying to launch processing algorithms
2017-08-05 06:50:52 +10:00
Nyall Dawson
69a25d0f43
Add initial test suite for processing algorithm dialog
2017-08-05 06:48:23 +10:00
Alessandro Pasotti
fef3bc099d
Renamed button slots and make ogr dialog inherit from the abstract base
2017-08-04 22:06:07 +02:00
Juergen E. Fischer
cfaa8f0c8c
translation string fix
2017-08-04 18:11:52 +02:00
Alessandro Pasotti
dc6017dc1d
Move the buttons and connections into the base class
...
This was a small refactoring to homogenize the
dialogs buttons and add an Ok/Add button bar.
2017-08-04 17:43:23 +02:00
Alexander Bruy
f96442884b
Merge pull request #4954 from alexbruy/processing-band
...
[FEATURE][needs-docs][processing] add parameter representing raster band
2017-08-04 15:17:49 +03:00
Matthias Kuhn
b20f4c6729
Merge pull request #4845 from pblottiere/zip
...
[FEATURE] New zip format
2017-08-04 13:46:24 +02:00
Alexander Bruy
9fe326dee2
[processing] more consistent naming for class members, setters and
...
getters
2017-08-04 13:21:26 +03:00
Alexander Bruy
7c706d23ce
[processing] adapt algorithms to use new band parameter
2017-08-04 11:36:41 +03:00
Alexander Bruy
49bfe69823
[processing] add parameter representing raster band
2017-08-04 11:27:35 +03:00