2663 Commits

Author SHA1 Message Date
Denis Rouzaud
002a7033f0 [FEATURE] enable auto completion in locator
a locator filter can now return a completion list while preparing the search
the line edit will use the first matching completion and display it as light grey text
the completion can be triggered by pressing Tab key
2020-09-08 14:53:50 +02:00
Matthias Kuhn
d998bb3d17
Merge pull request #38318 from signedav/attachement-expression
Update documuent viewer in the attachment widget on attribute change
2020-09-04 21:13:07 +02:00
signedav
4b8797dacb
Merge pull request #38331 from signedav/relation-config
Multiple widgets of same relation
2020-09-03 08:27:53 +02:00
Nyall Dawson
d1bc82ca7b Misc typo fixes 2020-08-31 11:38:02 +10:00
Nyall Dawson
2135d03c9b Fix 'allow to' typos 2020-08-31 11:38:02 +10:00
signedav
c3cb69b167 call loadDocument in setDocumentViewerContent instead over a seperate method
updateDocumentViewer needs not to be called on Image before the laod of the document (because it's called after the document load (or unload))
2020-08-24 09:40:25 +02:00
Nyall Dawson
f496173bd7 Fix messy doxygen blocks which mess with sipify script
Fixes #38291
2020-08-20 17:01:35 +10:00
Mathieu Pellerin
1386474e3c
[ui] Fix SVG marker widget not properly restoring colors 2020-08-20 10:08:20 +07:00
Nyall Dawson
d4ca4a1405 [labeling][ui] Change placement mode selection widget from radio
buttons to combo box

The radio buttons don't work well here -- they cause a massive
gap in the placement UI layout for anything but polygon
layers. Using a combobox is also much more compact, giving us
some extra space to use for more helpful explanatory text
2020-08-19 06:34:19 +10:00
signedav
b5af453b8e improved texts for warning message and docs 2020-08-18 16:45:06 +02:00
Nyall Dawson
748d76aeed [feature][labeling] Add option to allow users to control the placement
of labels along line features

The new "Label Anchoring" section in the line placement settings for
labels allows users to specify whether labels should be placed
at the center, start or end of lines (or a custom percent from the
start of the line). Also allows data-defined percent along line
control!
2020-08-18 11:09:18 +10:00
signedav
6fbeb47a64 updateProperties function private and no reference for currentFormFeature 2020-08-17 17:39:08 +02:00
signedav
6be231bd35 On change of an attribute the documentViewer expression of the externalRessourceWidget depends on, the documentViewer should be updated.
To not be needed to check for all the widget values in the form, the mCurrentFormFeature is introduced that contains all the values that are received on change of the widget values.

Resolves #37678
2020-08-17 07:43:11 +02:00
signedav
458d39c7e5 setting forceSuppressFormPopup only when true in the widget (not unset it when false) and use more specific function descriptions 2020-08-14 07:08:49 +02:00
signedav
f0a390de39 correct set of forceSuppressPopup state
renamed cardinality to nmRelationId since it's not a cardinality - it's the id of the relation connected through the many-to-many cardinality in this relation editor widget
2020-08-13 11:48:23 +02:00
Alexander Bruy
2b241f42cd deprecate unused QgsSearchQueryBuilder class 2020-08-10 16:11:04 +03:00
Alexander Bruy
dad79f857a restore missed "Save query" functionality in the Query Builder (fix #18550, #12827) 2020-08-10 12:28:39 +03:00
signedav
1fadb92939 move the cardinality and the forceSuppressFormPopup to the widget configuration - stored in a QgsAttributeEditorElement 2020-08-10 07:25:00 +02:00
Nyall Dawson
97915e3203 Add a iface method to directly set a specific GPS connection to connect
to in the GPS Information panel

Allows for plugins to create subclasses of QgsGpsConnection and then
hook these into the existing GPS panel widget
2020-08-05 18:52:29 +10:00
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