2644 Commits

Author SHA1 Message Date
Martin Dobias
dbe1ef8aa2
Merge pull request #37685 from vcloarec/curveMapToolCapture
digitizing and splitting feature with curves
2020-08-03 22:41:04 +02:00
Nyall Dawson
6d647aa678 Add method to filter QgsLayoutItemComboBox by item flags 2020-07-31 03:06:31 +10:00
vcloarec
e022b3eb5c renaming and typo 2020-07-29 21:32:17 -04:00
vcloarec
fd81a2edfc add button in tool bar to switch between linear/circular digitizing 2020-07-29 12:49:44 -04:00
vcloarec
938c3ff3cd sync vertices with matches 2020-07-29 12:49:44 -04:00
vcloarec
f7a16c5fd3 fix doc and pass map tool reshape test 2020-07-29 12:49:44 -04:00
vcloarec
56787d63d0 fix SIP end doc 2020-07-29 12:49:44 -04:00
vcloarec
2e3fabf945 QgsMapToolCapture support circular curve 2020-07-29 12:49:44 -04:00
Nyall Dawson
b1d02619f5 Use registry to create 3d symbol widgets, avoid hardcoded widgets 2020-07-29 10:27:17 +10:00
Nyall Dawson
a0e915fc50 Add support for filtering style model by 3d layer type 2020-07-29 10:27:17 +10:00
Nyall Dawson
d8e44539f1 Allow adding/editing 3d symbols in style manager dialog 2020-07-29 10:27:17 +10:00
Nyall Dawson
466a01ca6d When setting a new text format for a QgsFontButton, automatically
update any open configuration panel to reflect the new format
(or dismiss it automatically if the new format is invalid)

Avoids UI going out of sync with text formats when a panel is already
open
2020-07-27 11:26:56 +10:00
Nyall Dawson
7cfa476a2d [layouts] Save table editor panel state to avoid having to constantly
resize formatting panel on reopen
2020-07-27 11:12:58 +10:00
Nyall Dawson
cc0cfbe02b [processing] Also fix expression preview results in Aggregate algorithm 2020-07-24 10:26:17 +10:00
Nyall Dawson
69f73e3a74 [processing] When running in toolbox mode, set the source layer for
the field expression widgets in the refactor fields widget so that
the expression editor can generate feature based previews

Fixes #37912
2020-07-24 10:26:17 +10:00
Nyall Dawson
ddb67fd46a Fix dox 2020-07-23 07:53:20 +10:00
Nyall Dawson
368a58bf5e Base class for 3d symbol widgets 2020-07-23 07:53:20 +10:00
Peter Petrik
d9f18ccb9c
Fix spelling (#37849)
fix the spelling errors
2020-07-21 12:51:48 +02:00
Harrissou Sant-anna
5c83cd07cc Move some cpp code samples to python 2020-07-21 10:13:45 +10:00
Dan Minor
bfc0925bbf
Call saveSettings from QgsCompoundColorWidget::hideEvent
We currently call saveSettings from the QgsCompoundColorWidget destructor.
Since we restore the custom colors when the constructor runs, any changes made
will be lost if a second QgsCompoundColorWidget is created before the first is
destroyed. This adds a hideEvent handler, and saves the settings from there.

Fixes #37749.
2020-07-21 09:56:24 +10:00
Alessandro Pasotti
3af038f861
Merge pull request #37832 from elpaso/browser-create-table
Browser create database table
2020-07-18 17:18:16 +02:00
Alessandro Pasotti
ecb5f4b31b New notify on gui dataitems 2020-07-16 19:05:48 +02:00
Matthias Kuhn
e91abdc23f
Merge pull request #37769 from m-kuhn/fix_snapping_scope_missing
Cache snapping results in feature dialog for subsequent recalculation
2020-07-16 15:39:06 +02:00
Matthias Kuhn
986df3b8a7
Merge pull request #37830 from suricactus/fix_paste
Fix pasting features - only a single insert operation, no unnecessary (failing) updates
2020-07-16 13:54:07 +02:00
Matthias Kuhn
66c82f325a Improved docstring 2020-07-16 13:16:43 +02:00
Alessandro Pasotti
1ac91c1f2e Add geom col capabilities and create spatial index 2020-07-16 09:40:18 +02:00
Alessandro Pasotti
07adc6cef9 Doxy 2020-07-15 18:47:47 +02:00
Alessandro Pasotti
f0b43aa2b7 Browser table: skip fields conversion + UX & tests
The reason for skipConvertFields is that the providers
are not smart enough to recognize if a field is alredy
compatible and they narrow down all fields anyway
to stay on the safe side.

Fixing all providers would be nice but it's definitely
out of scope for this PR.
2020-07-15 16:51:00 +02:00
Ivan Ivanov
c192f012d9 Sipify 2020-07-15 15:30:45 +03:00
Alessandro Pasotti
d6259680f0 New table validator 2020-07-14 17:43:21 +02:00
Alessandro Pasotti
15a4c3928c
Merge pull request #37136 from SebastienPeillet/several_fix_locale_raster_properties
Fix decimal point issues on raster properties forms,  Fixes #33859
2020-07-14 15:45:05 +02:00
Alessandro Pasotti
d8a45f92a3 New table dialog menu provider 2020-07-14 15:25:20 +02:00
Alessandro Pasotti
1f11d31c68 New database table dialog: actions 2020-07-14 15:25:20 +02:00
speillet
887d544309 fix suggested by reviewers 2020-07-14 12:46:54 +02:00
Nyall Dawson
1f9b9c8c9e [feature][layouts] Allow cells in manual text tables to have expression
based contents

Allows individual cells from a manual text table to take their contents
from a preset expression. Expressions have access to the full layout
item expression context, allowing cells to calculate and display
metadata style values or aggregate based calculations.

Sponsored by City of Canning
2020-07-14 11:28:23 +10:00
Nyall Dawson
761f594cca Improve api and UX for handling cell text formatting in manual tables,
by removing the checkbox for overridding text format and using the
"not set" state from the font button instead
2020-07-14 11:23:33 +10:00
Nyall Dawson
cdc91267fc Add option to QgsFontButton to show a "set to null" action in menu
Allows for inclusion of a "use default" style option for QgsFontButton
2020-07-14 11:23:33 +10:00
Denis Rouzaud
256044cf2c rephrase shown to visible 2020-07-13 08:48:31 +02:00
Denis Rouzaud
ccb3b8ec80 make more buttons configurable in relation editor
fixes #37718
2020-07-13 08:48:31 +02:00
Nyall Dawson
ff8d070fea [feature][layouts] Expose control over cell text alignment for
individual table cells in manual text tables

Allows users to set the text horizontal and vertical alignments
on a cell by cell/column/row basis

Sponsored by City of Canning
2020-07-13 06:00:05 +10:00
Nyall Dawson
b584f93afb Expose text format override options to table editor widget 2020-07-13 06:00:05 +10:00
Matthias Kuhn
15182ae418 Cache snapping results in feature dialog for subsequent recalculation of
References #37359
2020-07-11 22:59:13 +02:00
Nyall Dawson
1219f55378 [processing] Fix and improve how in place algorithm parameter widget
handles the input layer by creating a new QgsProcessingHiddenWidgetWrapper
wrapper subclass

Fixes #37424
2020-07-10 04:44:30 +10:00
jakimowb
fd6dcf3bf6
[Feature] Add contextMenuAboutToShow to QgsMapCanvas
Adds a contextMenuAboutToShow( QMenu *menu, QgsMapMouseEvent *event ) signal to QgsMapCanvas to allow plugins
a chance to add entries to the canvas context menu

Fixes #37559
2020-07-08 13:01:33 +10:00
Denis Rouzaud
960e533113
re-allow circular dependencies (#37539)
see #30947
2020-07-07 09:48:20 +02:00
signedav
9b8e983d3c ITEM_NAME_ROLE in QgsExpressionItem to store the field name to use it on getting the example values in the expression builder
and still be able to store generic labels on the item (like the field name and the field alias)
This fixes that there has been no example values in the expression builder on the fields when an alias has been used
2020-06-28 15:55:44 +10:00
Germán Carrillo
4af5597e76 Clear ongoing drawing on map canvas when closing layer's edit session (fix #36292) 2020-06-20 04:32:52 +10:00
Germán Carrillo
f3d473cb27 Getter/setter for linking a map canvas with its QgsProject; link app canvases to QgsProject::instance(); rationale: using the QgsProject singleton is discouraged 2020-06-20 04:32:52 +10:00
Harrissou Sant-anna
f2f7236fc8
Layout new name dialog
Make the new layout dialog use the qgsnewnamedialog class
Add/enable help button to open user manual chapters
2020-06-20 04:28:18 +10:00
Denis Rouzaud
0cb8408425
more flags warnings fixes for Qt 5.15 (#37309)
* more flags warnings fixes for Qt 5.15

* fix sip compilation
2020-06-19 12:02:00 +02:00