QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSLAYOUTVIEWTOOLADDITEM_H
17 #define QGSLAYOUTVIEWTOOLADDITEM_H
44 int itemMetadataId()
const;
54 void setItemMetadataId(
int metadataId );
70 bool mDrawing =
false;
72 int mItemMetadataId = -1;
75 std::unique_ptr< QgsLayoutViewRubberBand > mRubberBand;
78 QPoint mMousePressStartPos;
81 QPointF mMousePressStartLayoutPos;
84 QPointF mRubberBandStartPos;
88 #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.