Go to the documentation of this file.
25 #include <QGraphicsView>
27 #include <QMouseEvent>
28 #include <QWheelEvent>
45 using QGraphicsView::QGraphicsView;
Qt::KeyboardModifier getZoomKeyboardModifier() const
void setZoomEnabled(bool enabled=true)
void setRotationKeyboardModifier(Qt::KeyboardModifier mod)
void setRotationFactor(qreal factor)
qreal getZoomFactor() const
void mouseMoveEvent(QMouseEvent *e) override
Qt::MouseButton draggingButton
void setZoomDisabled(bool disabled=true)
void setZoomKeyboardModifier(Qt::KeyboardModifier mod)
void setDraggingDisabled(bool disabled=true)
void mousePressEvent(QMouseEvent *e) override
Qt::KeyboardModifier rotationModifier
qreal getRotationFactor() const
Qt::MouseButton getDraggingMouseButton() const
void setRotationDisabled(bool disabled=true)
void setDraggingKeyboardModifier(Qt::KeyboardModifier mod)
Qt::KeyboardModifier zoomModifier
void wheelEvent(QWheelEvent *e) override
void setDraggingMouseButton(Qt::MouseButton button)
void setRotationEnabled(bool enabled=true)
Qt::KeyboardModifier draggingModifier
void setDraggingEnabled(bool enabled=true)
The EnhancedGraphicsView is a QGraphicsView with some additional functions.
QPointF draggingStartPosition
void setAllVisible(bool visible)
Qt::KeyboardModifier getDraggingKeyboardModifier() const
Qt::KeyboardModifier getRotationKeyboardModifier() const
This file offers overloads of toIce() and fromIce() functions for STL container types.