5160 Commits

Author SHA1 Message Date
Denis Rouzaud
8eb193020a
Merge pull request #8330 from 3nids/fix9160
Properly zoom to feature for single point selected
2018-10-25 13:34:49 -08:00
Denis Rouzaud
5577d83a75 mark method as const 2018-10-25 13:49:26 -04:00
Denis Rouzaud
80d0c33f5b add QgsRectangle::scaled which returns the scaled rectangle
facilitates one-lines
2018-10-25 13:37:07 -04:00
Denis Rouzaud
699d8487dc
add QgsFeatureRequest::setNoAttributes (#8326)
since it's more convenient than setSubsetOfAttributes( QgsAttributesList() )
2018-10-25 07:35:05 -08:00
Denis Rouzaud
1bcd306197 add missing SIP_DEPRECATED annotation 2018-10-24 07:54:06 -08:00
Alessandro Pasotti
a51d7f5be3 Code layout 2018-10-23 18:56:27 +02:00
Alessandro Pasotti
15f4138a47 [db-manager] Store exception text in the task and pass it over to the caller
Fix #2019 - DBManager fails to display error messages with virtual layers
2018-10-23 14:59:10 +02:00
Nyall Dawson
8cf64c8a51 [layouts] Add option to filter "add layer to legend" dialog to
layers visible within the (linked) map only

Fixes #20186
2018-10-23 16:41:06 +10:00
Nyall Dawson
de0e74be59 Add method to whitelist layers to show in QgsMapLayerProxyModel 2018-10-23 16:41:06 +10:00
Nyall Dawson
64c99b7348 Fix missing Factory annotation 2018-10-23 14:16:26 +10:00
Etienne Trimaille
0731148b6b move function map to hstore into QgsHstoreUtils 2018-10-23 13:11:15 +10:00
Nyall Dawson
4212cca56e Add a Python repr for QgsError 2018-10-23 10:37:55 +10:00
Alessandro Pasotti
99f3419446 Extend documentation of QgsFeatureRequest::setSubsetOfAttributes
Like suggested by Nyall
2018-10-19 22:44:31 +02:00
Alessandro Pasotti
71e85cc0b8
Merge pull request #8231 from elpaso/bugfix-20147-in-place-difference
[in-place][needs-docs] add buffer for polygons and fix #20147 in place difference
2018-10-19 22:40:57 +02:00
Nyall Dawson
f00e43d3c2 [layouts] Hack around inconsistent subclassing of layout items by sip
Sometimes, calling some layout methods, results in sip being inable
to downcast the items to their correct type, resulting only
in a QgsLayoutItem object.

This works around the problem, albeit in an incredibly hacky way.
2018-10-20 06:19:34 +10:00
Denis Rouzaud
ff1face71d more dox 2018-10-19 13:46:10 -04:00
Denis Rouzaud
b4e87d873e use float precision 2018-10-19 10:07:05 -04:00
Denis Rouzaud
09d2260b86 rename physicalSize to deviceOutputSize 2018-10-19 09:53:42 -04:00
Denis Rouzaud
ea982fe3d2 [fix #17773] fix HiDPI in map canvas on mac
For system introducing pixel device ratio, the image rendered by the canvas is actually scaled up to match the physical size of the canvas"
2018-10-19 08:50:12 -04:00
Nyall Dawson
1500c3eecb Fix dox 2018-10-19 08:32:56 +10:00
Nyall Dawson
5d9d903fb0 Move browser proxy model to core library and expose as stable API
This class is useful for plugins and other areas of QGIS code which
want to expose a limited browser interface (e.g. a vector layer
only type layer picker)

Also add unit tests
2018-10-19 08:32:56 +10:00
Nyall Dawson
72bf08e2b7 Deprecate QgsBrowserModel::connectItem
This method should only be private, and is completely dangerous
to call from external code (it breaks the model!).

Deprecate and replace with a no-op
2018-10-19 08:32:56 +10:00
Nyall Dawson
765dbf6ae7 Dox, tests 2018-10-19 08:32:56 +10:00
Alessandro Pasotti
5393df88ac Fixed documentation: FetchAttributes does not exist 2018-10-18 17:39:26 +02:00
Martin Dobias
f437a7e02b Added docs 2018-10-18 16:56:27 +02:00
Alessandro Pasotti
4010e79fe3
Merge pull request #8200 from elpaso/bugfix-20094-followup-096b4ce
Slow field calculator - Bugfix 20094 followup 096b4ce
2018-10-18 08:39:03 +02:00
Matthias Kuhn
190f938654
Merge pull request #8103 from m-kuhn/geometryValidatorCode_1
Geometry validation of editing session
2018-10-16 11:34:50 +02:00
Alessandro Pasotti
5defc03086 Fix slow updates from field calculator
Fixes #20094

Followup 096b4ce
2018-10-16 09:33:09 +02:00
Alessandro Pasotti
0e50b3ba70 Revert "Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness"
This reverts commit 096b4ce00426ee35a1eec5b54453b9ea2e22b903, reversing
changes made to 87e0f6961adcbf7039d2c0bef914cebd747afc67.
2018-10-16 09:33:09 +02:00
Denis Rouzaud
32d4bcc425
add Python __repr__ method to QgsGeometry.Error (#8198) 2018-10-15 06:53:09 -08:00
Martin Dobias
939a910cfc
Merge pull request #8181 from wonder-sk/py3d
Python bindings for QGIS 3D library
2018-10-15 15:07:40 +02:00
Matthias Kuhn
df44275e86
Update core sip files 2018-10-15 14:28:07 +02:00
Matthias Kuhn
f82970d79a
Send signals when geometry options change 2018-10-15 14:28:01 +02:00
Denis Rouzaud
7593d51687
add feature pool as argument to collect/fix error methods 2018-10-15 14:27:57 +02:00
Matthias Kuhn
1b0bd51434
Registry 2018-10-15 14:27:55 +02:00
Denis Rouzaud
574c672a1e
add QgsVectorLayer::getGeometry(fid) (#8174)
* add QgsVectorLayer::getGeometry(fid)

* update docs to say geom is invalid
2018-10-15 03:31:14 -08:00
Alessandro Pasotti
096b4ce004
Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness
Fixes slow update in field calculator
2018-10-15 10:32:09 +02:00
Nyall Dawson
a1a35e91cc Dox++ 2018-10-15 11:47:01 +10:00
Nyall Dawson
f07462b69a Spelling 2018-10-15 11:47:01 +10:00
Nyall Dawson
8f6ee1c40d Dox 2018-10-15 11:47:01 +10:00
Alessandro Pasotti
07b31287ba Fix rollback on large tables when attr table is opened 2018-10-14 00:44:25 +02:00
Martin Dobias
88cb8313c8 Python bindings for QGIS 3D library 2018-10-13 22:05:39 +02:00
Alessandro Pasotti
9d82df5d16 Forward to app blocking/unblocking of attr table updates
Fixes #20094 - Extracting z-coordinates takes ages and makes the system unresponsive
2018-10-13 15:40:57 +02:00
Harrissou Sant-anna
0816a29962 Fix typo in generated file 2018-10-13 12:30:52 +10:00
Nyall Dawson
b2df588a38 Fix see also link 2018-10-11 17:52:47 +10:00
Nyall Dawson
5beb4e2b8d Followup 9cad526, allow item rename through browser model 2018-10-11 17:52:47 +10:00
Denis Rouzaud
f27a5043bb remove useless includes 2018-10-09 11:48:33 -08:00
Denis Rouzaud
ef1efebda4 forward declaration of QgsPoint 2018-10-09 11:48:33 -08:00
Denis Rouzaud
d000157341 forward declarations for QgsMapLayer 2018-10-08 13:01:16 -08:00
Nathan Woodrow
f928c2e545
[FIX] - Respect selection order in attribute table copy. (#8048)
Only copy fields shown in view for current table.
2018-10-08 12:07:28 +10:00