Alessandro Pasotti
19b062c304
Merge pull request #5766 from Gustry/file_downloader
...
Display the downloaded size in QgsFileDownloaderDialog
2017-12-01 14:30:34 +01:00
Nyall Dawson
1c1de3a88b
[processing] Fix optional numeric parameters cannot be cleared
...
Without this change optional numeric parameters have no way to
be cleared in the GUI - they are always forced to have a value
Fixes #17471 - but I've noticed that many optional numeric
GRASS parameters have a non-null default value. These may
need to be investigated and manually changed to None defaults
in the description files.
2017-12-01 20:42:38 +11:00
Nyall Dawson
db855029de
Fix not-set defaults for numeric parameters were converted to 0
2017-12-01 20:42:38 +11:00
Nyall Dawson
297e8561a0
Bump lowest possible min for numeric parameters to -DBL_MAX + 1
...
We need to reserve -DBL_MAX as a special value, to allow it to
work correctly in QDoubleSpinBoxes (limitation of QDoubleSpinBox)
2017-12-01 20:42:38 +11:00
Nyall Dawson
6b56565f89
Show nicer tooltips for numeric processing parameters
...
With min/max and default values (when set)
2017-12-01 20:42:38 +11:00
Nyall Dawson
8303b94685
[processing] Fix optional layer parameters are filled by default
...
Refs #17471
Not a full fix for 17471 - that requires handling of optional
numeric values too
2017-12-01 20:42:38 +11:00
Nyall Dawson
8026008ae7
[processing] group option for autoincrement field algorithm
2017-12-01 20:42:38 +11:00
Alessandro Pasotti
62ff88af03
Merge pull request #5737 from elpaso/hidpi-cursors
...
[bugfix][hidpi] Scalable SVG theme cursors
2017-12-01 09:52:32 +01:00
Nyall Dawson
f6e63d7f4c
Fixes and cleanups to algorithm dialogs
2017-12-01 18:15:40 +11:00
Nyall Dawson
ce170918c9
Start moving processing algorithm dialog to c++
...
In an attempt to avoid Python global interpreter locks which
block the UI thread.
2017-12-01 18:15:40 +11:00
Nyall Dawson
3c238a2ba4
Add missing overrides
2017-12-01 15:47:53 +10:00
Nyall Dawson
bcc1b91b74
Merge pull request #5717 from nyalldawson/layout_next4
...
[layouts] Port/adapt all remaining item types
2017-12-01 13:43:58 +11:00
Nyall Dawson
c12770d041
Indentation
2017-12-01 10:00:42 +11:00
Nyall Dawson
d7111b7849
Standardise some algorithm names
2017-12-01 10:00:42 +11:00
Nyall Dawson
e1ce7dda70
Show algorithm ID in tooltip in toolbox
2017-12-01 10:00:42 +11:00
Etienne Trimaille
88054a3744
display the downloaded size in QgsFileDownloaderDialog
2017-11-30 14:29:24 +01:00
Blottiere Paul
3b7d2e3360
Merge pull request #5762 from pblottiere/fix_typo_as
...
Fixes typos in auxiliary storage documentation
2017-11-30 07:43:17 +00:00
Tim Sutton
f6acf37637
Fix processing errors on startup and execution on MacOS ( #5769 )
2017-11-30 07:17:12 +02:00
nirvn
f5702abae9
[processing] fix DlgModeler.ui layout warnings
2017-11-30 12:12:23 +07:00
Salvatore Larosa
d7485a4349
[pyqgis-console] fix strings in options tooltips
2017-11-29 17:45:46 +01:00
Matteo Ghetta
a10e753820
processing test for difference algorithm ( #5764 )
2017-11-29 15:25:30 +01:00
Salvatore Larosa
e8213b8e41
Merge pull request #5757 from slarosa/pyconsole_ui_improvements
...
[pyqgis-console][ui] move find text tools to toolbar widget
2017-11-29 14:30:03 +01:00
Alexander Bruy
e0290a9f23
Merge pull request #5745 from alexbruy/processing-cleanup
...
Processing cleanup
2017-11-29 09:44:55 +02:00
Blottiere Paul
6d87c2b28f
Update sip binding
2017-11-29 07:31:26 +00:00
Nyall Dawson
e4ce62342c
Merge pull request #5758 from nyalldawson/leftof
...
Geometry "leftOf" improvements
2017-11-29 15:51:22 +11:00
Nyall Dawson
62dbf4ce26
GML is too fragile, but shapefiles, you've never let me down...
2017-11-29 15:50:58 +11:00
Nyall Dawson
f8bad4977d
[processing] Make split with lines output single part features
...
instead of keeping parts collected into a single multipart feature
2017-11-29 15:50:58 +11:00
Nyall Dawson
3341a3e91e
Unify behavior of various geometry API leftOf tests
...
Now instead of mixing bools/numeric returns, we always use
ints, where:
-1 = left
0 = test failed, e.g. point on line
1 = right
Also fix a bunch of extra issues identified with left of tests
as a result of these changes
2017-11-29 10:04:20 +10:00
Radim Blazek
2f43deb9da
closestSegmentWithContext() doc and test fix
2017-11-29 09:14:11 +10:00
Radim Blazek
07fd713647
fixed closestSegmentWithContext() paramas in Python
2017-11-29 09:14:07 +10:00
Salvatore Larosa
77f5959a7a
[pyqgis-console][ui] move find text tools to toolbar widget
2017-11-28 23:40:29 +01:00
Salvatore Larosa
5652501cc6
[pyqgis-console] update api files and qsci_apis/generate_console_pap.py script
2017-11-28 21:14:19 +01:00
Salvatore Larosa
52efa5c36e
[pyqgis-console] fix missing import for pap file compiler
2017-11-28 21:05:11 +01:00
Nyall Dawson
e34d7fb636
Fix left of test for linestrings
...
The test was returning invalid results for certain geometries
2017-11-29 06:45:33 +11:00
Salvatore Larosa
8b454ea38c
[pyqgis-console] prepared APIs file updated
...
included APIs are:
* PyQGIS3
* PyQt5
* Python3.6
* GDAL-2.2.3
* GEOS-3.6.3
2017-11-28 20:12:34 +01:00
Alexander Bruy
d65c036781
[processing] remove old params from wrappers
2017-11-28 12:27:45 +02:00
Alexander Bruy
3d4a59bb8b
[processing] cleanup files from unused code and remove some files
2017-11-28 12:27:45 +02:00
Alexander Bruy
ee8435a789
[processing] remove unused files
2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692
[processing] remove Python 2 compatibility layer
2017-11-28 12:27:45 +02:00
Nyall Dawson
7a09f0890e
Merge pull request #5727 from nyalldawson/sublayer
...
Fix ogr sublayer handling of names containing ":"
2017-11-28 14:47:34 +11:00
Alessandro Pasotti
346ab6099c
[hidpi] Auto-scale cursors based on DPIs
...
This should work well on different DPI screens.
Still needs some testing on the various platforms.
2017-11-27 15:37:50 +01:00
Alessandro Pasotti
7ae8e16427
[bugfix][hidpi] Scalable SVG theme cursors
...
Add support for SVG cursor:
ZoomIn,
ZoomOut,
Identify,
CrossHair,
CapturePoint,
Select,
Sampler,
Icons are provisional: they need some love from
a decent graphics designer.
Fixes #12671
2017-11-27 11:51:48 +01:00
Nathan Woodrow
b2c396fdfd
Fix #17510 - Better scoping of QgsProjectionSelectionDialog inside QgsProjectionSelectionWidget
2017-11-27 14:00:15 +10:00
Nyall Dawson
c0e732b799
[processing] Add QGIS 3d provider
...
Adds a new QGIS processing provider for 3d algorithms, available
only when QGIS is built WITH_3D
Currently includes only a single algorithm for tesselating geometries,
which exposes the functionality of QgsTesselator to processing.
Like the native c++ algorithm provider, algorithms in the 3d
provider are transparently merged with the other QGIS providers
(i.e. they aren't separated into their own group)
2017-11-27 06:54:29 +11:00
Nyall Dawson
bb63a83e04
Add missing output from package algorithm
2017-11-27 06:38:21 +11:00
Nyall Dawson
4b9986eb8c
[processing] Add a generic map layer output type
...
For occasions when an algorithm creates a map layer, but the type
is not known in advance (i.e. could be raster OR vector)
2017-11-27 06:38:21 +11:00
Nyall Dawson
a95aecafd6
Fix tests
2017-11-26 16:28:59 +10:00
Nyall Dawson
144e9a2e45
Fix handling of ogr sublayers with ':' in their name
...
Unlikely to happen, but it does occur with some layers coming
from processing models. In any case we want QGIS to be super-tolerant
of corner cases like this!
2017-11-26 12:23:32 +10:00
Nyall Dawson
7451422069
Fix package layers algorithm can't take the outputs from models
...
Fixes #17544
2017-11-26 12:01:41 +10:00
Alessandro Pasotti
72553a60a9
Merge pull request #5710 from elpaso/api-code-cleaning-int-2-enums
...
QgsVectorLayer code cleaning use enums instead of int
2017-11-24 16:16:26 +01:00