QGIS API Documentation 3.43.0-Master (52e71951ee5)
|
Abstract interface class for the QGIS GPS tools. More...
#include <qgsgpstoolsinterface.h>
Public Member Functions | |
virtual | ~QgsGpsToolsInterface ()=default |
virtual void | createFeatureFromGpsTrack ()=0 |
Creates a feature from the current GPS track. | |
virtual void | setGpsPanelConnection (QgsGpsConnection *connection)=0 |
Sets a GPS connection to use within the GPS Panel widget. | |
virtual void | setGpsTrackLineSymbol (QgsLineSymbol *symbol)=0 |
Sets the line symbol of the GPS track and changes the QgsAppGpsDigitizing::settingTrackLineSymbol setting. | |
Abstract interface class for the QGIS GPS tools.
Definition at line 30 of file qgsgpstoolsinterface.h.
|
virtualdefault |
|
pure virtual |
Creates a feature from the current GPS track.
The geometry type of the feature is determined by the layer set via QgsProjectGpsSettings::destinationLayer().
The created geometry will be automatically commited depending on the status of QgsProjectGpsSettings::automaticallyCommitFeatures().
|
pure virtual |
Sets a GPS connection to use within the GPS Panel widget.
Any existing GPS connection used by the widget will be disconnected and replaced with this connection. The connection is automatically registered within the QgsApplication::gpsConnectionRegistry().
|
pure virtual |
Sets the line symbol of the GPS track and changes the QgsAppGpsDigitizing::settingTrackLineSymbol setting.
If there is a current GPS track, its appearance is updated according to the symbol.