16#ifndef QGSLAYOUTVIEWTOOLADDITEM_H 
   17#define QGSLAYOUTVIEWTOOLADDITEM_H 
   43    int itemMetadataId() 
const;
 
   53    void setItemMetadataId( 
int metadataId );
 
   67    QVariantMap customProperties() 
const;
 
   78    void setCustomProperties( 
const QVariantMap &properties );
 
   89    bool mDrawing = 
false;
 
   91    int mItemMetadataId = -1;
 
   94    std::unique_ptr< QgsLayoutViewRubberBand > mRubberBand;
 
   97    QPoint mMousePressStartPos;
 
  100    QPointF mMousePressStartLayoutPos;
 
  103    QPointF mRubberBandStartPos;
 
  105    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.