Class DigitizingLogger
Inherits the following classes: QObject
Public Properties
| Type | Name |
|---|---|
| property CloudUserInformation | cloudUserInformation |
| property QgsVectorLayer * | digitizingLayer |
| property QgsQuickMapSettings * | mapSettings |
| property GnssPositionInformation | positionInformation |
| property bool | positionLocked |
| property QgsProject * | project |
| property SnappingResult | topSnappingResult |
| property QString | type |
Public Signals
| Type | Name |
|---|---|
| signal void | cloudUserInformationChanged |
| signal void | currentCoordinateChanged |
| signal void | digitizingLayerChanged |
| signal void | mapSettingsChanged |
| signal void | positionInformationChanged |
| signal void | positionLockedChanged |
| signal void | projectChanged |
| signal void | topSnappingResultChanged |
| signal void | typeChanged |
Public Functions
| Type | Name |
|---|---|
| DigitizingLogger () |
|
| Q_INVOKABLE void | addCoordinate (const QgsPoint & point) |
| Q_INVOKABLE void | clearCoordinates () |
| CloudUserInformation | cloudUserInformation () const |
| QgsVectorLayer * | digitizingLayer () const Returns the current vector layer used to digitize features. |
| QgsQuickMapSettings * | mapSettings () const Returns map settings. |
| GnssPositionInformation | positionInformation () const |
| bool | positionLocked () const |
| QgsProject * | project () const Returns the current project from which the digitizing logs will be sought. |
| Q_INVOKABLE void | removeLastCoordinate () |
| void | setCloudUserInformation (const CloudUserInformation & cloudUserInformation) |
| void | setDigitizingLayer (QgsVectorLayer * layer) Sets the current vector layer used to digitze features. |
| void | setMapSettings (QgsQuickMapSettings * mapSettings) |
| void | setPositionInformation (const GnssPositionInformation & positionInformation) |
| void | setPositionLocked (bool positionLocked) |
| void | setProject (QgsProject * project) Sets the project used to find the digitizing logs layer. |
| void | setTopSnappingResult (const SnappingResult & topSnappingResult) |
| void | setType (const QString & type) |
| SnappingResult | topSnappingResult () const |
| QString | type () const Returns the digitizing logs type. |
| Q_INVOKABLE void | writeCoordinates () |
Public Properties Documentation
property cloudUserInformation [1/2]
CloudUserInformation DigitizingLogger::cloudUserInformation;
property digitizingLayer [1/2]
QgsVectorLayer * DigitizingLogger::digitizingLayer;
property mapSettings [1/2]
QgsQuickMapSettings * DigitizingLogger::mapSettings;
property positionInformation [1/2]
GnssPositionInformation DigitizingLogger::positionInformation;
property positionLocked [1/2]
bool DigitizingLogger::positionLocked;
property project [1/2]
QgsProject * DigitizingLogger::project;
property topSnappingResult [1/2]
SnappingResult DigitizingLogger::topSnappingResult;
property type [1/2]
QString DigitizingLogger::type;
Public Signals Documentation
signal cloudUserInformationChanged
void DigitizingLogger::cloudUserInformationChanged;
signal currentCoordinateChanged
void DigitizingLogger::currentCoordinateChanged;
signal digitizingLayerChanged
void DigitizingLogger::digitizingLayerChanged;
signal mapSettingsChanged
void DigitizingLogger::mapSettingsChanged;
signal positionInformationChanged
void DigitizingLogger::positionInformationChanged;
signal positionLockedChanged
void DigitizingLogger::positionLockedChanged;
signal projectChanged
void DigitizingLogger::projectChanged;
signal topSnappingResultChanged
void DigitizingLogger::topSnappingResultChanged;
signal typeChanged
void DigitizingLogger::typeChanged;
Public Functions Documentation
function DigitizingLogger
explicit DigitizingLogger::DigitizingLogger ()
function addCoordinate
Q_INVOKABLE void DigitizingLogger::addCoordinate (
const QgsPoint & point
)
Adds a point into the digitizing logs' buffer.
function clearCoordinates
Q_INVOKABLE void DigitizingLogger::clearCoordinates ()
Clear the points buffer from the digitizing logs.
function cloudUserInformation [2/2]
inline CloudUserInformation DigitizingLogger::cloudUserInformation () const
Returns the current cloud user information
function digitizingLayer [2/2]
Returns the current vector layer used to digitize features.
inline QgsVectorLayer * DigitizingLogger::digitizingLayer () const
function mapSettings [2/2]
Returns map settings.
inline QgsQuickMapSettings * DigitizingLogger::mapSettings () const
function positionInformation [2/2]
inline GnssPositionInformation DigitizingLogger::positionInformation () const
Returns position information generated by the TransformedPositionSource according to its provider
function positionLocked [2/2]
inline bool DigitizingLogger::positionLocked () const
Returns whether the position is locked to the GNSS
function project [2/2]
Returns the current project from which the digitizing logs will be sought.
inline QgsProject * DigitizingLogger::project () const
function removeLastCoordinate
Q_INVOKABLE void DigitizingLogger::removeLastCoordinate ()
Removes the last point entered into the digitizing logs' buffer.
function setCloudUserInformation
void DigitizingLogger::setCloudUserInformation (
const CloudUserInformation & cloudUserInformation
)
Sets the current cloud user information
Parameters:
cloudUserInformationthe cloud user information
function setDigitizingLayer
Sets the current vector layer used to digitze features.
void DigitizingLogger::setDigitizingLayer (
QgsVectorLayer * layer
)
function setMapSettings
void DigitizingLogger::setMapSettings (
QgsQuickMapSettings * mapSettings
)
Sets map settings
Parameters:
mapSettingsthe QgsQuickMapSettings object
function setPositionInformation
void DigitizingLogger::setPositionInformation (
const GnssPositionInformation & positionInformation
)
Sets position information generated by the TransformedPositionSource according to its provider
Parameters:
positionInformationthe position information
function setPositionLocked
void DigitizingLogger::setPositionLocked (
bool positionLocked
)
Sets whether the position is locked to the GNSS
Parameters:
positionLockedset to TRUE if the position is locked
function setProject
Sets the project used to find the digitizing logs layer.
void DigitizingLogger::setProject (
QgsProject * project
)
function setTopSnappingResult
void DigitizingLogger::setTopSnappingResult (
const SnappingResult & topSnappingResult
)
Sets the top snapping result of the coordinate locator
Parameters:
topSnappingResultthe top snapping result object
function setType
void DigitizingLogger::setType (
const QString & type
)
function topSnappingResult [2/2]
inline SnappingResult DigitizingLogger::topSnappingResult () const
Returns the top snapping result of the coordinate locator
function type [2/2]
Returns the digitizing logs type.
inline QString DigitizingLogger::type () const
function writeCoordinates
Q_INVOKABLE void DigitizingLogger::writeCoordinates ()
Writes the points buffer to the digitizing logs layer.
The documentation for this class was generated from the following file src/core/digitizinglogger.h