3079 Commits

Author SHA1 Message Date
Nyall Dawson
942d5da59b Add option to ignore interior polygon rings when calculating buffered shading for shapeburst fill mode (can be useful for eg ignoring islands when shading water bodies) 2014-03-22 07:39:14 +11:00
Nyall Dawson
a0c2c7aaad Fix gradient fills using color ramps not respecting symbol transparency 2014-03-21 19:47:26 +11:00
Juergen E. Fischer
6685932c09 show python errors in monospace 2014-03-21 09:20:48 +01:00
Denis Rouzaud
8c2fbbff65 use single signal for messageEmitted 2014-03-21 07:13:58 +01:00
Denis Rouzaud
4342b73eea better naming for messageEmitted/Discarded in maptools, followup 5bc5fdb 59a6663 and 6609ca8 2014-03-21 07:12:09 +01:00
Nyall Dawson
dd4975f285 Merge pull request #1255 from Oslandia/atlas_signals
Atlas signals
2014-03-21 13:23:59 +11:00
Nyall Dawson
13cbfd138c [FEATURE] Add 'shapeburst' fill style. Shapeburst fills implement a buffered gradient fill, where a gradient is drawn from the boundary of a polygon towards the polygon's centre. Configurable parameters include distance from the boundary to shade, use of color ramps or simple two color gradients, optional blurring of the fill and offsets. 2014-03-21 12:50:50 +11:00
Denis Rouzaud
6609ca81d2 rename removeMessage to discardMessage, complete SIP 2014-03-19 08:16:33 +01:00
Hugo Mercier
9eb8ef4e98 Add signals to atlas generation 2014-03-18 17:08:09 +01:00
Denis Rouzaud
9a8b7c5555 better message display in map edit tools (fix #8873) emit signal from map tool, display message in qgisapp 2014-03-17 08:02:47 +01:00
Juergen E. Fischer
8242a04015 fix deprecation annotation of QgsMapRenderer::mapRenderer 2014-03-15 21:39:28 +01:00
Marco Hugentobler
0a78102c36 Fix sip binding for eventLayer function 2014-03-14 17:09:15 +01:00
unknown
ed5f7781ba There is an indentation error in the Dissolve.py script that writes out the intermediate object on every merge with an input feature rather than just once at the end of the processing. This results in very large output file sizes.
I have also edited the defineCharacteristics function to allow the tool input to accept polyline features as well as polygons, in line with the fTools UI.
2014-03-12 10:49:54 +00:00
Larry Shaffer
9c139c28fe Merge pull request #1230 from dakcarto/issue_9704_gdal-qsettings
Fix #9704, GdalTools file dialogs return QPyNullVariant due to QSettings undefined return type
2014-03-10 11:02:56 -06:00
Nathan Woodrow
3c3872176c Add load and saving a Layer Definition file. Fix #9688 2014-03-10 09:19:38 +10:00
Larry Shaffer
073dbf1748 Fix #9704, GdalTools file dialogs return QPyNullVariant due to QSettings undefined return type 2014-03-08 16:56:22 -07:00
alexbruy
a089cff5f7 Merge pull request #1217 from nirvn/ftool_random_points_fix
[ftools] fix random points tool not recognizing memory layer integer column (fix #9695)
2014-03-07 14:37:59 +02:00
Juergen E. Fischer
100f9729ad add GUI_EXPORT and sip bindings to QgsExtentGroupBox,
fix sip binding of QgsRasterLayerSaveAsDialog
2014-03-04 15:49:04 +01:00
Martin Dobias
8ed4114255 Merged "save as" and "save selection as" actions - choice moved to the dialog 2014-03-04 17:39:30 +07:00
Martin Dobias
8ac3a94b99 Fix #8898 (optional filter extent for vector save as) 2014-03-04 17:39:30 +07:00
Jürgen Fischer
2f2d6ac95b Merge pull request #1120 from 3nids/pasteconvertgeom
copy/paste: try to convert geometries (fixes #3604)
2014-03-03 09:38:30 +01:00
Alexander Bruy
d378eef0f0 allow to use custom QSettings for managing QgsOptionsDialog parameters.
Useful for plugins and custom apps
2014-03-02 11:28:45 +02:00
Juergen E. Fischer
d6495abee4 wms provider:
* support JSON for feature info
* implement feature info for WMTS
* cleanup metadata display
2014-03-02 01:16:48 +01:00
Denis Rouzaud
643e59a23d copy/paste: try to convert geometries 2014-02-28 13:22:39 +01:00
Martin Dobias
3a317a061e Fix #9658 (crash with diagrams) 2014-02-28 12:11:20 +07:00
Mathieu Pellerin (nirvn)
0e907298de [ftools] fix random points tool not recognizing memory layer integer column (fix #9695) 2014-02-26 14:03:56 +07:00
Juergen E. Fischer
5db13abcf5 * remove deprecated overloads QgsRasterLayer::lastError() and QgsRasterLayer::lastErrorTitle()
* deprecate QgsRasterLayer::previewAsPixmap() (doesn't work in background threads)
* QImage::fill( QColor ) does not exists prior to Qt 4.8
diff --git a/src/core/raster/qgsrasterlayerrenderer.h b/src/core/raster/qgsrasterlayerrenderer.h
index 6ab4a49..40a27a2 100644
--- a/src/core/raster/qgsrasterlayerrenderer.h
+++ b/src/core/raster/qgsrasterlayerrenderer.h
@@ -8,7 +8,7 @@ class QPainter;
 class QgsMapToPixel;
 class QgsRasterLayer;
 class QgsRasterPipe;
-class QgsRasterViewPort;
+struct QgsRasterViewPort;
 class QgsRenderContext;

 class QgsRasterLayerRenderer : public QgsMapLayerRenderer
2014-02-24 18:11:20 +01:00
Etienne Tourigny
75a2edb3e9 add QgsRasterLayer::previewAsImage() for MTR rendering (see bug 9626) 2014-02-24 12:20:17 -03:00
Juergen E. Fischer
91ecc5f31b add 'warning' to the respective python message log tab 2014-02-24 02:03:42 +01:00
Martin Dobias
fafa58ed24 Merge remote-tracking branch 'origin/master' into threading-revival
Conflicts:
	src/core/qgspallabeling.cpp
	src/core/qgsrenderchecker.h
	src/core/qgsvectorlayer.cpp
	src/core/symbology-ng/qgslinesymbollayerv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.cpp
	src/providers/wms/qgswmsdataitems.cpp
	tests/src/core/testqgsblendmodes.cpp
2014-02-23 20:12:50 +07:00
Matthias Kuhn
f9e0093ce7 [fTools] Spatial join aggregates: handle NULL values 2014-02-23 10:39:14 +01:00
Martin Dobias
5a4f8d07a0 Change "added/deprecated in 2.1" notes to 2.4 for stuff related to threading 2014-02-21 17:33:09 +07:00
Martin Dobias
da1ebc2693 Comments and API improvements of simplification (no functional changes)
- moved QgsVectorLayer::SimplifyHint enum to QgsVectorSimplifyMethod
- use QFlags instead of int for hints
- added few notes about simplification being added in 2.2
2014-02-21 12:08:50 +07:00
Larry Shaffer
523fd44d86 Add more standard test font functions to QgsFontUtils 2014-02-19 13:27:59 -07:00
Larry Shaffer
2d4ecbac00 Move loading of test fonts to QgsFontUtils
- Always add testdata.qrc to desktop and server, but only auto-load Roman and Bold if built in debug mode
- Test fonts can now be loaded directly, after startup
- Add sip binding and unit tests
2014-02-19 13:27:59 -07:00
Salvatore Larosa
42a4e75536 [pyqgis-console] prepared apis file update 2014-02-19 16:56:56 +01:00
Juergen E. Fischer
5cd53dd28e dbmanager versioning: use lower case 'sql' language (fixes #9434) 2014-02-18 17:45:20 +01:00
Borys Jurgiel
88e8f9d6b6 [Plugin Installer] More robust xml parsing: fix lonely ampersands. Fixes #9524 2014-02-18 17:01:41 +01:00
Martin Dobias
a3af93394e Merge branch 'master' into threading-revival
Some features are still disabled - will be fixed later

Conflicts:
	python/core/composer/qgscomposition.sip
	python/core/diagram/qgsdiagram.sip
	python/core/diagram/qgshistogramdiagram.sip
	python/core/diagram/qgspiediagram.sip
	python/core/diagram/qgstextdiagram.sip
	python/core/qgsdiagramrendererv2.sip
	python/core/qgsfield.sip
	python/core/qgslabelsearchtree.sip
	python/core/qgsmaprenderer.sip
	python/core/qgsrenderchecker.sip
	python/core/symbology-ng/qgssymbollayerv2.sip
	python/gui/qgsmapcanvas.sip
	src/app/composer/qgscomposerlegendwidget.cpp
	src/app/qgisapp.cpp
	src/core/composer/qgsatlascomposition.cpp
	src/core/composer/qgscomposerattributetable.cpp
	src/core/composer/qgscomposermap.cpp
	src/core/composer/qgscomposition.cpp
	src/core/composer/qgscomposition.h
	src/core/diagram/qgsdiagram.h
	src/core/diagram/qgshistogramdiagram.cpp
	src/core/diagram/qgshistogramdiagram.h
	src/core/diagram/qgspiediagram.cpp
	src/core/diagram/qgspiediagram.h
	src/core/diagram/qgstextdiagram.cpp
	src/core/diagram/qgstextdiagram.h
	src/core/qgsdiagramrendererv2.cpp
	src/core/qgsdiagramrendererv2.h
	src/core/qgsmaprenderer.cpp
	src/core/qgsmaprenderer.h
	src/core/qgsnetworkaccessmanager.h
	src/core/qgspallabeling.cpp
	src/core/qgsrenderchecker.h
	src/core/qgsvectorlayer.cpp
	src/core/qgsvectorlayer.h
	src/core/qgsvectorlayerfeatureiterator.cpp
	src/core/qgsvectorlayerfeatureiterator.h
	src/core/raster/qgsrasterlayer.cpp
	src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
	src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.h
	src/core/symbology-ng/qgssymbolv2.cpp
	src/gui/qgshighlight.cpp
	src/gui/qgsmapcanvas.cpp
	src/gui/qgsmapcanvas.h
	src/gui/qgsmapcanvasitem.cpp
	src/gui/qgsmaptoolidentify.cpp
	src/plugins/georeferencer/qgsgeorefplugingui.cpp
	src/providers/memory/qgsmemoryfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.h
	src/providers/ogr/qgsogrprovider.cpp
	src/providers/oracle/qgsoraclefeatureiterator.cpp
	src/providers/oracle/qgsoracleprovider.cpp
	src/providers/postgres/qgspostgresconn.cpp
	src/providers/postgres/qgspostgresfeatureiterator.cpp
	src/providers/postgres/qgspostgresfeatureiterator.h
	src/providers/wfs/qgswfsfeatureiterator.cpp
	src/providers/wms/qgswmsprovider.cpp
	src/providers/wms/qgswmsprovider.h
	src/ui/qgsoptionsbase.ui
	tests/src/core/CMakeLists.txt
	tests/src/core/testqgscomposereffects.cpp
	tests/src/core/testqgscomposerhtml.cpp
	tests/src/core/testqgscomposerscalebar.cpp
	tests/src/core/testqgscomposershapes.cpp
2014-02-18 11:28:46 +07:00
Martin Dobias
8b10eb0306 Color ramp combo box: do not show "random colors" if gradients-only is on
+ added option to query whether gradients-only option is enabled
2014-02-14 19:20:34 +07:00
Nyall Dawson
9e948dfb2b [composer] Fix scrollbars in composer by correctly calculating scene bounds (fix #7691) 2014-02-13 22:38:01 +11:00
Martin Dobias
8e330e3ad4 [processing] Fix Qt warnings when opening config dialog 2014-02-13 13:25:44 +07:00
Martin Dobias
3a8770e71e Merge remote-tracking branch 'slarosa/fix_9328' 2014-02-13 12:25:46 +07:00
Juergen E. Fischer
57dd8779ac dbmanager: fix 'load as new layer' (fixes #9548) 2014-02-13 00:00:25 +01:00
Salvatore Larosa
c060164bca [processing] fixes #9328:
addressed: http://hub.qgis.org/issues/9328
2014-02-12 18:58:22 +01:00
Martin Dobias
684dd890a3 Fix #9459 (layer fails to render when rule-based symbology make use of $atlasfeatureid) 2014-02-11 23:57:02 +07:00
Martin Dobias
6b74feed5c [db manager] Also removed completer.py file and its imports 2014-02-11 19:26:44 +07:00
Alexander Bruy
83baa914bd [db manager] use QScintilla for SQL window 2014-02-11 13:10:15 +02:00
Martin Dobias
e6c2ecd9f3 Fix #9290 (crashes in symbology on fields with special characters)
Fixes several crashes and problems with backwards compatibility.
Before expressions were allowed, field names were loaded and saved
unquoted, e.g. x.y  - with introduction of expressions it was
necessary to use properly quoted "x.y" name so that expression
is correctly parsed. With these changes both options are possible
and when possible, the unquoted field name is used for compatibility
2014-02-11 14:27:01 +07:00
Martin Dobias
c465c9f03d Fix #8434 (join by spatial location locks up QGIS)
By caching the features of the provider in the inner loop, there is
a considerable speedup (compared to doing millions of queries)
2014-02-10 14:47:51 +07:00