1 #ifndef QGSCOMPOSERRULER_H
2 #define QGSCOMPOSERRULER_H
7 class QGraphicsLineItem;
22 QSize minimumSizeHint()
const;
24 void setSceneTransform(
const QTransform& transform );
25 void updateMarker(
const QPointF& pos ) { mMarkerPos = pos; repaint(); }
31 void paintEvent( QPaintEvent* event );
32 void mouseMoveEvent( QMouseEvent* event );
33 void mouseReleaseEvent( QMouseEvent* event );
34 void mousePressEvent( QMouseEvent* event );
43 QList< QPair< QgsComposerItem*, QgsComposerItem::ItemPositionMode > >
mSnappedItems;
45 void setSnapLinePosition(
const QPointF& pos );
48 #endif // QGSCOMPOSERRULER_H