Skip to content

Class ScaleBarMeasurement

ClassList > ScaleBarMeasurement

Inherits the following classes: QObject

Public Properties

Type Name
property QString label
property QgsQuickMapSettings * mapSettings
property QgsProject * project
property double referenceScreenLength
property double screenLength

Public Signals

Type Name
signal void labelChanged
signal void mapSettingsChanged
signal void projectChanged
signal void referenceScreenLengthChanged
signal void screenLengthChanged

Public Functions

Type Name
ScaleBarMeasurement (QObject * parent=nullptr)
QString label () const
QgsQuickMapSettings * mapSettings () const
QgsProject * project () const
double referenceScreenLength () const
double screenLength () const
void setMapSettings (QgsQuickMapSettings * mapSettings)
void setProject (QgsProject * project)
void setReferenceScreenLength (double referenceScreenLength)

Public Properties Documentation

property label [1/2]

QString ScaleBarMeasurement::label;

property mapSettings [1/2]

QgsQuickMapSettings * ScaleBarMeasurement::mapSettings;

property project [1/2]

QgsProject * ScaleBarMeasurement::project;

property referenceScreenLength [1/2]

double ScaleBarMeasurement::referenceScreenLength;

property screenLength [1/2]

double ScaleBarMeasurement::screenLength;

Public Signals Documentation

signal labelChanged

void ScaleBarMeasurement::labelChanged;

signal mapSettingsChanged

void ScaleBarMeasurement::mapSettingsChanged;

signal projectChanged

void ScaleBarMeasurement::projectChanged;

signal referenceScreenLengthChanged

void ScaleBarMeasurement::referenceScreenLengthChanged;

signal screenLengthChanged

void ScaleBarMeasurement::screenLengthChanged;

Public Functions Documentation

function ScaleBarMeasurement

explicit ScaleBarMeasurement::ScaleBarMeasurement (
    QObject * parent=nullptr
) 

function label [2/2]

QString ScaleBarMeasurement::label () const

function mapSettings [2/2]

QgsQuickMapSettings * ScaleBarMeasurement::mapSettings () const

function project [2/2]

QgsProject * ScaleBarMeasurement::project () const

function referenceScreenLength [2/2]

double ScaleBarMeasurement::referenceScreenLength () const

function screenLength [2/2]

double ScaleBarMeasurement::screenLength () const

function setMapSettings

void ScaleBarMeasurement::setMapSettings (
    QgsQuickMapSettings * mapSettings
) 

function setProject

void ScaleBarMeasurement::setProject (
    QgsProject * project
) 

function setReferenceScreenLength

void ScaleBarMeasurement::setReferenceScreenLength (
    double referenceScreenLength
) 


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