49798 Commits

Author SHA1 Message Date
Luigi Pirelli
9e2286ae98 fix layer mapping in case direct use NOT in a model 2018-08-28 17:06:10 +02:00
Luigi Pirelli
d3144b97af remove unused method 2018-08-28 17:06:09 +02:00
Luigi Pirelli
6a2934cfa3 use complete layerSource instead of only basename 2018-08-28 17:06:09 +02:00
Luigi Pirelli
1bc1bb2f13 fix use layer source and managed string parsing in case of translation 2018-08-28 17:06:09 +02:00
Luigi Pirelli
faf9716a52 fix some code weakness and review comments 2018-08-28 17:06:09 +02:00
Luigi Pirelli
3a67c5d287 use QVariant::fromValue as suggested in review 2018-08-28 17:06:09 +02:00
Luigi Pirelli
5a3b319e1c change expression to use layers in the current execution scope 2018-08-28 17:06:08 +02:00
Luigi Pirelli
5ebe5d6c5b show variableDescription as shown in the list of variables 2018-08-28 17:06:08 +02:00
Luigi Pirelli
0acb766412 add model variables in expressionContext scope to be mapped in case used in symbolic formulas 2018-08-28 17:06:08 +02:00
Denis Rouzaud
2810c92f01
[mac] display icon in notification (#7734)
there is 2 icons in notifications, one from the app itself and one set from the notification
the icon application seems not to be set correctly on mac for now
only the windon icon is set in main.cpp with myApp.setWindowIcon
the icon defined in application plist does not seem to be correctly set
...so in this PR we set the notification icon to be the QGIS one, so it looks nicer
2018-08-28 14:56:22 +03:00
Nyall Dawson
5c7f13b3a4 Ensure context is passed with QTimer::singleShot 2018-08-28 18:43:48 +10:00
Peter Petrik
2855ccbeff add PeterPetrik to contributors map 2018-08-28 09:18:25 +02:00
Peter Petrik
d7afb710d7 [mesh] [feature] add opacity slider to mesh contours settings 2018-08-28 09:17:31 +02:00
Nyall Dawson
304033c916 [processing] Use distance parameter for Points Along Geometry offsets
and Topological Coloring distance parameters

Fixes #19712
2018-08-28 10:21:10 +10:00
Nyall Dawson
7a8bee2cec [processing] Reproject algorithm doesn't care about invalid features 2018-08-28 10:21:10 +10:00
Etienne Trimaille
98c51042f1 add myself to the map 2018-08-28 09:31:59 +10:00
Salvatore Larosa
8955684180 Fix the developers map in about dialog 2018-08-28 09:01:40 +10:00
Nyall Dawson
57997eb65d Fix failing spell checks 2018-08-28 08:50:43 +10:00
Mathieu Pellerin
f1fdbbbbf0 Fix references to contributors.json (#7722) 2018-08-27 23:12:40 +03:00
Harrissou Sant-anna
269edfd0df Fix parameter's label
Because all values are in layer units now and they can be overridden
2018-08-28 04:37:17 +10:00
Harrissou Sant-anna
236a53e77c Fix example display 2018-08-27 21:35:39 +10:00
Tim Sutton
9710c185d3
New Easter eggs which might actually be useful... (#7714)
Three new easter eggs:

world : Add a world map to your canvas - it is the same world map as used by the CRS chooser

contributors : Adds the contributors json (used to be in docs, now moved to resources/data)to the map canvas so you can quickly see the locations of QGIS developers in QGIS

hackfests : Adds qgis_hackfests.json (in resources/data) to the canvas so you can quickly see the locations of all historical QGIS hackfests. Note the attribute table has other interesting data too.
2018-08-27 10:44:37 +03:00
Nyall Dawson
0ad341a017 Use expression preview for variable values in variable editor widget
Means that values which are non-text, e.g. points, geometries,
lists, maps, etc show a value in the widget
2018-08-27 14:43:02 +10:00
Nyall Dawson
05a311bdcf Code modernization 2018-08-27 14:43:02 +10:00
Nyall Dawson
c8191ffd50 Allow unformatted preview text for expression results 2018-08-27 14:43:02 +10:00
Nyall Dawson
ff9e3890e0 [needs-docs] Rename map_layers_ids to map_layer_ids
It's more natural grammar
2018-08-27 14:43:02 +10:00
Nyall Dawson
820c40ac9d [FEATURE] map_layers variable for layout map items
Just like map_layers_ids, but returns direct layer values instead
of ids
2018-08-27 14:43:02 +10:00
Nyall Dawson
367d0befe4 Show preview text for map layer values in expressions 2018-08-27 14:43:02 +10:00
Andrea Giudiceandrea
3b9821f439 Update test_qgsdelimitedtextprovider_wanted.py
according to PR #7671
2018-08-27 11:55:33 +10:00
Andrea Giudiceandrea
379652d202 delimited text: let field names be numerical value
fixes #19638 "CSV: numeric header gets a trailing underscore + 1"
fixes #13187 "Numeric FIELD names are lost on CSV import"
2018-08-27 11:55:33 +10:00
Nyall Dawson
ee4cba06e8 [layouts] Fix printed pages are offset from top-left on some platforms
Fixes #19566
2018-08-27 11:42:16 +10:00
Nyall Dawson
5ba52e36e7 Hide CRS group box in vector properties for non-spatial layers
Fixes #19689
2018-08-27 11:35:57 +10:00
Nyall Dawson
7c805b4166 Rename vector layer 'CRS' group to 'Geometry and CRS'
Because the group box also contains non-CRS settings,
e.g. spatial index and extents
2018-08-27 11:35:57 +10:00
Nyall Dawson
f8f5fd1526 Fix bad test 2018-08-27 11:35:57 +10:00
Nyall Dawson
d84252c97c Fix project defaults to EPSG:4326 when a non-spatial layer is first
layer added

Fixes #19690
2018-08-27 11:35:57 +10:00
Nyall Dawson
1b560559e5 Non spatial layers do not have a CRS - API changes only, needs UI change
Refs #19689
2018-08-27 11:35:57 +10:00
Nyall Dawson
c87b625f08 Mark whole Auto Fixes group as disabled from geometryless layers
Results in nicer widget styling than disabling individual widgets
2018-08-27 10:09:41 +10:00
Nyall Dawson
e7b5d62cf6 Change geometry precision spin box to QgsDoubleSpinBox, with reset button 2018-08-27 10:09:41 +10:00
Nyall Dawson
56a40632e4 Standardize margin on digitizing page 2018-08-27 10:09:41 +10:00
Nyall Dawson
2f99b95e74 Standard some capitalization
- button text should be Title Case
- group box titles should be Title Case
- checkbox text should be Sentence case
2018-08-27 10:09:41 +10:00
Nyall Dawson
46356c848b [layouts] Set printer document name when printing layouts
Makes for better display in desktop print job queues
2018-08-27 10:00:13 +10:00
Harrissou Sant-anna
14f36f201f Fix typo 2018-08-27 09:15:48 +10:00
Blottiere Paul
e32c738c0b
Merge pull request #7693 from pblottiere/cerr
QgsMessageLogConsole in cerr
2018-08-26 20:38:07 +01:00
Matthias Kuhn
a6e0e39bcd
Merge pull request #7712 from m-kuhn/fixTheFix
Initialize
2018-08-26 13:37:22 +02:00
Matthias Kuhn
02b4f83b90 Initialize 2018-08-26 12:14:55 +02:00
Alexander Bruy
821a8ff0b5 [processing] fix incorrect output names 2018-08-26 11:26:07 +03:00
Matthias Kuhn
3c23bff681
Merge pull request #7710 from m-kuhn/fixTheFix
Fix the fix from yesterday
2018-08-26 09:10:45 +02:00
Matthias Kuhn
bc3a0c0033 Clean code 2018-08-26 09:08:07 +02:00
Matthias Kuhn
43afffc4a6 Revert "Simplify code"
This reverts commit dea911dcbcdaf8f725c2d99eb4a854936f043ef7.
2018-08-26 09:08:07 +02:00
Matthias Kuhn
3cd68999b0
Merge pull request #7698 from m-kuhn/wfsDateTimeNow
Support for now() in WFS filters
2018-08-26 07:43:09 +02:00