36340 Commits

Author SHA1 Message Date
Nyall Dawson
2758f3bc2f Remove some more redundant qt version checks 2016-12-30 12:36:18 +10:00
Nyall Dawson
b72fb598b2 Remove some QT_VERSION >= 5 checks 2016-12-30 12:34:59 +10:00
Nyall Dawson
78134ee9dc Merge pull request #3921 from DelazJ/example
Spelling fix: Replace "eg" by "e.g." or "for example"
2016-12-30 11:42:33 +10:00
Nyall Dawson
4493461396 Merge pull request #3920 from DelazJ/fixtypos
Fix more typos
2016-12-30 11:40:01 +10:00
Harrissou Sant-anna
ef85cdcf83 Replace "eg" by "e.g." or "for example" 2016-12-30 00:03:22 +01:00
Harrissou Sant-anna
2b937139b4 More spelling checks/fixes
interactivly
labour
2016-12-30 00:02:07 +01:00
Harrissou Sant-anna
f09633cc6c Replace rasterise by rasterize 2016-12-30 00:02:07 +01:00
Harrissou Sant-anna
c440cecedf Replace minimise by minimize 2016-12-30 00:02:07 +01:00
Harrissou Sant-anna
7911994097 Replace capitalise by capitalize 2016-12-30 00:02:06 +01:00
Nyall Dawson
5e871557b9 Merge pull request #3917 from alexbruy/improve-settings
improve fragile settings handling
2016-12-30 06:23:53 +10:00
Larry Shaffer
1d58e532b8 [pyqgis-console] Use python3 for editor subprocess calls 2016-12-29 11:40:26 -07:00
Alexander Bruy
a920e3a950 improve settings handling 2016-12-29 14:42:00 +02:00
Alexander Bruy
69e9d99c49 [processing] fix GRASS provider (follow up a1642a37) 2016-12-29 14:09:02 +02:00
Mathieu Pellerin
ca30d97250 [ui] settings menu cleanup (#3916)
- rewording of several items for increased clarity
- re-ordering to have more often used items first
- new icons for keyboard shortcuts and interface customization
2016-12-29 10:46:36 +07:00
Nyall Dawson
dd9a03a972 Merge pull request #3915 from DelazJ/fixtypos
Fix typos
2016-12-29 11:47:23 +10:00
nirvn
25697a1e41 improve default favorites for color ramps 2016-12-29 08:24:54 +07:00
DelazJ
828e447991 More spelling fixes
* editation
* definintion
* Unabled
* capitalize QGIS
* replace algs by algorithms
* queryings
* symbo(s)
* missing space after a dot
2016-12-29 01:53:55 +01:00
Harrissou Sant-anna
ee1abdc507 Replace flavour by flavor 2016-12-29 01:53:25 +01:00
Harrissou Sant-anna
8dca115b1c Replace prioritise by prioritize 2016-12-29 01:46:19 +01:00
Harrissou Sant-anna
69af2facde Replace more splitted by split 2016-12-29 01:46:19 +01:00
DelazJ
a56f928f71 Replace unicode by Unicode 2016-12-29 01:46:18 +01:00
DelazJ
c301369ebe Replace cellsize by cell size 2016-12-29 01:46:17 +01:00
DelazJ
d62c2c7f41 Some fixes of favourites --> favorites 2016-12-29 01:46:17 +01:00
Nyall Dawson
cfe42c2f8d Make sure QgsApplication members are initialized to nullptr
Just in case there's unintended dependancies between the
registries
2016-12-29 07:51:00 +10:00
Nyall Dawson
585d9dbff1 Fix tests 2016-12-28 17:43:22 +10:00
Nyall Dawson
9d4adc1c70 Remove some singletons by moving instances to QgsApplication
- QgsColorSchemeRegistry
- QgsDataItemProviderRegistry
- QgsGPSConnectionRegistry
- QgsMessageLog
- QgsPaintEffectRegistry
- QgsPluginLayerRegistry
- QgsRasterRendererRegistry
- QgsRendererRegistry
- QgsSvgCache
- QgsSymbolLayerRegistry
2016-12-28 16:59:03 +10:00
Nyall Dawson
4b1cf807ec Merge pull request #3909 from nyalldawson/select_in_edit_menu
Tweak edit/view menus
2016-12-28 16:11:25 +10:00
nirvn
97215cfae3 [ui] remove minimumSize on select button in select by exp. dialog 2016-12-28 11:36:01 +07:00
Mathieu Pellerin
efaf5ea926 [ui] select by form/expression harmonization and feature parity (#3912) 2016-12-28 11:16:55 +07:00
Larry Shaffer
95ff9a1c4c Update connection to new style for macOS Preferences fix 2016-12-27 21:06:12 -07:00
nirvn
d20579462c [ui] improve search widget ordering 2016-12-28 09:54:05 +07:00
Larry Shaffer
94dd1f4456 Fix macOS Preferences menu hijacking 2016-12-27 19:31:53 -07:00
Nyall Dawson
12a4a9c9bd Remove santa hat easter egg
It made a lot of stressed GIS people smile (and as a bonus
stressed out some unhappy grinches in the process!), but
there's nothing worse than a good easter egg which lives
on too long and gets tired.

RIP santa QGIS... bring on the next easter egg!
2016-12-28 11:21:48 +10:00
Nyall Dawson
4f73c28c5f [FEATURE] Hide Deselected Layers action
Allows you to quickly hide all deselected layers. This is very handy
when you have a large project and want to quickly hide all except
for a couple of layers
2016-12-28 10:50:05 +10:00
Nyall Dawson
c83426e12a [needs-docs] Move Show/Hide Layer actions to View menu
These logically belong in the view menu
2016-12-28 10:50:05 +10:00
Nyall Dawson
cbcad50438 [needs-docs] Move Select submenu from View menu to Edit menu
Selection tools are usually located within the edit menu directly
after the clipboard tools. View menu is usually populated with
actions which affect only the view, rather then editing the
document (project or layer) state.
2016-12-28 10:50:05 +10:00
Alexander Bruy
110ffe2756 Merge pull request #3907 from alexbruy/remove-gdaltools
[FEATURE] replace GDALTools plugin with Processing
2016-12-27 19:18:29 +02:00
nirvn
f3d618a6ed Add between/not between to numerical fields in select by form 2016-12-27 16:20:06 +07:00
nirvn
f5350c9ee6 [ui] Ctrl+F3 shortcut to open select features by expression 2016-12-27 16:08:54 +07:00
Harrissou Sant-anna
90f435d40c [ui] expression icon cleanups (#3908)
* Add expression icon to several buttons for consistency
* Replace mIconExpressionEditorOpen icon with mIconExpresssion
2016-12-27 15:22:50 +07:00
nirvn
407991ed35 [ui] rename the min/max widget group box title
Since there is no more loading involved through
the min/max widget, rename it to:
"Min /max values settings"
2016-12-27 14:45:48 +07:00
nirvn
578e9b8c49 Followup 932de2a: fix missing back icon for sub-panels 2016-12-27 13:56:05 +07:00
Nyall Dawson
51f491e81a Fix build 2016-12-27 14:13:55 +10:00
Nyall Dawson
bc98a326c0 [FEATURE] Add QgsVectorDataProvider::truncate for clearing layers
Adds a new method to QgsVectorDataProvider to truncate the layer.
The base implementation requires DeleteFeatures capability and
is not optimised. Providers can return the FastTruncate capability
and override the base implementation with a provider specific
optimised version. This is done in this commit for the Postgres
and Spatialite providers.
2016-12-27 13:55:42 +10:00
Nyall Dawson
b256075e30 Add a base class implemention for QgsVectorDataProvider::changeFeatures
Previously this method would only succeed for providers which
explicitly implement it. Now, providers which do not implement
changeFeatures but do support both ChangeAttributeValues
and ChangeGeometries capabilities will use a non-optimised
version of changeFeatures which calls changeAttributeValues
and changeGeometries in turn.

This makes QgsVectorDataProvider::changeFeatures easier to use
in scripts - instead of writing manual fallbacks for providers
which do not implement it you can instead safely call this
method regardless of the provider and it will succeed wherever
both the attributes/geometries can be changed.

Also add a provider unit test covering this.
2016-12-27 13:55:42 +10:00
Mathieu Pellerin
901cd290b1 Merge pull request #3887 from nirvn/raster_pseudocolor_move 2016-12-27 10:54:17 +07:00
nirvn
239b342a3f [FEATURE] Raster stretch toolbar actions support for pseudocolor renderer 2016-12-27 10:16:51 +07:00
nirvn
5ece689033 [FEATURE] Implement raster pseudocolor updated extent auto classification 2016-12-27 10:16:51 +07:00
nirvn
181f84b86f [raster] move pseudocolor renderer classification out of gui into core 2016-12-27 10:16:51 +07:00
Nyall Dawson
9c6883711b Enable edit tests for Postgres provider 2016-12-27 13:06:07 +10:00