1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-02 00:04:53 -04:00

11585 Commits

Author SHA1 Message Date
Nyall Dawson
30fb6de17c Use qgs project icon derivative for project home in browser 2017-12-14 07:46:39 +10:00
Nyall Dawson
b6ddc702c0
Merge pull request from nyalldawson/sort_browser
Correctly sort browser items
2017-12-13 20:57:27 +11:00
Mathieu Pellerin
353ca633b0
Tiny spatialite-related improvement & fix ()
* [spatialite provider] when creating an empty layer, primary key should be autoincrement
* [processing] fix import into spatialite's primary key parameter
* [spatialite provider] case insensitive search for table names
2017-12-13 14:38:42 +07:00
Nyall Dawson
fec31f8da2 Sort browser items
Implements a sort key for browser items, allowing them to be
correctly sorted.

Fixes 
2017-12-13 15:06:12 +10:00
Juergen E. Fischer
7a1a4ed1df spelling fixes 2017-12-12 23:31:48 +01:00
Nyall Dawson
a15b54d997 Swap missing 0->nullptr and add missing overrides 2017-12-12 21:14:58 +11:00
Borys Jurgiel
3da5ab6996 [Plugin installer] Properly handle 301 Redirection 2017-12-11 21:03:44 +01:00
Alexander Bruy
6b73f78198
Merge pull request from alexbruy/raster-extensions
Add methods to get supported raster formats and extensions to QgsRasterFileWriter
2017-12-11 19:54:28 +02:00
Alessandro Pasotti
bfa857bb97 [bugfix] Restore binding for QgsCoordinateTransform
Fixes 

Binding was lost in commit 10d34ece02bb765f5d9d88bb0524c909235fb0d7
2017-12-11 12:32:46 +01:00
Nyall Dawson
83cdd8468b Use GDAL metadata to determine feature styles support
GDAL >= 2.3 only
2017-12-11 19:24:31 +11:00
Alexander Bruy
79d83f2066 [processing] use core methods for raster and vector extensions handling 2017-12-11 09:38:14 +02:00
Alexander Bruy
48661addc6 add supportedFormatExtensions() method to QgsRasterFileWriter 2017-12-11 09:38:14 +02:00
Alexander Bruy
52b5864335 add supportedFiltersAndFormats() method to QgsRasterFileWriter 2017-12-11 09:38:14 +02:00
Alessandro Pasotti
e479b71594 [bugfix] Do not crash when layer is destroyed while loading
Fixes  QGIS crashes when a layer is removed
while loading the attribute table
2017-12-09 16:07:02 +01:00
Nyall Dawson
53ebe050bd
Merge pull request from nyalldawson/gdal
[processing] Some GDAL algorithm fixes
2017-12-09 17:26:41 +11:00
Nyall Dawson
b578f8af35 Fix layer handling in import to postgis algs 2017-12-08 15:25:25 +10:00
Nyall Dawson
2d4a465212 [processing][gdal] Spatial extent filter for import to postgis
should be optional
2017-12-08 15:24:30 +10:00
Nyall Dawson
846400cb70 Resurrect GDAL import to PostGIS (available connections) alg
Fixes 
2017-12-08 15:18:03 +10:00
Nyall Dawson
3a5caaf94c Add missing proxy calls for QgsProcessingFeatureSource, causing
inefficient base class methods to be used instead.
2017-12-08 15:05:56 +10:00
Nyall Dawson
be962c7d8b Faster command generation in gdal algorithm dialog, by skipping forced incompatible layer exports 2017-12-08 14:50:03 +10:00
Nyall Dawson
96c7e6e0a6 [processing][gdal] Cleanup some code, add method to customise
generated command based on whether the algorithm is actually
executing or just being displayed in the UI as a command
2017-12-08 14:09:08 +10:00
nirvn
de0ac14ae1 [ui] use qgsfilewidget in the save raster as dialog 2017-12-07 16:24:28 +07:00
nirvn
c2acb5feec [ui] use qgsfilewidget in the create shapefile layer dialog 2017-12-07 16:00:32 +07:00
Harrissou Sant-anna
571bf54d2a [needs-docs] Refactor the New Shapefile dialog to mimic the GeoPackage sequence () 2017-12-07 09:39:12 +07:00
Nyall Dawson
89420fccd6 Sipify 2017-12-07 08:51:52 +10:00
Nyall Dawson
17656f23c6 Pasting items from layout context menu pastes them at menu origin
instead of final cursor position
2017-12-07 08:50:01 +10:00
Nyall Dawson
ac6c131212 Fix crash when reopening existing layouts 2017-12-07 08:50:01 +10:00
Nyall Dawson
e5e37fcafa [needs-docs] Use a QgsFileWidget for template file selector
Rename "Add" button to "Create"
2017-12-07 08:50:01 +10:00
Nyall Dawson
a30dd8a153 Port composer manager dialog to layouts
Not exposed via GUI yet, but can be shown by entering

iface.showLayoutManager()

in the Python console
2017-12-07 08:50:01 +10:00
Nyall Dawson
66b4b45177 Try to fix issues with sip casting collisions between layout and
compositions
2017-12-07 08:50:01 +10:00
Nyall Dawson
a9896eac05 Port a bunch of QgsLayoutManager methods to use QgsLayouts 2017-12-07 08:50:01 +10:00
Nyall Dawson
3a0b751698 Port duplicate layout functionality 2017-12-07 08:49:54 +10:00
Nyall Dawson
a64a675830 [FEATURE][layouts] Support drag and drop of QPT templates onto layout windows
To add contents of template onto layout
2017-12-07 08:49:54 +10:00
Nyall Dawson
eea36c0212 Add custom drop handlers for layout windows 2017-12-07 08:49:54 +10:00
Nyall Dawson
a4dea9935f Restore ability to save layouts to templates and add items from template 2017-12-07 08:49:41 +10:00
Nyall Dawson
59b6bf62ab Add a method to clear an existing layout 2017-12-07 08:49:41 +10:00
Nyall Dawson
8feac30f07 Add method to clear page collections for layouts 2017-12-07 08:49:41 +10:00
Nyall Dawson
ef9e013a5a Fix crashes when rapidly deleting/undeleting objects
Also fix some leaks
2017-12-07 08:49:41 +10:00
Nyall Dawson
d2fcf11336 [layouts] Add context menu entries for "copy" and "delete" item to
items list panel right click menu

Refs 
2017-12-07 08:49:33 +10:00
Nyall Dawson
feec186fbf [layout] Add context menu entries for cutting/copying, and pasting items
Fixes 
2017-12-07 08:49:33 +10:00
Nyall Dawson
b03ce047db Start restoring copy/paste functionality 2017-12-07 08:49:33 +10:00
Nyall Dawson
f60da58256 Add some unit tests 2017-12-07 08:49:33 +10:00
Nyall Dawson
b74a0efa34 Work on layout and layout item serialization and restoration 2017-12-07 08:49:33 +10:00
Nyall Dawson
ca75e8c0a5 Remove obsolete python alg, add unit tests 2017-12-07 06:28:54 +11:00
Denis Rouzaud
906259b2f7 [doxygen] remove useless @brief 2017-12-06 08:31:12 -04:00
Denis Rouzaud
f29306d4af [doxygen] replace @param by \param 2017-12-06 08:31:12 -04:00
Denis Rouzaud
b72c569cf3 [doxygen] replace @see by \see 2017-12-06 08:31:12 -04:00
Blottiere Paul
14e6df450a
Merge pull request from pblottiere/bugfix_reshape2
[bugfix]  Do not add binding line in both side in reshape map tool
2017-12-06 12:08:32 +00:00
Denis Rouzaud
ed5076201a [doxygen] \see must be placed after params 2017-12-06 07:19:50 -04:00
Denis Rouzaud
e48cf98edb run sipify 2017-12-06 07:19:50 -04:00