gws.plugin.qfieldcloud.core¶
QField project configuration and object.
Source code: gws.plugin.qfieldcloud.core
Module Contents¶
- class gws.plugin.qfieldcloud.core.ProjectConfig(*args, **kwargs)¶
Bases:
gws.ConfigWithAccessProject offered to QField, packaged from a QGIS project.
- mapCacheLifeTime: gws.Duration = '0'¶
How long rendered offline base maps are reused.
- models: list[gws.ext.config.model] | None¶
Data models for editable layers, matched by table name.
- provider: gws.plugin.qgis.provider.Config¶
QGIS project the QField package is built from.
- thumbnail: gws.FilePath | None¶
Thumbnail image shown in the project details. (added in 8.5)
- class gws.plugin.qfieldcloud.core.QfcProject¶
Bases:
gws.NodeProject offered to QField.
Holds the QGIS provider of the source project, the models for editable layers and the base map settings used when the project is packaged.
- models: list[gws.DatabaseModel]¶
Configured models for editable layers.
- qgisProvider: gws.plugin.qgis.provider.Object¶
QGIS provider for the source project.
- configure()¶
Configuration hook.
Called when the node is initialized. Raising an exception here aborts the creation of the node.