Skip to content

Class QfDigitizingLogger

ClassList > QfDigitizingLogger

Inherits the following classes: QObject

Public Properties

Type Name
property QfCloudUserInformation cloudUserInformation
property QgsVectorLayer * digitizingLayer
property QgsQuickMapSettings * mapSettings
property QfGnssPositionInformation positionInformation
property bool positionLocked
property QgsProject * project
property QfSnappingResult 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
QfDigitizingLogger ()
Q_INVOKABLE void addCoordinate (const QgsPoint & point)
Q_INVOKABLE void clearCoordinates ()
QfCloudUserInformation cloudUserInformation () const
QgsVectorLayer * digitizingLayer () const
Returns the current vector layer used to digitize features.
QgsQuickMapSettings * mapSettings () const
Returns map settings.
QfGnssPositionInformation 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 QfCloudUserInformation & cloudUserInformation)
void setDigitizingLayer (QgsVectorLayer * layer)
Sets the current vector layer used to digitze features.
void setMapSettings (QgsQuickMapSettings * mapSettings)
void setPositionInformation (const QfGnssPositionInformation & positionInformation)
void setPositionLocked (bool positionLocked)
void setProject (QgsProject * project)
Sets the project used to find the digitizing logs layer.
void setTopSnappingResult (const QfSnappingResult & topSnappingResult)
void setType (const QString & type)
QfSnappingResult topSnappingResult () const
QString type () const
Returns the digitizing logs type.
Q_INVOKABLE void writeCoordinates ()

Public Properties Documentation

property cloudUserInformation [1/2]

QfCloudUserInformation QfDigitizingLogger::cloudUserInformation;

property digitizingLayer [1/2]

QgsVectorLayer * QfDigitizingLogger::digitizingLayer;

property mapSettings [1/2]

QgsQuickMapSettings * QfDigitizingLogger::mapSettings;

property positionInformation [1/2]

QfGnssPositionInformation QfDigitizingLogger::positionInformation;

property positionLocked [1/2]

bool QfDigitizingLogger::positionLocked;

property project [1/2]

QgsProject * QfDigitizingLogger::project;

property topSnappingResult [1/2]

QfSnappingResult QfDigitizingLogger::topSnappingResult;

property type [1/2]

QString QfDigitizingLogger::type;

Public Signals Documentation

signal cloudUserInformationChanged

void QfDigitizingLogger::cloudUserInformationChanged;

signal currentCoordinateChanged

void QfDigitizingLogger::currentCoordinateChanged;

signal digitizingLayerChanged

void QfDigitizingLogger::digitizingLayerChanged;

signal mapSettingsChanged

void QfDigitizingLogger::mapSettingsChanged;

signal positionInformationChanged

void QfDigitizingLogger::positionInformationChanged;

signal positionLockedChanged

void QfDigitizingLogger::positionLockedChanged;

signal projectChanged

void QfDigitizingLogger::projectChanged;

signal topSnappingResultChanged

void QfDigitizingLogger::topSnappingResultChanged;

signal typeChanged

void QfDigitizingLogger::typeChanged;

Public Functions Documentation

function QfDigitizingLogger

explicit QfDigitizingLogger::QfDigitizingLogger () 

function addCoordinate

Q_INVOKABLE void QfDigitizingLogger::addCoordinate (
    const QgsPoint & point
) 

Adds a point into the digitizing logs' buffer.


function clearCoordinates

Q_INVOKABLE void QfDigitizingLogger::clearCoordinates () 

Clear the points buffer from the digitizing logs.


function cloudUserInformation [2/2]

inline QfCloudUserInformation QfDigitizingLogger::cloudUserInformation () const

Returns the current cloud user information


function digitizingLayer [2/2]

Returns the current vector layer used to digitize features.

inline QgsVectorLayer * QfDigitizingLogger::digitizingLayer () const


function mapSettings [2/2]

Returns map settings.

inline QgsQuickMapSettings * QfDigitizingLogger::mapSettings () const


function positionInformation [2/2]

inline QfGnssPositionInformation QfDigitizingLogger::positionInformation () const

Returns position information generated by the TransformedPositionSource according to its provider


function positionLocked [2/2]

inline bool QfDigitizingLogger::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 * QfDigitizingLogger::project () const


function removeLastCoordinate

Q_INVOKABLE void QfDigitizingLogger::removeLastCoordinate () 

Removes the last point entered into the digitizing logs' buffer.


function setCloudUserInformation

void QfDigitizingLogger::setCloudUserInformation (
    const QfCloudUserInformation & cloudUserInformation
) 

Sets the current cloud user information

Parameters:

  • cloudUserInformation the cloud user information

function setDigitizingLayer

Sets the current vector layer used to digitze features.

void QfDigitizingLogger::setDigitizingLayer (
    QgsVectorLayer * layer
) 


function setMapSettings

void QfDigitizingLogger::setMapSettings (
    QgsQuickMapSettings * mapSettings
) 

Sets map settings

Parameters:


function setPositionInformation

void QfDigitizingLogger::setPositionInformation (
    const QfGnssPositionInformation & positionInformation
) 

Sets position information generated by the TransformedPositionSource according to its provider

Parameters:

  • positionInformation the position information

function setPositionLocked

void QfDigitizingLogger::setPositionLocked (
    bool positionLocked
) 

Sets whether the position is locked to the GNSS

Parameters:

  • positionLocked set to TRUE if the position is locked

function setProject

Sets the project used to find the digitizing logs layer.

void QfDigitizingLogger::setProject (
    QgsProject * project
) 


function setTopSnappingResult

void QfDigitizingLogger::setTopSnappingResult (
    const QfSnappingResult & topSnappingResult
) 

Sets the top snapping result of the coordinate locator

Parameters:

  • topSnappingResult the top snapping result object

function setType

void QfDigitizingLogger::setType (
    const QString & type
) 

function topSnappingResult [2/2]

inline QfSnappingResult QfDigitizingLogger::topSnappingResult () const

Returns the top snapping result of the coordinate locator


function type [2/2]

Returns the digitizing logs type.

inline QString QfDigitizingLogger::type () const


function writeCoordinates

Q_INVOKABLE void QfDigitizingLogger::writeCoordinates () 

Writes the points buffer to the digitizing logs layer.



The documentation for this class was generated from the following file src/core/qfdigitizinglogger.h