17 #ifndef QGSCOMPOSERVIEW_H 18 #define QGSCOMPOSERVIEW_H 20 #include <QGraphicsView> 91 ActiveUntilMouseRelease
109 void deleteSelectedItems();
144 void setZoomLevel(
double zoomLevel );
151 void setPreviewModeEnabled(
bool enabled );
203 bool mPaintingEnabled;
209 void addShape(
Tool currentTool );
219 bool mMovingItemContent;
223 QPoint mMousePressStartPos;
233 void updateRubberBandRect(
QPointF & pos,
const bool constrainSquare =
false,
const bool fromCenter =
false );
235 void updateRubberBandLine(
QPointF pos,
const bool constrainAngles =
false );
237 void removeRubberBand();
240 void startMarqueeSelect(
QPointF & scenePoint );
244 void startMarqueeZoom(
QPointF & scenePoint );
257 void actionFinished();
259 void cursorPosChanged(
QPointF );
261 void zoomLevelChanged();
virtual void mouseMoveEvent(QMouseEvent *event)
A scale bar item that can be added to a map composition.
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)
bool paintingEnabled() const
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.
virtual void mouseDoubleClickEvent(QMouseEvent *event)
A legend that can be placed onto a map composition.
virtual void wheelEvent(QWheelEvent *event)
QgsComposerView::Tool currentTool() const
virtual void scrollContentsBy(int dx, int dy)
virtual void resizeEvent(QResizeEvent *event)