62739 Commits

Author SHA1 Message Date
Nyall Dawson
3dce1bf173 [feature][temporal] Add "start field + duration field" mode for vector layers
Allows temporal filtering of layers which store a start time in one
field and a duration in a different numeric field. Users are given
a choice of temporal units for the duration (e.g. seconds, days, etc)
2020-05-13 20:20:00 +10:00
Nyall Dawson
60d87e785a [temporal] Try to auto-populate reasonable initial choices for
vector layer temporal settings

When a new vector layer is loaded, we scan through the fields
for likely candidates for the start and end field choices. If found,
we initially setup the temporal properties to these guessed fields,
but we DON'T automatically enable temporal properties for the layer.

It's just a nice little shortcut, much like how we auto-guess the
appropriate title field for a newly added layer
2020-05-13 16:40:39 +10:00
Alexander Bruy
c93049afd1 add "Selection" toolbar to the QGIS main window and move all
selection-related actions to it (fix #21045, refs #20350)
2020-05-13 10:18:47 +10:00
Julien Cabieces
0fa4718cff make helpText const
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-05-13 08:39:04 +10:00
Julien Cabieces
ee9b696aa4 Fixes #36191 : remove qrichtext meta from expression description html 2020-05-13 08:39:04 +10:00
Richard Duivenvoorde
153842050c New Temporal 'goto end/start' icons 2020-05-13 07:26:34 +10:00
Bertrand Rix
843860e2c0
Fix QgsGeometry nearestPoint and minimalEnclosingCircle when the geometry is empty
fix #36142
2020-05-13 05:19:02 +10:00
Luigi Pirelli
a11a1213ed
Avoid temporary destination filename has "." inside
Fixes #36353
2020-05-13 05:13:22 +10:00
Matthias Kuhn
2b1ad2a2b3
[ci] be more flexible on the python version 2020-05-12 18:33:59 +02:00
Matthias Kuhn
e04b28e704
Merge pull request #36369 from signedav/siplinks
Links to another sip doc host
2020-05-12 17:57:22 +02:00
David Signer
5d4ab688a5 use links from riverbankcomputing 2020-05-12 13:18:48 +02:00
Matthias Kuhn
b2890f0b6b
Merge pull request #36283 from nyalldawson/html_colors
Respect HTML colors in labels
2020-05-12 13:16:56 +02:00
David Signer
0937ad3724 links to another sip doc host 2020-05-12 13:15:00 +02:00
Martin Dobias
3d132e6f4f Fix typo 2020-05-12 12:10:55 +02:00
Martin Dobias
a5160086ed Support TMS convention with vector tiles ({-y} instead of {y})
XYZ convention has zero Y at the top and increasing downwards,
but various map servers use TMS convention which has zero Y at
the bottom and rising upwards (within tile matrix)
2020-05-12 12:10:55 +02:00
Nyall Dawson
f2b03a8334 Doxygen test fixes 2020-05-12 19:21:39 +10:00
Matthias Kuhn
ceea4f2981
More verbose doc test feedback 2020-05-12 10:41:09 +02:00
Nyall Dawson
1814052647 Fix doxygen warning 2020-05-12 17:43:59 +10:00
Nyall Dawson
0f5483836c Fix custom widgets build 2020-05-12 17:10:31 +10:00
rldhont
1435076d2f
Merge pull request #36352 from rldhont/server-wfs-describe-curve-surface
[Bugfix][Server] WFS DescribeFeatureType: add MultiCurve and MultiSurface in SCHEMA
2020-05-12 07:58:14 +02:00
Matthias Kuhn
00676f208f
Merge pull request #36361 from m-kuhn/code_layout_test_to_github_workflow
Fix documentation test
2020-05-12 07:53:43 +02:00
Matthias Kuhn
245bedb8e5 Fix documentation tests 2020-05-12 07:47:37 +02:00
Alexander Bruy
3e63210725
Merge pull request #36289 from alexbruy/scratch-attributes
allow adding attributes in the New Scratch Layer dialog (fix #24397)
2020-05-12 08:39:12 +03:00
Nyall Dawson
99c8510709 Sipify 2020-05-12 15:37:22 +10:00
Nyall Dawson
b5314f221a Test masks 2020-05-12 15:27:55 +10:00
Nyall Dawson
e76013e9cd Fix F523 flake issues 2020-05-12 14:24:40 +10:00
Nyall Dawson
04699b008f More reference images 2020-05-12 14:20:56 +10:00
Nyall Dawson
d06e5722fd More tests 2020-05-12 14:17:33 +10:00
Nyall Dawson
92bcc94a19 Fix build 2020-05-12 14:01:42 +10:00
Nyall Dawson
fe56d36949 Unit tests for QgsTextCharacterFormat 2020-05-12 13:57:13 +10:00
Nyall Dawson
556b858dfa More tests 2020-05-12 13:50:01 +10:00
Nyall Dawson
b941e1c325 Complete tests for QgsTextDocument 2020-05-12 13:42:00 +10:00
Nyall Dawson
180bbeccb8 PyQGIS syntatic sugar, start on tests for QgsTextDocument 2020-05-12 13:26:50 +10:00
Nyall Dawson
27d40f70ae Remove outdated test 2020-05-12 13:19:53 +10:00
Nyall Dawson
4a55a67338 Travis build fix 2020-05-12 12:01:01 +10:00
Nyall Dawson
678fa88973 Disabled test run 2020-05-12 11:57:46 +10:00
Nyall Dawson
7dfc510771 Fix scalebar text size calculation when HTML formatting is used 2020-05-12 11:37:08 +10:00
Nyall Dawson
5092939ef9 Update QgsTextRenderer::textWidth/textHeight to handle HTML formatting 2020-05-12 11:26:42 +10:00
Nyall Dawson
8b263162d5 Try to fix Travis build 2020-05-12 10:46:45 +10:00
Nyall Dawson
bf71382065 Don't try to reuse True value in enum, causes Python issue 2020-05-12 10:33:30 +10:00
Nyall Dawson
cd52fabebf Build fixes 2020-05-12 10:33:30 +10:00
Nyall Dawson
9a63810d82 Use composition rather then inheritance for QgsTextBlock/QgsTextDocument
Allows us to expose these to python and hopefully fixes compilation issue on Travis
2020-05-12 10:33:30 +10:00
Nyall Dawson
cb1e8445d3 Expose some more classes to Python, but mark as unstable API 2020-05-12 10:33:30 +10:00
Nyall Dawson
0e139992e3 Split massive qgstextrenderer.cpp/.h files into separate files per
contained class

and tighten includes to speed up recompilation
2020-05-12 10:33:30 +10:00
Nyall Dawson
e4b201a414 Code shuffle 2020-05-12 10:33:30 +10:00
Nyall Dawson
7fc9c555de More cleanups, avoid multiple parsing of the same HTML content for a label 2020-05-12 10:33:30 +10:00
Nyall Dawson
a3b91647c7 Cleanups, vertical text handling 2020-05-12 10:33:30 +10:00
Nyall Dawson
fe14e52e16 General cleanups, and add support for underline/overline/strikethrough formatting tags 2020-05-12 10:33:30 +10:00
Nyall Dawson
173e209a15 Sip says no 2020-05-12 10:33:30 +10:00
Nyall Dawson
f268356947 Create custom QGIS classes for QgsTextDocument, QgsTextBlock, QgsTextCharacterFormat
etc

In the hope of eventually removing the QTextDocument dependancy for HTML
labels. We use this ONLY for parsing the HTML/css, and it's VERY
heavy for just these needs.
2020-05-12 10:33:30 +10:00