17 #ifndef QGSCOMPOSERVIEW_H
18 #define QGSCOMPOSERVIEW_H
20 #include <QGraphicsView>
90 ActiveUntilMouseRelease
93 QgsComposerView( QWidget* parent = 0,
const char* name = 0, Qt::WFlags f = 0 );
102 void copyItems( ClipboardMode mode );
105 void pasteItems( PasteMode mode );
108 void deleteSelectedItems();
128 QMainWindow* composerWindow();
140 void setZoomLevel(
double zoomLevel );
143 void mousePressEvent( QMouseEvent* );
144 void mouseReleaseEvent( QMouseEvent* );
145 void mouseMoveEvent( QMouseEvent* );
146 void mouseDoubleClickEvent( QMouseEvent* e );
148 void keyPressEvent( QKeyEvent * e );
149 void keyReleaseEvent( QKeyEvent * e );
151 void wheelEvent( QWheelEvent* event );
153 void paintEvent( QPaintEvent* event );
155 void hideEvent( QHideEvent* e );
156 void showEvent( QShowEvent* e );
158 void resizeEvent( QResizeEvent* event );
159 void scrollContentsBy(
int dx,
int dy );
191 void addShape(
Tool currentTool );
208 QCursor defaultCursorForTool(
Tool currentTool );
211 void wheelZoom( QWheelEvent * event );
213 void updateRubberBand( QPointF & pos );
215 void removeRubberBand();
218 void startMarqueeSelect( QPointF & scenePoint );
220 void endMarqueeSelect( QMouseEvent* e );
222 void startMarqueeZoom( QPointF & scenePoint );
224 void endMarqueeZoom( QMouseEvent* e );
235 void actionFinished();
237 void cursorPosChanged( QPointF );
239 void zoomLevelChanged();