17 #ifndef QGSCOMPOSERVIEW_H 18 #define QGSCOMPOSERVIEW_H 20 #include <QGraphicsView> 91 ActiveUntilMouseRelease
109 void deleteSelectedItems();
144 void setZoomLevel(
double zoomLevel );
151 void scaleSafe(
double scale );
158 void setPreviewModeEnabled(
bool enabled );
210 bool mPaintingEnabled;
216 void addShape(
Tool currentTool );
226 bool mMovingItemContent;
230 QPoint mMousePressStartPos;
240 void updateRubberBandRect(
QPointF & pos,
const bool constrainSquare =
false,
const bool fromCenter =
false );
242 void updateRubberBandLine(
QPointF pos,
const bool constrainAngles =
false );
244 void removeRubberBand();
247 void startMarqueeSelect(
QPointF & scenePoint );
251 void startMarqueeZoom(
QPointF & scenePoint );
264 void actionFinished();
266 void cursorPosChanged(
QPointF );
268 void zoomLevelChanged();
virtual void mouseMoveEvent(QMouseEvent *event)
A scale bar item that can be added to a map composition.
bool paintingEnabled() const
virtual void keyReleaseEvent(QKeyEvent *event)
An item that draws an arrow between to points.
virtual void showEvent(QShowEvent *event)
void setPaintingEnabled(bool enabled)
A item that forms part of a map composition.
virtual void mouseReleaseEvent(QMouseEvent *event)
A table that displays attributes from a vector layer.
void setVerticalRuler(QgsComposerRuler *r)
A graphics effect which can be applied to a widget to simulate various printing and color blindness m...
A composer class that displays svg files or raster format (jpg, png, ...)
Widget to display the composer items.
virtual void keyPressEvent(QKeyEvent *event)
Graphics scene for map printing.
Object representing map window.
virtual void mousePressEvent(QMouseEvent *event)
A class to show paper scale and the current cursor position.
virtual void paintEvent(QPaintEvent *event)
A composer items that draws common shapes (ellipse, triangle, rectangle)
void setHorizontalRuler(QgsComposerRuler *r)
A label that can be placed onto a map composition.
QgsComposerView::Tool currentTool() const
virtual void mouseDoubleClickEvent(QMouseEvent *event)
A legend that can be placed onto a map composition.
virtual void wheelEvent(QWheelEvent *event)
virtual void scrollContentsBy(int dx, int dy)
virtual void resizeEvent(QResizeEvent *event)