#include <qgsofflineediting.h>
Definition at line 32 of file qgsofflineediting.h.
| Enumerator |
|---|
| CopyFeatures |
|
| ProcessFeatures |
|
| AddFields |
|
| AddFeatures |
|
| RemoveFeatures |
|
| UpdateFeatures |
|
| UpdateGeometries |
|
Definition at line 37 of file qgsofflineediting.h.
| QgsOfflineEditing::QgsOfflineEditing |
( |
| ) |
|
| QgsOfflineEditing::~QgsOfflineEditing |
( |
| ) |
|
| bool QgsOfflineEditing::convertToOfflineProject |
( |
const QString & |
offlineDataPath, |
|
|
const QString & |
offlineDbFile, |
|
|
const QStringList & |
layerIds |
|
) |
| |
convert current project for offline editing
convert current project to offline project returns offline project file path
- Parameters
-
| offlineDataPath | path to offline db file |
| offlineDbFile | offline db file name |
| layerIds | list of layer names to convert |
Definition at line 69 of file qgsofflineediting.cpp.
| bool QgsOfflineEditing::isOfflineProject |
( |
| ) |
|
| void QgsOfflineEditing::layerProgressUpdated |
( |
int |
layer, |
|
|
int |
numLayers |
|
) |
| |
|
signal |
emit a signal that the next layer of numLayers has started processing
- Parameters
-
| layer | current layer index |
| numLayers | total number of layers |
emit a signal that sets the mode for the progress of the current operation
- Parameters
-
| mode | progress mode |
| maximum | total number of entities to process in the current operation |
| void QgsOfflineEditing::progressStarted |
( |
| ) |
|
|
signal |
emit a signal that processing has started
| void QgsOfflineEditing::progressStopped |
( |
| ) |
|
|
signal |
emit a signal that processing of all layers has finished
| void QgsOfflineEditing::progressUpdated |
( |
int |
progress | ) |
|
|
signal |
emit a signal with the progress of the current mode
- Parameters
-
| progress | current index of processed entities |
| void QgsOfflineEditing::synchronize |
( |
| ) |
|
| void QgsOfflineEditing::warning |
( |
const QString & |
title, |
|
|
const QString & |
message |
|
) |
| |
|
signal |
Emitted when a warning needs to be displayed.
- Parameters
-
| title | title string for message |
| message | A descriptive message for the warning |
The documentation for this class was generated from the following files: