* 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.
and add handleMimeDataV2 method which returns a bool
This allows custom drop handlers to indicate that they've fully
handled dropped mime data, and that no further processing should
be done on the mime data
Otherwise, when cross-compiling, the prefix of the cross environment (i.e. /usr/x86_64-w64-mingw32/) is prepended to the path, leading to the files not being found