Alexander Bruy
8d69dc1fb6
indentation
2018-02-23 11:43:32 +02:00
Alexander Bruy
a554409ede
[processing] don't use scandir() to get directory contents ( fix #18180 )
2018-02-23 10:30:03 +02:00
Alexander Bruy
673421b00d
Merge pull request #6423 from nyalldawson/proc_auto_select_alg
...
[processing] Some toolbox ux tweaks
2018-02-23 08:38:22 +02:00
Alexander Bruy
a5399def03
Merge pull request #6429 from nyalldawson/fix_18179
...
[processing] Fix config exception with INT/FLOAT settings
2018-02-23 08:35:55 +02:00
Nyall Dawson
5f66494446
[needs-docs] Remove " Panel" suffixes from panel titles
...
This extra text adds a lot of visual clutter to the interface,
and makes tabbed dock's tab bars take up a lot of room.
Instead only show the "panel" suffix in the menus.
2018-02-23 12:03:28 +11:00
Nyall Dawson
75a9150a41
[processing] Fix config exception with INT/FLOAT settings
...
Fixes #18179
2018-02-23 10:43:30 +10:00
Nyall Dawson
3e86804d64
Merge pull request #6395 from lbartoletti/advanced_shape_digitize_toolbar
...
Make Regular Shape Digitizing Toolbar disabled by default / renamed Shape Digitizing Toolbar
2018-02-23 11:42:12 +11:00
Nyall Dawson
62cd1edbb3
[processing] Pressing enter in search box executes the selected algorithm
2018-02-23 08:27:40 +10:00
Nyall Dawson
82bfc407b8
[processing] When searching in toolbox, automatically select
...
the first visible algorithm if the previously selected item
was hidden
Avoids hidden selections in the toolbox
2018-02-23 08:26:47 +10:00
Nyall Dawson
3ed98f17fa
Merge pull request #6383 from Fanevanjanahary/key
...
[dbmanager] fix shortcut execute query
2018-02-22 15:52:46 +11:00
Nyall Dawson
6b2d3eea03
String fix
2018-02-22 10:04:44 +10:00
Juergen E. Fischer
9a3bfa01c2
fix translation strings
2018-02-22 00:37:48 +01:00
Nyall Dawson
0481666b77
Merge pull request #6408 from arnaud-morvan/processing_reload_fix
...
Processing reload fixes
2018-02-22 10:03:51 +11:00
arnaud.morvan@camptocamp.com
5af792c1f8
[processing] Call toolbox.deleteLater to avoid slot calls after unload
2018-02-21 21:45:27 +00:00
arnaud.morvan@camptocamp.com
3718d4e65b
[processing] Properly load basic providers
...
Processing module should only register it's own basic providers.
Note that when reloading a plugin, subclasses of ProcessingProvider remains and new ones are added,
so in such cases QgsProcessingProvider.__subclasses__() return same provider class many times.
2018-02-21 21:42:43 +00:00
arnaud.morvan@camptocamp.com
d3a4a34515
[processing] Fix slot prototype in ModelerAlgorithmProvider. Fix #18162
2018-02-21 21:42:21 +00:00
Loïc Bartoletti
88a5e3204b
- Rename "Advanced Shape Digitize Toolbar" -> "Shape Digitize Toolbar"
...
- Rewrite ui_defaults.h
2018-02-21 21:05:42 +01:00
Nyall Dawson
835cca7cae
[processing] More string HIG fixes
2018-02-22 06:44:17 +11:00
Nyall Dawson
bd99f6979b
More dialog title HIG fixes
2018-02-22 06:44:17 +11:00
Nyall Dawson
146d408190
[processing] Add direct action to open an existing model in editor
2018-02-22 06:44:17 +11:00
Nyall Dawson
277e06ec28
[processing] Fix some message box titles
2018-02-22 06:44:17 +11:00
Felis Pimeja
76c21ea369
Updated and vectorized several icons ( #6382 )
2018-02-21 15:39:25 +07:00
nirvn
6573eb30e7
[processing] small fix in the MultipleLayerWidgetWrapper wrapper
2018-02-21 12:00:32 +07:00
Nyall Dawson
585a4d3782
[processing] Split multiparts and explode are feature based algorithms
2018-02-21 09:16:43 +11:00
Nyall Dawson
43cd62b62f
[processing] Tweak api for QgsProcessingFeatureBasedAlgorithm
...
Instead of returning a single QgsFeature from processFeature, we now
return a list of features.
This allows feature based algorithms which return multiple features
per input feature, e.g. "explode" type algorithms which split a
single input feature into multiple output features.
2018-02-21 09:16:43 +11:00
Loïc Bartoletti
55aa0b5be5
- Rename Regular Shape Digitize Toolbar to Advanced Shape Digitize
...
Toolbar
- Homogenize this toolbar like the others
- Not enabled by default
2018-02-20 17:43:26 +01:00
Denis Rouzaud
713bfd3452
add Q_ENUM for QgsRasterProjector::Precision
2018-02-20 02:00:57 -09:00
Nyall Dawson
3ffbd84f5f
Add a bounding box intersection test to QgsGeometry
...
We only previously had methods for exact intersections - this
commit adds a new QgsGeometry.boundingBoxIntersects() method
which can be used to test if just the bounding boxes of
geometries/rectangles intersect.
It's fast, and doesn't care about invalid geometries (unlike
the exact intersects checks)
2018-02-20 13:20:38 +10:00
Nyall Dawson
1da2da219a
Fix build
2018-02-20 11:31:33 +10:00
Nyall Dawson
3d4f6f82bb
Followup 0548f4, fixes to layer metadata and metadata widget
...
Address outstanding review requests so that this PR can be merged
2018-02-20 11:10:55 +10:00
mj10777
0548f4267e
Added QgsLayerMetadata logic to QgsDataProvider. Added setMetadata in QgsVector/RasterLayer::setDataProvider. Corrections in QgsMetadataWidget with added get/setMetadata and hasChanged functions plus checking for set mLayer pointer before use.
2018-02-20 11:06:57 +10:00
Nyall Dawson
206f22b9c7
[processing] Fix algorithm help link in modeler
...
Fixes #18147
2018-02-20 10:03:27 +11:00
Nyall Dawson
fdebddd13a
[processing] Fix raster layers shown as inputs for certain vector algs
...
Fixes #18148 , #18149
2018-02-20 10:03:27 +11:00
Nyall Dawson
c07f37a5cb
[processing] Select by expression/attribute can run on geometryless layers
2018-02-20 10:03:27 +11:00
Juergen E. Fischer
f14b729e3b
fix some references to PROJ.4
2018-02-19 22:12:09 +01:00
Denis Rouzaud
1a1b197ced
use Qgsettins::enumSettingValue where possible
2018-02-19 05:55:09 -09:00
Faneva
78c79a9243
[dbmanager] fix shortcut execute query
2018-02-19 15:52:45 +03:00
Denis Rouzaud
9e2e99fe42
snapToCurrentLayer correctly handles Area type
2018-02-19 02:08:36 -09:00
Denis Rouzaud
965a4e87aa
revert adding tolerance to QgsSnappingUtils::snapToCurrentLayer
...
since it already uses digitizing settings
2018-02-19 02:08:36 -09:00
Alessandro Pasotti
39e1c46beb
Merge pull request #6167 from DelazJ/DBManagerQueryDialog
...
[DB Manager]Allow preset query combobox to expand
2018-02-19 09:42:52 +01:00
Nyall Dawson
0e3af9c6a9
[layouts] Remove use of QStyleOptionGraphicsItem from QgsLayoutItem API
...
Turns out the useful methods in QStyleOptionGraphicsItem were deprecated
in Qt 5.10. To future protect our API this replaces all public
use of QStyleOptionGraphicsItem, so that we're free to revise
the internals of how we use QStyleOptionGraphicsItem without breaking
the public QGIS API.
2018-02-19 19:18:24 +11:00
Nyall Dawson
d830821b13
Remove QgsInterruptionChecker and replace with QgsFeedback use
...
There's little need for two classes with similar goals here.
2018-02-19 10:18:00 +10:00
Juergen E. Fischer
2c53630747
add missing copyright headers
2018-02-18 20:53:40 +01:00
Juergen E. Fischer
dcfe5ca63f
update translation strings
2018-02-18 17:35:34 +01:00
Blottiere Paul
323e75c029
Merge pull request #5823 from pblottiere/bugfix_curvedstrings_z
...
[bugfix] Fixes #17576 and #17574 Add Z support and fixes crashes
2018-02-18 10:58:09 +00:00
Denis Rouzaud
f1123501d4
make QgsTolerance a Q_GADGET
...
to use Q_ENUM
2018-02-17 09:33:35 -09:00
Denis Rouzaud
2f385da9c8
[offset tool] handle rings and allow selecting by area
...
* correctly handles rings and parts
* allow to select polygon by area (not only edge)
2018-02-17 09:33:35 -09:00
Denis Rouzaud
37f180c59e
Merge pull request #6365 from 3nids/geom_gadget
...
make QgsGeometry a Q_GADGET
2018-02-17 06:56:46 -09:00
Salvatore Larosa
a8a449f8c1
[processing] fix variable name
2018-02-17 16:50:43 +01:00
Denis Rouzaud
f31ba78ccd
Merge pull request #6364 from 3nids/setting_enum_value
...
[settings] add method to get value for a setting associated to an enum
2018-02-17 06:28:35 -09:00