Harrissou Sant-anna
8dca115b1c
Replace prioritise by prioritize
2016-12-29 01:46:19 +01: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
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
nirvn
181f84b86f
[raster] move pseudocolor renderer classification out of gui into core
2016-12-27 10:16:51 +07:00
Juergen E. Fischer
e5a4426dce
more spelling fixes
2016-12-26 23:36:16 +01:00
Matthias Kuhn
33abb78ac5
Pass variable values as QVariant
2016-12-22 20:21:21 +01:00
Matthias Kuhn
79f32ab6b2
Rename QgsProject::variables to QgsProject::customVariables
2016-12-22 20:21:21 +01:00
Matthias Kuhn
b07ecfa106
Let QgsApplication manage global custom variables
2016-12-22 20:21:21 +01:00
Matthias Kuhn
cbac49b63b
Add QgsProject::write( filename ) convenience function
2016-12-21 17:39:58 +01:00
Matthias Kuhn
dbbf062e5d
Fix bindings and tests
2016-12-20 01:20:08 +01:00
Matthias Kuhn
95fedd082d
Expose QgsSnappingConfig to QML
...
Sponsored by QField
2016-12-20 01:20:08 +01:00
Matthias Kuhn
d169487850
bindings
2016-12-20 01:20:08 +01:00
Matthias Kuhn
0190e506a6
Move QgsConfigurationMap to QgsXmlUtils
2016-12-20 01:20:08 +01:00
Matthias Kuhn
afacbb1320
Make sure attribute table doesn't use deleted field formatters
2016-12-20 01:20:08 +01:00
Matthias Kuhn
928f360c77
Make attribute table aware of disappearing field formatters
2016-12-20 01:20:08 +01:00
Matthias Kuhn
8b2ea98871
Add missing bindings
2016-12-20 01:20:08 +01:00
Matthias Kuhn
1b5e577fd3
Generic code cleanup
2016-12-20 01:20:08 +01:00
Matthias Kuhn
22c492e6e5
Rename QgsFieldKit to QgsFieldFormatter
2016-12-20 01:20:08 +01:00
Matthias Kuhn
f294201e7b
Remove QgsEditFormConfig::widgetType
2016-12-20 01:20:08 +01:00
Matthias Kuhn
1ad6e0bc2a
Document api breakages and add more doxymentation
2016-12-20 01:20:08 +01:00
Matthias Kuhn
9fd0802939
Remove QgsEditorWidgetConfig
...
This is replaced with a QVariantMap. It was never really more than this in the
past and with the switch to QgsConfigurationProperties, there is really no
longer any reason to assume that this will change.
2016-12-20 01:20:08 +01:00
Matthias Kuhn
ab0dccf1d5
Rename vl
parameters to layer
2016-12-20 01:20:08 +01:00
Matthias Kuhn
826c44092b
Python bindings
2016-12-20 01:20:08 +01:00
Matthias Kuhn
f15284ec3d
Save and load new-style widget configuration
2016-12-20 01:20:08 +01:00
Matthias Kuhn
80b3bfdf18
Add QgsConfigurationProperty class
...
This class holds a QVariantMap to manage key-value-pairs where each
value can be a string, bool, int, double or itself a map and can be
stored to and restored from XML.
2016-12-20 01:20:08 +01:00
Denis Rouzaud
9c4be41441
[spelling] labelling -> labeling
2016-12-19 23:58:29 +01:00
Even Rouault
792873af5c
Merge pull request #3871 from rouault/auto_stretch
...
[FEATURE] Implement raster auto-stretching when updating canvas
2016-12-16 13:53:54 +01:00
Even Rouault
532eb58d1f
[FEATURE] Implement raster auto-stretching when updating canvas
...
This commit implements the improvements described at:
https://lists.osgeo.org/pipermail/qgis-developer/2016-September/044393.html
The QgsRasterMinMaxWidget now offers a seetting to specify that the statistics
should be computed each time the canvas extent changes.
Other changes:
- the content of the QgsRasterMinMaxWidget is now persistant.
- there is no longer any Load button. The global Apply / OK button of the raster
properties dialog has this effect.
- the default "limits" for single band raster is now MinMax and not CumulativeCut
- the default "limits" can be configured for single band, multi band single byte and
multi band multi byte
- "Strech using current extent" honours the "limits" instead of forcing min/max.
2016-12-16 12:36:06 +01:00
Denis Rouzaud
2ffe1a764b
spelling fixes
2016-12-15 15:26:36 +01:00
Denis Rouzaud
90fc0bb226
use Travis to look for spelling errors
...
use silver searcher for faster search (instead of grep)
2016-12-15 15:26:36 +01:00
Martin Dobias
8e5fb436b7
Remove QgsLabelingEngineInterface base class and implementation in QgsPalLabeling
...
It was ready to go for some time, just waiting for QgsMapRender that still used it.
2016-12-15 18:15:12 +08:00
nirvn
f02e4ad98f
[FEATURE][raster] transparency support for paletted renderer
2016-12-14 14:24:02 +07:00
Mathieu Pellerin
a8b9723cbc
[FEATURE] allow customization of line spacing for legend item labels ( #3632 )
...
* [FEATURE] allow customization of line spacing for legend item labels
* add test for legend line spacing and update control images
2016-12-13 12:09:13 +07:00
rldhont
7028eee198
Merge pull request #3809 from pblottiere/render
...
replace QgsMapRenderer
2016-12-12 14:07:37 +01:00
Nyall Dawson
caa0d500af
Fix spelling of orthoganilize
2016-12-12 17:47:12 +10:00
Blottiere Paul
f3a5c98178
remove QgsMapRenderer
2016-12-12 07:50:22 +01:00
Martin Dobias
5228cc5fb4
One more fix for doc test
2016-12-12 10:34:03 +08:00
Martin Dobias
556582979a
Rename QgsLegendModelV2 to QgsLegendModel
2016-12-12 03:27:14 +08:00
Martin Dobias
c783be1d04
Rename QgsComposerLegendStyle to QgsLegendStyle
2016-12-12 03:23:02 +08:00
Martin Dobias
3efc28d07b
Remove legacy class QgsComposerLegendItem and subclasses
2016-12-12 02:42:04 +08:00
Martin Dobias
57ff36bc01
Make it possible to use project as non-singleton
...
This is just a first step - it will be a long way to get rid of all
the usages of singleton instance in QGIS code.
2016-12-11 17:49:24 +08:00
Martin Dobias
5fc10d6207
Migrate QgsMapThemeCollection away from using layer IDs
2016-12-10 23:23:18 +08:00
Martin Dobias
c143be7a73
QgsMapSettings and QgsComposerMap store layers for rendering as weak pointers
...
... instead of using layer IDs which need to be resolved using QgsProject
2016-12-10 18:50:52 +08:00
Martin Dobias
64f1356cf3
Added missing api docs
2016-12-10 16:18:03 +08:00
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Nyall Dawson
4b6f3a3ee5
[FEATURE][processing] New algorithm to orthagonalize geometries
...
Adds a new QgsGeometry::orthagonalize method which tries to make
angles in geometries either right angles or straight lines
Also adds a processing algorithm exposing this feature.
2016-12-09 09:41:56 +10:00
Nyall Dawson
379e7a42e6
Add some more QgsVector operators, allow use of QgsVector with QgsPointV2
2016-12-09 08:13:48 +10:00
Nyall Dawson
77a8e18ec1
Add methods to add/subtract QgsVectors
2016-12-09 08:13:48 +10:00
Nyall Dawson
37edb69c21
Merge pull request #3843 from nyalldawson/oriented
...
Port minimum oriented bounding box to QgsGeometry
2016-12-08 05:52:59 +10:00
Nyall Dawson
c975764c12
Port processing oriented minimum bounding box alg to QgsGeometry
2016-12-07 20:13:29 +10:00