42 #ifndef QGRAPHICSVIEW_P_H 43 #define QGRAPHICSVIEW_P_H 58 #if !defined(QT_NO_GRAPHICSVIEW) || (QT_EDITION & QT_MODULE_GRAPHICSVIEW) != QT_MODULE_GRAPHICSVIEW 60 #include <QtGui/qevent.h> 61 #include <QtCore/qcoreapplication.h> 63 #include <QtGui/qstyleoption.h> 64 #include <private/qabstractscrollarea_p.h> 65 #include <private/qapplication_p.h> 75 void recalculateContentSize();
99 void updateLastCenterPoint();
101 qint64 horizontalScroll()
const;
102 qint64 verticalScroll()
const;
125 void replayLastMouseEvent();
138 #ifndef QT_NO_RUBBERBAND 160 void _q_setViewportCursor(
const QCursor &cursor);
161 void _q_unsetViewportCursor();
173 void processPendingUpdates();
177 fullUpdatePending =
true;
178 dirtyBoundingRect =
QRect();
215 bool updateRect(
const QRect &rect);
226 void updateInputMethodSensitivity();
231 #endif // QT_NO_GRAPHICSVIEW
QRect toAlignedRect() const
Returns a QRect based on the values of this rectangle that is the smallest possible integer rectangle...
bool updateRectF(const QRectF &rect)
QPoint mousePressScreenPoint
DragMode
This enum describes the default action for the view when pressing and dragging the mouse over the vie...
QRect adjusted(int x1, int y1, int x2, int y2) const
Returns a new rectangle with dx1, dy1, dx2 and dy2 added respectively to the existing coordinates of ...
The QCursor class provides a mouse cursor with an arbitrary shape.
#define QT_END_NAMESPACE
This macro expands to.
QGraphicsView::CacheMode cacheMode
QPointer< QWidget > widget
QPointF mousePressScenePoint
The QPointF class defines a point in the plane using floating point precision.
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
QPointF mousePressItemPoint
quint32 sceneInteractionAllowed
QMouseEvent lastMouseEvent
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
void qt_mac_dispatchPendingUpdateRequests(QWidget *widget)
bool updateSceneSlotReimplementedChecked
QVector< QStyleOptionGraphicsItem > styleOptions
QPainter::RenderHints renderHints
QPoint lastMouseMoveScreenPoint
QGraphicsView::ViewportAnchor transformationAnchor
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
quint32 fullUpdatePending
QGraphicsView::ViewportUpdateMode viewportUpdateMode
static void sendPostedEvents()
quint32 keepLastCenterPoint
The QRegion class specifies a clip region for a painter.
static QString graphics_system_name
The QMouseEvent class contains parameters that describe a mouse event.
The QBrush class defines the fill pattern of shapes drawn by QPainter.
bool hasStoredOriginalCursor
QRegion backgroundPixmapExposed
quint32 useLastMouseEvent
#define Q_DECLARE_PUBLIC(Class)
The QDropEvent class provides an event which is sent when a drag and drop action is completed...
The QGraphicsSceneDragDropEvent class provides events for drag and drop in the graphics view framewor...
QPoint mousePressViewPoint
The QPoint class defines a point in the plane using integer precision.
void dispatchPendingUpdateRequests()
The QRect class defines a rectangle in the plane using integer precision.
Qt::MouseButton mousePressButton
QGraphicsView::DragMode dragMode
The QPixmap class is an off-screen image representation that can be used as a paint device...
The QGraphicsView class provides a widget for displaying the contents of a QGraphicsScene.
QGraphicsView::OptimizationFlags optimizationFlags
The QTouchEvent class contains parameters that describe a touch event.
quint32 mustResizeBackgroundPixmap
QGraphicsSceneDragDropEvent * lastDragDropEvent
QTouchEventSequence touchEvent(QWidget *widget=0, QTouchEvent::DeviceType deviceType=QTouchEvent::TouchScreen)
Creates and returns a QTouchEventSequence for the device deviceType to simulate events for widget...
quint32 mustAllocateStyleOptions
bool isEmpty() const
Returns true if the rectangle is empty, otherwise returns false.
QPointer< QGraphicsScene > scene
The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem...
Qt::ItemSelectionMode rubberBandSelectionMode
QPointF lastMouseMoveScenePoint
quint32 accelerateScrolling
QGraphicsView::ViewportAnchor resizeAnchor
ViewportUpdateMode
This enum describes how QGraphicsView updates its viewport when the scene contents change or are expo...
The QList class is a template class that provides lists.
ViewportAnchor
This enums describe the possible anchors that QGraphicsView can use when the user resizes the view or...