2631 Commits

Author SHA1 Message Date
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
Denis Rouzaud
044a05d828 run sipify 2020-06-19 08:47:23 +10:00
Ivan Ivanov
c0f8dea17a Sipify 2020-06-18 05:53:23 +10:00
Nyall Dawson
75c86786c1 Add QgsCodeEditorJavascript subclass of QgsCodeEditor
Allows plugins to create a nice editor for JSON content -- not easy
to do if we don't expose this through the QGIS api!
2020-06-16 17:13:59 +10:00
Nyall Dawson
8d4f00b0af Remove TODO comments included in public API documentation
This is just "airing our dirty laundry". We don't want/need end users
to see this.
2020-06-15 13:43:58 +10:00
Nyall Dawson
e22ce34f60 Fix more doxygen warnings 2020-06-15 13:43:58 +10:00
Nyall Dawson
74400c7ff8 Some fixes to numbered list handling in dox/PyQGIS API 2020-06-15 13:43:58 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
speillet
893bfffc45 new validator to handle permissive double writing in form; fix raster properties form
QgsDoubleValidator modification after review

update doc
2020-06-14 18:19:11 +02:00
Nyall Dawson
cedd73ee4d More list formatting fixes 2020-06-13 16:49:14 +10:00
Nyall Dawson
ae42850d08 Sipify 2020-06-11 13:29:59 +10:00
Nyall Dawson
c795ddb1e9 Updates 2020-06-11 13:29:59 +10:00
Nyall Dawson
ce9f519468 Place 3d tab in vector properties at the correct position
Fixes #35010
2020-06-10 04:04:40 +10:00
Nyall Dawson
3c0ecbfd79 Fix 3d tab is not activated when reopening vector layer properties
Fixes #35011
2020-06-10 04:04:40 +10:00