57173 Commits

Author SHA1 Message Date
Denis Rouzaud
2a9f215f98
fix missing SIP_OUT (#31470) 2019-08-29 10:38:03 +02:00
Denis Rouzaud
11f1d0d7cb
Merge pull request #31414 from 3nids/rel_ref_wid_comp_keys
use composite keys in relation reference widget
2019-08-29 10:36:52 +02:00
Denis Rouzaud
ee6f8c580c const correctness, fix deprecated methods,
qVariantListIsNull returns true for an empty list
2019-08-29 10:31:55 +02:00
Denis Rouzaud
93a82f883a use composite keys in relation reference widget wrapper 2019-08-29 08:17:00 +02:00
Denis Rouzaud
c8f16fc955 use composite keys in relation reference widget 2019-08-29 08:17:00 +02:00
Nyall Dawson
19231331ba Actually properly revert cmake test changes 2019-08-29 15:16:16 +10:00
Nyall Dawson
aefca0f579 Indentation 2019-08-29 13:18:58 +10:00
Nyall Dawson
4ec0ed3d19 Improve help text for size/offset properties
Refs #31444
2019-08-29 13:18:58 +10:00
Nyall Dawson
ddbb1b175f [FEATURE] Allow array values as a valid result for data defined offset
or size properties

Previously only string values of the format 'x,y' would be permitted. But
I've seen MANY bug reports and questions about this, so also allow
arrays of doubles as a valid result. E.g. "array(3,5)". In any case, it's
just nicer.

Fixes #31444
2019-08-29 13:18:58 +10:00
Nyall Dawson
60e2b70ee3 Rework layout picture test to avoid need for image resources 2019-08-29 11:03:47 +10:00
Nyall Dawson
12dae94d66 Revert changes to core test cmake configuration 2019-08-29 11:03:47 +10:00
Borys Jurgiel
6d0ba46404 Add a context menu to the QgsMessageLogViewer's tab bar, so all unwanted tabs can be closed at once 2019-08-29 09:17:01 +10:00
Ismail Sunni
c0da9057eb Fix un-changed cursor when switching between 3d tool. 2019-08-28 18:34:38 +03:00
Denis Rouzaud
a3e5275cb7
replace deprecated QString::null by QString() (#31466) 2019-08-28 15:20:03 +02:00
Denis Rouzaud
44acec6b8a
move QgsRenderRange and QgsRendererRangeLabelFormat to their own file (#31464) 2019-08-28 14:22:07 +02:00
Denis Rouzaud
9b55eb2cbe
Merge pull request #31460 from nyalldawson/travis_t
Partially revert 596ffd06
2019-08-28 11:14:50 +02:00
Juergen E. Fischer
74abbaac9c osgeo4w: update nightly after proj-dev 6.2 update 2019-08-28 11:08:12 +02:00
Denis Rouzaud
b4635f53ed
fix condition 2019-08-28 10:34:54 +02:00
Denis Rouzaud
8467b7f506
fix order 2019-08-28 10:04:58 +02:00
Denis Rouzaud
8bc4052a11
option to add compiled resources to executable 2019-08-28 09:56:04 +02:00
nirvn
9ce283a222 [themes] Fix removed default QWidget text color 2019-08-28 14:26:13 +07:00
Denis Rouzaud
f453793d19
fix test name 2019-08-28 09:13:51 +02:00
Denis Rouzaud
a58d7845e3
use AUTORCC 2019-08-28 09:11:38 +02:00
Denis Rouzaud
4d61b76c45 fix return values when identifier values have not been initiliazed 2019-08-28 08:14:02 +02:00
Denis Rouzaud
bd0fb2b506 fix additional fields edition in attribute table and form 2019-08-28 08:14:02 +02:00
nirvn
f262ab54b3 [themes] Properly style the calendar widget 2019-08-28 11:14:09 +07:00
Nyall Dawson
377b4d7dc8 Unit tests for dynamic grid interval 2019-08-28 14:12:28 +10:00
Nyall Dawson
7560155de7 Fix layout map grid annotations sometimes incorrectly show as
geographic text
2019-08-28 14:12:28 +10:00
Nyall Dawson
1e409fcee4 [FEATURE][layouts] Add "fit segment size" mode for map grid interval
Like the existing scalebar setting of the same name, this allows
users to set a page-size-based range for map grid intervals. The
grid interval will be dynamically calculated based on the map
extent and scale to pick the largest possible "pretty" interval
which results in grid sizes inside the desired range.
2019-08-28 14:12:28 +10:00
Nyall Dawson
e0411e608d Refactor out scalebar code for calculating pretty interval sizes
into reusable function
2019-08-28 14:12:28 +10:00
Nyall Dawson
b90529b4c2 UI and API setup for dynamically calculated grid intervals 2019-08-28 14:12:28 +10:00
Nyall Dawson
88c66b805f Unit tests for data defined grid 2019-08-28 14:12:28 +10:00
Nyall Dawson
6607057212 Fix grid annotation positions were not accounting for grid frame width 2019-08-28 14:12:28 +10:00
Nyall Dawson
e6a93e25c6 Add missing data defined properties 2019-08-28 14:12:28 +10:00
Nyall Dawson
0900831c8a Use map expression context as basis for map grid expression context
Allows use of map related variables like @map_scale, @map_extent_width,
etc in layout map grid data defined expressions
2019-08-28 14:12:28 +10:00
Nyall Dawson
2d45eb5c70 [needs-docs][layouts] Move grid "enabled" check box to grid properties
panel

Allows it to sit next to the corresponding data defined button
2019-08-28 14:12:28 +10:00
Nyall Dawson
658cb0c740 [FEATURE][layouts] Data defined control over grid properties
Adds data defined control over layout map grid:
- enabled state
- interval X/Y
- offset X/Y
- frame size and margin
- annotation distance from frame
- cross size
- frame line thickness

Fixes #30246, fixes #27737
2019-08-28 14:12:28 +10:00
Nyall Dawson
228eb3fecc Partially revert 596ffd06
Just to see if this is throwing off Travis...
2019-08-28 12:47:53 +10:00
Nyall Dawson
4f330b6234 Show callout style in label settings preview icon 2019-08-28 12:23:37 +10:00
Nyall Dawson
760f93fa74 [FEATURE] Expose font kerning setting to text format widget/label settings
Allows users to control whether label fonts are kerned or not
2019-08-28 12:22:31 +10:00
Harrissou Sant-anna
63f5fa9c86 Fix code sample rendering in pyqgis doc 2019-08-28 12:07:27 +10:00
Harrissou Sant-anna
c70d3cef2b [needs-docs] Labels toolbar actions no longer need the layer to be in edit mode 2019-08-28 10:09:09 +10:00
Jorge Gustavo Rocha
8739eb2c6d include old project version on the initial warning message 2019-08-28 09:35:40 +10:00
Nyall Dawson
11a4bbfa57 Fix crash when using format function with no arguments
Fixes #31425
2019-08-28 05:20:01 +10:00
Harrissou Sant-anna
37598739d0 Remove "&" character from labels in Customization dialog 2019-08-28 03:57:32 +10:00
Harrissou Sant-anna
58cc42a747 [needs-docs]Set the service area algorithms speed to 50km/h
using the same value as the "Shortest Path" algorithms
2019-08-28 03:53:54 +10:00
Juergen E. Fischer
983b5f6068 more debug opencl debug info 2019-08-27 16:36:09 +02:00
nirvn
f801d1716d [FEATURE] Add possibility to export metadata when saving map canvas as PDF 2019-08-27 20:35:33 +07:00
Juergen E. Fischer
a817a8e247 layout picture: prepare expressions on refresh 2019-08-27 11:14:52 +02:00
Juergen E. Fischer
6608bb2917 don't use feed language C 2019-08-27 11:14:52 +02:00