Fixes edits to a joined field value aren't immediately shown in attribute tables,
and instead appear as though they were discarded (until the attribute table is
reloaded)
BUT only if they have a non-hidden editor widget.
Rationale: it's very handy to be able to bulk-update these in certain
circumstances (e.g. select a bunch of features, set their label alignment
to "right"). But on the other hand, using the label tools creates a LOT
of auxiliary fields which clutter this dialog (which is why they were
hidden in the first place).
SO instead, default to hiding them all, but if a user HAS specifically
changed the field to show it, then allow them to edit it through
field calculator....
* Enabled using default path for external resources.
Value (filepath) can be relative to either project path or default root according field setup/config
* [QgsQuick] Added signal of event when a captured photo is confirmed. That enables custom handling of the action by externalResourceHandler.
Renamed Ok Button of PhotoPanel.
* [QgsQuick] Cleaning source of preview image after closing it
It was causing unpleasant effect when last taken photo has been shown for a short while before previewing another.
* [QgsQuick]
Evaluate and use defaultRootPath in a config of the external resource widget.
Added a function to evaluate expressions for QgsQuick
* [QgsQuick] Use Loader to load photo panel only when its going to be used.
Also prevents for asking camera permissions on form open, when photo panel was initialized as well.
* [QgsQuick] Better wrapping of a long filenames text in the external source widget if an image is not available.
* [QgsQuick] Use canonical path in function
Symlinks are used a lot on Android, therefore its better to use canonical paths.
* [QgsQuick] formatted code.
* [QgsQuick] External source widget - changes requested in review
Fixed test and added one test case for getting relative path.
* [QgsQuick] External widget update
Added function that returns absolute path of image according widget's config - takes into account relative/absolute setting for value and default path.
Added docs about how a path can be configured and used.
* [QgsQuick] External widget update
* removed lefover property
* corrected getAbsolutePath function
* [QgsQuick] Corrected function and fixed test
Do not use canonical path for non-existing file while getting relative path.
* Fix WMS GetMap 8bit mode with transparency
* Correct indentation
* Remove french text in qgs test project
* Correct render checker for 8bit image
* Remove empty line
(the expression context scope wasn't being deleted in all return
paths, resulting in crashes when rendering was complete and
everything was being cleaned up)
And some other code safer against this same risk
instead of fake ones
Gives these buttons the full power of the usual QgsSymbolButton,
including copy/paste symbols, color/opacity changes, etc. Plus,
some nice additional interface consistency!
PostgreSQL foreign tables are not explicitely supported by the PosgreSQL provider.
This commit removes the error message, and handle foreign tables like views.
A foreign table cannot (in PostgreSQL <10) state what column
is the primary key, so we let the user tell QGIS.