44421 Commits

Author SHA1 Message Date
Nyall Dawson
f290109964 Fix and update mapping of ogr wkt types to QGIS wkb types 2017-12-10 08:19:33 +10:00
Nyall Dawson
6ed44ff85d Correctly set initial state of new memory dialog 2017-12-10 08:19:33 +10:00
Nyall Dawson
fd1042576b Align CRS selector with geometry widgets in new layer dialogs
Since it's directly related to the geometry settings, and is
only enabled when the geometry is selected, it should be
more closely visually linked with this widget
2017-12-10 08:19:33 +10:00
Nyall Dawson
fe42464c7f Use standard names for multi* geometry types 2017-12-10 08:17:32 +10:00
Alessandro Pasotti
fb28adfb4a
Merge pull request #5820 from elpaso/colorramp-hidpi
Adjust colorramp height on HiDPI screens
2017-12-09 16:10:07 +01:00
Alessandro Pasotti
e479b71594 [bugfix] Do not crash when layer is destroyed while loading
Fixes #17636 QGIS crashes when a layer is removed
while loading the attribute table
2017-12-09 16:07:02 +01:00
Alessandro Pasotti
e4cf0655bd Fix insert rows when there are no rows
This condition was hitting an assert in Qt core.
2017-12-09 09:49:52 +01:00
Alessandro Pasotti
b6dd62facb [hidpi] Apply UI_SCALE_FACTOR multiplier to font metrics
On windows too.
2017-12-09 09:48:37 +01:00
Nyall Dawson
53ebe050bd
Merge pull request #5825 from nyalldawson/gdal
[processing] Some GDAL algorithm fixes
2017-12-09 17:26:41 +11:00
Harrissou Sant-anna
41ca084d55 Add Title and Help button to "Symbol levels" dialog 2017-12-09 02:00:55 +01:00
Harrissou Sant-anna
a4cf840d5c Add Cancel button to "Size Legend" dialog
because it's easier than hitting the cross button if you want to leave the dialog
2017-12-09 02:00:55 +01:00
Harrissou Sant-anna
99568643e3 Enable help button and title in color dialogs 2017-12-09 02:00:55 +01:00
Nyall Dawson
297138f14f Fix ui build warnings 2017-12-08 16:50:01 +10:00
Nyall Dawson
6a738014ea Ensure canvas is refreshed after triggering Select All 2017-12-08 16:47:43 +10:00
Mathieu Pellerin
1ea83e227f
Allow appending layers to existing spatialite in its create layer dialog 2017-12-08 13:02:38 +07: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 #17605
2017-12-08 15:18:03 +10:00
Mathieu Pellerin
11c1f3a718
[need-docs] reorganize the new spatialite layer dialog (#5824) 2017-12-08 12:12:22 +07: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
Nyall Dawson
15e7d57f97 Hide "whats this" buttons on all dialogs on Windows
Since it's totally useless and does nothing at all.

*Requires Qt >= 5.10
2017-12-08 11:08:27 +10:00
Nyall Dawson
14f754ac6a Enable geometry restore for annotation config dialogs 2017-12-08 11:05:25 +10:00
Nyall Dawson
5473ebab32
Merge pull request #5822 from Gustry/fix_build_macos
add missing include for macos
2017-12-08 05:42:49 +11:00
Etienne Trimaille
9ace5e3ae4 add missing include for macos 2017-12-07 16:13:52 +01:00
nirvn
1305cccbd9 Fix new geopackage layer test 2017-12-07 16:55:52 +07:00
Mathieu Pellerin
7e0c149b0c
Merge pull request #5818 from nirvn/filewidget_fest
Use QgsFileWidget in several dialogs
2017-12-07 16:32:28 +07:00
nirvn
de0ac14ae1 [ui] use qgsfilewidget in the save raster as dialog 2017-12-07 16:24:28 +07:00
nirvn
09e830bf08 [ui] use qgsfilewidget in the save vector as dialog 2017-12-07 16:22:58 +07:00
nirvn
38c96fe373 [ui] use qgsfilewidget in the create geopackage layer dialog 2017-12-07 16:22:58 +07:00
Alessandro Pasotti
251b2aefdf Adjust colorramp height on HiDPI screens 2017-12-07 10:15:43 +01:00
nirvn
c2acb5feec [ui] use qgsfilewidget in the create shapefile layer dialog 2017-12-07 16:00:32 +07:00
nirvn
cddca2f850 [file widget] add a save file mode to allow file creation 2017-12-07 11:26:59 +07:00
Harrissou Sant-anna
bac80aa93a [need-docs] Reorganize the new memory layer (#5804) 2017-12-07 09:41:43 +07:00
Harrissou Sant-anna
571bf54d2a [needs-docs] Refactor the New Shapefile dialog to mimic the GeoPackage sequence (#5803) 2017-12-07 09:39:12 +07:00
Nyall Dawson
a12673c51b
Merge pull request #5794 from nyalldawson/layout_next2
[layouts] Copy/paste, templates, etc
2017-12-07 10:37:07 +11:00
Matthias Kuhn
ba4346b5c5 Make deprecated QtScript library optional 2017-12-07 00:26:08 +01:00
Nyall Dawson
8e77701288 Fix warning 2017-12-07 09:08:28 +10: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
b6dab6ff48 [needs-docs] Add "delete layout" action to layout designer menu
Fixes #10436
2017-12-07 08:50:01 +10:00
Nyall Dawson
88682b2c7d [needs-docs] Add rename layout action to layout designer dialog
Fixes #10435
2017-12-07 08:50:01 +10:00
Nyall Dawson
61c57bc20e Save and restore layouts with project 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
d69290ea50 Indentation 2017-12-07 08:50:01 +10:00
Nyall Dawson
dbd5215e62 #ifdef out dummy test item 2017-12-07 08:50:01 +10:00