QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
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;
110 #endif // QGSLAYOUTVIEWTOOLADDITEM_H
A graphical widget to display and interact with QgsLayouts.
A QgsLayoutViewMouseEvent is the result of a user interaction with the mouse on a QgsLayoutView.