16#ifndef QGSLAYOUTVIEWTOOLADDITEM_H
17#define QGSLAYOUTVIEWTOOLADDITEM_H
41 int itemMetadataId()
const;
51 void setItemMetadataId(
int metadataId );
65 QVariantMap customProperties()
const;
76 void setCustomProperties(
const QVariantMap &properties );
86 bool mDrawing =
false;
88 int mItemMetadataId = -1;
91 std::unique_ptr<QgsLayoutViewRubberBand> mRubberBand;
94 QPoint mMousePressStartPos;
97 QPointF mMousePressStartLayoutPos;
100 QPointF mRubberBandStartPos;
102 QVariantMap mCustomProperties;
A QgsLayoutViewMouseEvent is the result of a user interaction with the mouse on a QgsLayoutView.
A graphical widget to display and interact with QgsLayouts.