Alexander Bruy
e1a64f6a8f
[processing] remove unused files
2018-02-05 08:50:37 +02:00
Alexander Bruy
724390c7df
[processing] completely restore support for script execution from editor
2018-02-05 08:50:37 +02:00
Alexander Bruy
263702e1f0
[processing] ressurect script execution from editor (work in progress)
2018-02-05 08:50:37 +02:00
Alexander Bruy
53ff800ff8
[processing] temporarily disable fetch actions for scripts and models
2018-02-05 08:50:37 +02:00
Alexander Bruy
472b8bf6bf
[processing] ressurect 'new script' action
2018-02-05 08:49:59 +02:00
Alexander Bruy
7115e044e3
[processing] ressurect 'add from file' action
2018-02-05 08:49:59 +02:00
Alexander Bruy
b747a6b50c
[processing] ressurect delete and edit actions for scripts
2018-02-05 08:49:59 +02:00
Alexander Bruy
422d804db1
[processing] update script provider to use QgsProcessingAlgorithm
...
subclasses instead of custom script code
2018-02-05 08:49:59 +02:00
Alexander Bruy
aee3b44909
[processing] remove not needed trAction method
2018-02-05 08:49:41 +02:00
Alexander Bruy
862b1139fa
[processing] move script provider stuff into provider directory
2018-02-05 08:49:29 +02:00
Alexander Bruy
6841c52210
Merge pull request #6257 from alexbruy/processing-sharing
...
[processing][needs-docs] remove Get scripts and models functionality
2018-02-05 08:48:00 +02:00
Nyall Dawson
345dd0c376
[layouts] Fix items disappear in designer with 90 or 270 degree
...
rotation
Caused by Qt bug 66185
Fixes #18027
2018-02-05 12:36:18 +11:00
Nyall Dawson
5ba69ea945
[processing] Fix invalid parameter definitions for spatialite algs
2018-02-05 10:11:03 +10:00
Alexander Bruy
87e55ba3c7
[processing] remove Get scripts and models functionality
...
Users should use Resource Sharing plugin instead
2018-02-04 11:11:47 +02:00
Denis Rouzaud
1a117cf080
fix doxygen
2018-02-03 15:52:33 -09:00
Denis Rouzaud
70f9c228d7
[options search] API refactoring
...
* avoid using lambdas and use dedicate class and subclasses for each widget type (lable, groupbox, tree, etc)
* this makes the code much more clearer
* allow creating custom highlight widgets with API
2018-02-03 15:52:33 -09:00
Martin Dobias
4b365a8f47
pyqgis: add conversion to subclasses for QgsAbstractVectorLayerLabeling
2018-02-03 22:30:00 +01:00
Salvatore Larosa
68b7bf6aa8
[dbmanager] porting of dae921c to 3: fixes #16476
2018-02-03 10:53:55 +01:00
Jürgen Fischer
ad21d371b8
Merge pull request #6213 from nyalldawson/interrupt_console
...
[console] Allow breaking execution of scripts via Ctrl-C
2018-02-02 17:02:53 +01:00
Alessandro Pasotti
5c5ef3b6de
Merge pull request #6246 from elpaso/rangeformatter
...
[bugfix] Range formatter for doubles and ints
2018-02-02 14:25:28 +01:00
Nyall Dawson
536c586968
Style fixes
2018-02-02 19:52:01 +11:00
Nyall Dawson
7761360976
Fix clazy invalid slot warning
2018-02-02 19:52:01 +11:00
Nyall Dawson
2682a74a1b
Fix clazy pass big type by ref, small by value warnings
2018-02-02 19:52:01 +11:00
Nyall Dawson
f0b14c56f9
Fix clazy overridden signal warnings
2018-02-02 19:52:01 +11:00
Nyall Dawson
a08c05b20c
Fix clazy fully-qualified-moc-types warnings
...
From the clazy docs:
"Warns when a signal, slot or invokable declaration is not using fully-qualified
type names, which will break old-style connects and interacting with QML."
2018-02-02 19:52:01 +11:00
Alessandro Pasotti
bbf621411a
Add method to set line edit alignment in Qgs(Double)SpinBox
2018-02-02 08:12:12 +01:00
Alessandro Pasotti
287f82286b
Add QgsRangeFieldFormatter to bindings
2018-02-02 08:10:54 +01:00
Salvatore Larosa
5b9be7a966
apply enableAutoGeometryRestore to feature form dialog
2018-02-01 23:30:35 +01:00
Alessandro Pasotti
0eeea76292
Merge pull request #6237 from elpaso/commas-dots-fieldvalidator
...
[bugfix][attrtable] Convert comma to dot for floating point input
2018-02-01 07:53:23 +01:00
Alexander Bruy
55759a4cee
[processing] remove unused icons and use SVG icon for Heatmap algorithm
2018-02-01 07:22:12 +02:00
Alexander Bruy
3ab6e5c399
Merge pull request #6238 from alexbruy/saga-icon
...
[processing] SVG icon for SAGA provider
2018-02-01 07:18:01 +02:00
nirvn
1ac6792678
add transform context to the map overview
2018-02-01 09:11:45 +07:00
Nyall Dawson
216821c0b1
[processing] Warn on duplicate output and provider registration
...
And fix associated memory leaks
2018-02-01 13:02:59 +11:00
Nyall Dawson
2218f653ca
[processing][grass] Remove duplicate parameter from r.stats
2018-02-01 07:53:54 +11:00
Nyall Dawson
5896fb3305
[processing][grass] Fix incorrect name for i.albedo parameter
2018-02-01 07:53:54 +11:00
Nyall Dawson
fc68bb25d7
[processing] Allow case-different duplicate parameter names
...
But always prefer case-exact matches for parameter names. Turns
out the grass provider requires use of parameters with the same
name but different case, so we need to be able to handle this.
2018-02-01 07:53:54 +11:00
Alexander Bruy
c3fc560fef
[processing] SVG icon for SAGA provider
2018-01-31 16:14:32 +02:00
Alessandro Pasotti
cc1625c83e
[bugfix][attrtable] Convert comma to dot for floating point input
...
This fixes an unreported bug that without detecting an
invalid input when using a comma as a decimal separator
silently converts the entered value to NULL.
Since locale support in QGIS is in its early stages
we convert commas to dots within the validator,
this is common practice in almost all web applications
where you can enter a comma instead of a dot and
the conversion appears while you digit.
This comes with brand new tests for QgsFieldValidator.
Bonus: small fix in sipify.
2018-01-31 12:50:14 +01:00
Harrissou Sant-anna
91a80759bf
Fully replace node* by vertex*
2018-01-31 04:51:20 +01:00
Nyall Dawson
67f2649315
Set default snapping tolerance to 15 pixels
...
Because 0 meter default is bad UX. Also update global_settings
ini with snapping settings.
2018-01-30 18:31:02 +11:00
Mathieu Pellerin
eb42afed9b
add trandform context to QgsBearingUtils::bearingTrueNorth
2018-01-30 13:26:36 +07:00
Nyall Dawson
bbf3ed9d4e
Fix massive memory leak in PyQGIS, pt 1
2018-01-30 16:00:39 +10:00
Nyall Dawson
77e54d3502
[console] Make console action checkable, and bring behaviour into
...
line with style dock/processing toolbox
Where the action is checked only if the dock is open and user visible,
and checking the action brings hidden tabs to the foreground instead
of closing them.
2018-01-30 14:33:06 +11:00
Nyall Dawson
eba7e7b8b4
Fix QgsRasterFileWriter::driverForExtension and extensionsForFormat
...
were skipping non-creatable datasets
And indicate in the docs that read-only datasets are also considered
2018-01-30 12:19:28 +11:00
Nyall Dawson
f6269c41da
[console] Allow breaking execution of scripts via Ctrl-C
...
This allows (in some circumstances) scripts running in the console
to be halted via the Ctrl (or Meta) + C shortcut.
(It's only possible to catch and abort when the script is printing
outputs to the console - because this triggers
QCoreApplication.processEvents() calls. Without these calls the
whole QGIS application is unresponsive during script execution
and there's no ability to even catch a shortcut in order to
halt the execution.
Still, even with this limitation it's handy to be able to
break out of lengthy:
for f in iface.activeLayer().getFeatures():
print(f.attributes())
loops!)
2018-01-30 09:58:31 +10:00
Nyall Dawson
878fb951a8
Simplify and optimise python list->QgsAttributes conversion
2018-01-30 06:15:51 +11:00
Alexander Bruy
c10438e68a
[processing] add missed parameter to warp algorithm
2018-01-29 18:48:08 +02:00
Mathieu Pellerin
e0c12d519f
[processing] nodes -> vertices algorithm renaming
...
- "Extract nodes" renamed to "Extract vertices"
- "Extract specific nodes" renamed to "Extract specific vertices"
2018-01-29 19:16:43 +07:00
Nyall Dawson
da4d937758
Correctly resolve paths for raster image fill symbol layers
2018-01-29 20:51:36 +11:00
Nyall Dawson
ec224117de
Expose project QgsPathResolver to render context
...
So that it can be used when resolving paths to data defined
file-based settings, e.g. svg marker paths.
Fixes #17364
2018-01-29 20:51:36 +11:00