16 #ifndef QGSLAYOUTVIEWTOOLADDITEM_H
17 #define QGSLAYOUTVIEWTOOLADDITEM_H
44 int itemMetadataId()
const;
54 void setItemMetadataId(
int metadataId );
68 QVariantMap customProperties()
const;
79 void setCustomProperties(
const QVariantMap &properties );
90 bool mDrawing =
false;
92 int mItemMetadataId = -1;
95 std::unique_ptr< QgsLayoutViewRubberBand > mRubberBand;
98 QPoint mMousePressStartPos;
101 QPointF mMousePressStartLayoutPos;
104 QPointF mRubberBandStartPos;
106 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.