17#ifndef QGSLAYOUTNORTHARROWHANDLER_H
18#define QGSLAYOUTNORTHARROWHANDLER_H
81 void setNorthMode( NorthMode mode );
95 void setNorthOffset(
double offset );
103 double mArrowRotation = 0;
105 QString mRotationMapUuid;
107 QPointer< QgsLayoutItemMap > mRotationMap;
112 double mNorthOffset = 0.0;
118 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.