17#ifndef QGSLAYOUTNORTHARROWHANDLER_H
18#define QGSLAYOUTNORTHARROWHANDLER_H
82 void setNorthMode( NorthMode mode );
96 void setNorthOffset(
double offset );
105 double mArrowRotation = 0;
107 QString mRotationMapUuid;
109 QPointer< QgsLayoutItemMap > mRotationMap;
114 double mNorthOffset = 0.0;
120 void updateMapRotation();
Layout graphical items for displaying a map.
An object which handles north-arrow type behavior for layout items.
NorthMode northMode() const
Returns the mode used to calculate the arrow rotation.
double arrowRotation() const
Returns the rotation to be used for the arrow, in degrees clockwise.
void arrowRotationChanged(double newRotation)
Emitted on arrow rotation change.
NorthMode
Method for syncing rotation to a map's North direction.
@ GridNorth
Align to grid north.
@ TrueNorth
Align to true north.
QgsLayoutNorthArrowHandler(QObject *parent)
Constructor for QgsLayoutNorthArrowHandler, with the specified parent object.
double northOffset() const
Returns the offset added to the arrows's rotation from a map's North.