12216 Commits

Author SHA1 Message Date
Denis Rouzaud
8d55cadeb7 Allow adding custom highlight widget to custom pages in option 2018-02-05 08:51:47 -04:00
Alexander Bruy
567ebb9dd0 [processing] fixes after rebasing 2018-02-05 08:53:52 +02:00
Alexander Bruy
15a185dab0 [processing] turn keep n biggest parts script into normal algorithm 2018-02-05 08:50:44 +02:00
Alexander Bruy
54167bcaa6 fix indentation 2018-02-05 08:50:44 +02:00
Alexander Bruy
4f2a4644db [processing] remove obsolete code and disable exporting models as script
until we update it so support new scripts format
2018-02-05 08:50:44 +02:00
Alexander Bruy
fa5ab81a2a [processing] scripts also can be feature-based algorithms 2018-02-05 08:50:37 +02:00
Alexander Bruy
cd7bb16ad5 [processing] class name is not needed anymore to load scripts 2018-02-05 08:50:37 +02:00
Alexander Bruy
5ad3af592f [processing] remove tests for old scripts 2018-02-05 08:50:37 +02:00
Alexander Bruy
f5f0399171 [processing] use custom editor class, as QgsCodeEditor is not available
on some platforms
2018-02-05 08:50:37 +02:00
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