57186 Commits

Author SHA1 Message Date
Juergen E. Fischer
19220b9e06 fix windows build including some warnings 2019-08-17 11:58:04 +02:00
Harrissou Sant-anna
2f5d544e3e Set objectName of items to allow their children status restoring 2019-08-17 10:12:26 +02:00
Harrissou Sant-anna
ad1af977ef Enable restoring of actions embedded within drop-down toolbuttons on Toolbar 2019-08-17 10:00:42 +02:00
Harrissou Sant-anna
48cfc3b246 Fix doc 2019-08-17 10:00:42 +02:00
Harrissou Sant-anna
a758a49cde Allow widgets in toolbars to show subitems in customization dialog
Toolbar items are not necessarily QAction. They can be QToolButton, hence have children that can
no be listed if handling only QAction.
2019-08-17 09:57:57 +02:00
Nyall Dawson
8b4cecb247 Fix page size to PDF coordinate space conversion, add some comments regarding 72 dpi assumptions 2019-08-17 14:53:11 +10:00
Nyall Dawson
7d482641c7 Copy layout metadata to GeoPDF export settings if exporting metadata 2019-08-17 14:53:11 +10:00
Nyall Dawson
0e108567e6 Fix metadata export in GeoPDF 2019-08-17 14:53:11 +10:00
Nyall Dawson
d7ad628e27 Dox ++ 2019-08-17 14:53:11 +10:00
Nyall Dawson
a4af22e8fb Only export by layer for geopdf exports 2019-08-17 14:53:11 +10:00
Nyall Dawson
081c2b967c Remove outdated comment 2019-08-17 14:53:11 +10:00
Nyall Dawson
0537a6529a Fix broken see also link 2019-08-17 14:53:11 +10:00
Nyall Dawson
72363ea450 SHUDDDDUP 2019-08-17 14:53:11 +10:00
Nyall Dawson
82ad958db0 No warning 2019-08-17 14:53:11 +10:00
Nyall Dawson
93342a33ce [FEATURE] GeoPDF export in map renderer task (e.g. save as canvas)
Not exposed to UI yet
2019-08-17 14:53:11 +10:00
Nyall Dawson
b1e3d047d6 Make QgsMapRendererStagedRenderJob thread safe 2019-08-17 14:53:11 +10:00
Nyall Dawson
84f086b485 Fix travis build 2019-08-17 14:53:11 +10:00
Nyall Dawson
4384f3d882 Dox 2019-08-17 14:53:11 +10:00
Nyall Dawson
30bd0f55d8 Fix build on Travis 2019-08-17 14:53:11 +10:00
Nyall Dawson
a4d1b293a0 QgsMapRendererTask was NOT thread safe! ouch 2019-08-17 14:53:11 +10:00
Nyall Dawson
bd1e628358 Fix dox warnings 2019-08-17 14:53:11 +10:00
Nyall Dawson
36c6dc7ec5 Update tests 2019-08-17 14:53:11 +10:00
Nyall Dawson
f4cddb450a More tests 2019-08-17 14:53:11 +10:00
Nyall Dawson
c23b1c6d79 Tests 2019-08-17 14:53:11 +10:00
Nyall Dawson
65b4496538 GeoPDF export also requires GDAL builds with poppler/pdfium support built in 2019-08-17 14:53:11 +10:00
Nyall Dawson
a0b63502cd GeoPDF creation requires GDAL 3 or later, add API to determine whether it's available at runtime 2019-08-17 14:53:11 +10:00
Nyall Dawson
0ea60cc48b Use abstract base class for QgsLayoutGeoPdfExporter 2019-08-17 14:53:11 +10:00
Nyall Dawson
961bc9f925 Start splitting GeoPDF exporter to allow use with non-layout exports 2019-08-17 14:53:11 +10:00
Nyall Dawson
ab6e3fe49f Switch back to ISO georeferencing format 2019-08-17 14:53:11 +10:00
Nyall Dawson
b3d4faa3fa Small fixes 2019-08-17 14:53:11 +10:00
Nyall Dawson
ed077f9d4c Export PDF to correct location 2019-08-17 14:53:11 +10:00
Nyall Dawson
541fc234cf Set correct field to display 2019-08-17 14:53:11 +10:00
Nyall Dawson
6fd3366ae8 Georeference PDFs (WIP) 2019-08-17 14:53:11 +10:00
Nyall Dawson
9018d23a54 Progress on exporting layered PDFs 2019-08-17 14:53:11 +10:00
Nyall Dawson
775c7c5bc1 Refactor out logic for exporting layouts into separate layers 2019-08-17 14:53:11 +10:00
Nyall Dawson
fb4b483f14 Fudge size 2019-08-17 14:53:11 +10:00
Nyall Dawson
39b12a6a9d Use GADL to create actual GeoPDF from composition file 2019-08-17 14:53:11 +10:00
Nyall Dawson
522dacf9f4 Initial steps towards creation of GDAL composition XML 2019-08-17 14:53:11 +10:00
Nyall Dawson
3b5388b457 Write out rendered features to temporary layers on finalize 2019-08-17 14:53:11 +10:00
Nyall Dawson
afca6ef8b9 Add method to collate all collected features from different maps but the same layer 2019-08-17 14:53:11 +10:00
Nyall Dawson
2dbd5268d3 Add unit test with second map, correct map to layout transform calculation 2019-08-17 14:53:11 +10:00
Nyall Dawson
c54af27d94 Transform rendered feature bounds to layout item coordinate space 2019-08-17 14:53:11 +10:00
Nyall Dawson
e66135bfd0 We require a per-map-item rendered feature handler 2019-08-17 14:53:11 +10:00
Nyall Dawson
b397b457f8 Collect all features rendered during a geopdf export 2019-08-17 14:53:11 +10:00
Nyall Dawson
1a294df22a Start on GeoPDF exporter class 2019-08-17 14:53:11 +10:00
Alessandro Pasotti
a3c4eb9947
Providers connections interface API
This is the implementation of the new DB connections API (grant proposal 2019).
Summary

The new API makes it available to QGIS core a new interface for provider connections and will allow to:

    replace the provider specific QgsSettings management in QGIS4 (save/load connections from the settings) NOT IN SCOPE FOR NOW.
    provide a unified API for common operations on DB connections:
        executeSql and get the results
        list tables names and properties and schemas
        create a new vector table (no rasters for now)
        create/rename/drop schemas and tables
        vacuum
       ....
2019-08-16 20:44:05 +02:00
Alessandro Pasotti
945ac8caf4 Fix cdash url 2019-08-16 16:55:36 +02:00
Matthias Kuhn
3245376e64
Merge pull request #31167 from signedav/default-values-update
Update widgets with default values on attribute form
2019-08-16 16:42:39 +02:00
signedav
556551be32
Update src/core/qgis.cpp
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-08-16 12:32:14 +02:00
Denis Rouzaud
d02a1728ef fix deprecated QComboBox::currentIndexChanged with string 2019-08-16 09:51:30 +02:00