OK :)
I assumed that would be more detailed than the Pyqgis developers' cookbook.
On 2/02/22 19:53, matteo wrote:
Hi Patrick,
mmm where?
https://qgis.org/pyqgis/master/search.html?q=isOfflineEditable_keywords=yes=default
I was wondering if there is a list of all the custom properties
Hi Harrissou,
that's a good question. From what I understood the icon/flag is added
"manually" when needed (by QFieldSync, Offline editing plugin, etc).
Not sure how/when it should removed: maybe changing the data source is
still pointing to an offline layer.
At the beginning I was
Hi Patrick,
mmm where?
https://qgis.org/pyqgis/master/search.html?q=isOfflineEditable_keywords=yes=default
I was wondering if there is a list of all the custom properties
available for the layer, but I cannot find it. Also the
QgsMapLayer.setCustomProperty does not explicitly list the keys
In theory, it should be in the pyqgis api documentation
https://qgis.org/pyqgis/master/
On 2/02/22 01:53, matteo wrote:
Hi David,
got it, and issue solved thanks!
I cannot find a list of all custom property keys in the documentation,
is there any available?
Cheers
Matteo
Hi,
And question: should the offline icon be removed after the data sources have
been updated?
Regards,
Harrissou
Le 1 février 2022 13:53:15 GMT+01:00, matteo a écrit :
>Hi David,
>
>got it, and issue solved thanks!
>
>I cannot find a list of all custom property keys in the documentation,
Hi David,
got it, and issue solved thanks!
I cannot find a list of all custom property keys in the documentation,
is there any available?
Cheers
Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info:
Hi Matteo
It's considering the custom property "isOfflineEditable".
You should be able to set/unset it with pyqgis.
Cheers
Dave
On Tue, Feb 1, 2022, 11:49 matteo wrote:
> Hi all,
>
> loading a project with many offline layers next to each layer an offline
> icon appears 8and that's correct
Hi all,
loading a project with many offline layers next to each layer an offline
icon appears 8and that's correct :) ).
I've changed the data source of all the layers but the offline icon is
still there. I'm struggling to understand where can I turn it off but I
cannot find it in the layer