17290 Commits

Author SHA1 Message Date
Alexander Bruy
4d5a8a391c [processing] rename Graphics group to Plots as this better reflects
purpose of the algorithms inside it (fix #33310)
2020-05-07 03:31:22 +10:00
Alexander Bruy
8e2a9d5797
Merge pull request #36232 from alexbruy/close-prompt
prompt before closing SQL editor tabs with unsaved changes (fix #14636)
2020-05-06 19:17:10 +03:00
Denis Rouzaud
37efb4d598
Merge pull request #35382 from 3nids/dnd-across-qgis-instances
[FEATURE] allow to drag'n'drop layer across several QGIS instances
2020-05-06 16:04:07 +02:00
Denis Rouzaud
c6ee633b7d add level and duration to message emitted 2020-05-06 14:45:55 +02:00
Matthias Kuhn
dd0d71a6b7 Fix tests 2020-05-06 12:45:09 +02:00
Alexander Bruy
bba874cd42 prompt before closing SQL editor tabs with unsaved changes (fix #14636) 2020-05-06 12:49:18 +03:00
Matthias Kuhn
0aa1eb0e1e
Merge branch 'master' into pyflakes 2020-05-06 08:32:48 +02:00
Nyall Dawson
1e0b890dc1 [feature][layouts] Expose control over layer legend splitting behavior on a layer-by-layer basis
This allows users to manually override the legend's default setting for "split layers"
on a layer-by-layer basis, by double clicking a layer in the layout legend panel
and choosing whether that layer:
- follows the default legend setting for splitting
- can ALWAYS be split over multiple columns (regardless of the legend's setting)
or
- can NEVER be split over multiple columns (regardless of the legend's setting)

Sponsored by SLYR
2020-05-06 16:27:31 +10:00
Denis Rouzaud
7e0c438b9c
enhance sorting capabilities in attribute table list/form view (#36199) 2020-05-06 06:45:22 +02:00
Andrea Giudiceandrea
a3397a8a2e
[feature][layouts] Add subdivisions in ticks scalebar right segments
Adds the ability to create subdivisions for segments included in the right part of the ticksscalebar

Fixes #20341
2020-05-06 09:12:37 +10:00
Matthias Kuhn
841328e0a7 Remove unused code 2020-05-06 00:06:23 +02:00
Matthias Kuhn
2dafee528b Fix some remaining issues 2020-05-05 23:43:36 +02:00
Matthias Kuhn
0afe134076 Noqa 2020-05-05 23:43:27 +02:00
Matthias Kuhn
9602e0faad Fix imports 2020-05-05 23:36:06 +02:00
Matthias Kuhn
a5f557f085 Fix escaping issues 2020-05-05 23:22:12 +02:00
Matthias Kuhn
f39a5b62fe Fix code issues 2020-05-05 22:39:53 +02:00
Matthias Kuhn
0457875f00 noqa 2020-05-05 22:39:40 +02:00
Matthias Kuhn
9eae0caa09 Add missing imports 2020-05-05 22:39:16 +02:00
Matthias Kuhn
a7e0831dcf Code style 2020-05-05 22:38:37 +02:00
Matthias Kuhn
f0ab7fd770 noqa for injected code 2020-05-05 21:58:59 +02:00
Matthias Kuhn
c0660f24d5 Modernize code 2020-05-05 21:58:29 +02:00
Nyall Dawson
aaed8f4901 Dox++ 2020-05-06 00:22:27 +10:00
Nyall Dawson
32c17c316e [FEATURE] Allow placing manual column breaks in legends
Adds the option when configuring a legend item to place a column
break before the item, causing it to be placed into a new column

This allows user control over the column content, for cases when
the automatic column generation doesn't result in the desired results
2020-05-06 00:22:27 +10:00
Vincent Cloarec
0d9a15b751
Snap on mesh elements (#36171)
[API] [FEATURE] Add a method in API to snap on mesh elements (vertex, edge, face)
The method returns the position of the snapped point on the closest mesh element :
2020-05-05 13:31:49 +02:00
Denis Rouzaud
c22c73dde2
allow fetching all features in QgsFeaturePickerWidget (#36193)
and more documentation
2020-05-05 11:08:56 +02:00
Denis Rouzaud
7fbc8a4843 add missing doc+ 2020-05-05 10:29:39 +02:00
Denis Rouzaud
01f766255b layer tree model can emit messages which will be shown in the message bar 2020-05-05 09:25:31 +02:00
Nyall Dawson
7a6220a77f [FEATURE][layouts] Allow overriding the default symbol for a legend node
This allows users to (optionally!) customise the symbol appearance
for a legend node, e.g. to tweak the colors or symbol sizes to better
provide a "representative" patch symbol compared with how those
corresponding features actually appear on the map.

It's useful for exaggerating symbol widths, or for manually tweaking
the colors of semi-transparent symbols so that the colors represent
the actual appearance of the symbols when rendered on top of the map
content. Or to tweak the marker interval/offset in marker lines so that the
markers are nicely spaced in the legend patch.

Fixes #14077
2020-05-05 11:49:05 +10:00
vcloarec
aa6d23d540 disable transparency for QgsInterpolatedLineRenderer 2020-05-05 05:53:25 +10:00
Martin Dobias
ac8b956640 Allow relative paths to vector tile layers in projects (fixes #36023) 2020-05-04 13:05:19 +02:00
Matthias Kuhn
768d68f2bf Remove garbage
Pretty sure that was never put here on purpose
2020-05-04 16:12:29 +10:00
Germap
5623229f8c
[processing] Set distanceArea CRS properly in SumLineLengths algorithm
Fix #36135
2020-05-04 06:26:56 +10:00
Nyall Dawson
66a3b090da Maybe even LESS enum classes will help? 2020-05-04 05:38:48 +10:00
Nyall Dawson
6ec369e6b7 Travis says no to enum class 2020-05-04 05:38:48 +10:00
Nyall Dawson
d0ca4f31f8 Since 2020-05-04 05:38:48 +10:00
Nyall Dawson
e10c9f3b19 [labeling][FEATURE] Add a dedicated polygon placement mode for "outside"
When selected, labels will always be placed outside of polygons for the
layer

Sponsored by QGIS Swiss user group
2020-05-04 05:38:48 +10:00
Nyall Dawson
9fb85d3bc8 [FEATURE][labeling] Permit data defined control over placing labels outside
polygons

Options are:
- 'yes': allow placing outside the polygon if needed
- 'no': don't allow outside placements
- 'force': only ever put this label outside the polygon
2020-05-04 05:38:48 +10:00
Nyall Dawson
51820badc1 [FEATURE][labeling] Add option to allow polygon labels to be placed
outside of polygon features when required

When a label can't be placed inside the polygon and this option is checked,
then it will be automatically placed at a nicely selected location
just outside of the polygon

Sponsored by QGIS Swiss user group!
2020-05-04 05:38:48 +10:00
Germán Carrillo
a6db48151b Missing dockwidget object name (useful for addTabifiedDockWidget) 2020-05-03 15:34:46 +10:00
Germán Carrillo
76a8f8270a Expose addTabifiedDockWidget through QgisInterface 2020-05-03 15:34:46 +10:00
Denis Rouzaud
dd560f49b3
move the logic to save line edit state to QgsLineEdit (#36117) 2020-05-01 14:17:58 +02:00
Alexander Bruy
dc023e6cdb
Merge pull request #36032 from alexbruy/service-area-units
[processing] use hours as cost units for service area algorithms (fix #30464)
2020-04-30 21:07:58 +03:00
Alexander Bruy
5d7871fa0c fix tests 2020-04-30 18:52:35 +03:00
Denis Rouzaud
578ab8596d
Merge pull request #36089 from 3nids/expression-preview
Feature browser for preview in expression builder
2020-04-30 17:50:10 +02:00
Denis Rouzaud
3fd45ecaff add browsing buttons 2020-04-30 09:41:05 +02:00
Denis Rouzaud
9488f06025 code layout 2020-04-30 06:52:22 +02:00
Alexander Bruy
9a53837946 add new parameter and hide old one 2020-04-30 07:46:05 +03:00
uclaros
b6f890ec11 fix typo 2020-04-30 09:03:18 +10:00
Nyall Dawson
17c8a59e4e Refactor QgsLineString::interpolatePoint to extract segment traversal
to a separate visitor function

This allows other code paths to utilise this same logic in an efficient
way
2020-04-30 08:23:43 +10:00
Alessandro Pasotti
909dd31108
Merge pull request #36087 from Samweli/provider_metadata_bool_params
Functions for adding a variant of bool params in provider metadata
2020-04-29 18:47:22 +02:00