Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgraphicsview.cpp File Reference

(87806f5cad6e4ce75a899598c15c126995682562)

#include "qgraphicsview.h"
#include "qgraphicsview_p.h"
#include "qgraphicsitem.h"
#include "qgraphicsitem_p.h"
#include "qgraphicsscene.h"
#include "qgraphicsscene_p.h"
#include "qgraphicssceneevent.h"
#include "qgraphicswidget.h"
#include <QtCore/qdatetime.h>
#include <QtCore/qdebug.h>
#include <QtCore/qmath.h>
#include <QtCore/qscopedvaluerollback.h>
#include <QtWidgets/qapplication.h>
#include <QtGui/qevent.h>
#include <QtWidgets/qlayout.h>
#include <QtGui/qtransform.h>
#include <QtGui/qpainter.h>
#include <QtGui/qpainterpath.h>
#include <QtWidgets/qscrollbar.h>
#include <QtWidgets/qstyleoption.h>
#include <private/qevent_p.h>
#include <QtGui/private/qeventpoint_p.h>
#include "moc_qgraphicsview.cpp"
Include dependency graph for qgraphicsview.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE bool qt_sendSpontaneousEvent (QObject *receiver, QEvent *event)
int q_round_bound (qreal d)
static bool intersectsViewport (const QRect &r, int width, int height)
static bool containsViewport (const QRect &r, int width, int height)
static void QRect_unite (QRect *rect, const QRect &other)
Q_GUI_EXPORT QPainterPath qt_regionToPath (const QRegion &region)

Variables

static const int QGRAPHICSVIEW_REGION_RECT_THRESHOLD = 50
static const int QGRAPHICSVIEW_PREALLOC_STYLE_OPTIONS = 503

Function Documentation

◆ containsViewport()

bool containsViewport ( const QRect & r,
int width,
int height )
inlinestatic

Definition at line 965 of file qgraphicsview.cpp.

◆ intersectsViewport()

bool intersectsViewport ( const QRect & r,
int width,
int height )
inlinestatic

Definition at line 962 of file qgraphicsview.cpp.

◆ q_round_bound()

int q_round_bound ( qreal d)
inline

Definition at line 278 of file qgraphicsview.cpp.

◆ QRect_unite()

void QRect_unite ( QRect * rect,
const QRect & other )
inlinestatic

Definition at line 968 of file qgraphicsview.cpp.

◆ qt_regionToPath()

Q_GUI_EXPORT QPainterPath qt_regionToPath ( const QRegion & region)
extern

Definition at line 1010 of file qregion.cpp.

◆ qt_sendSpontaneousEvent()

QT_BEGIN_NAMESPACE bool qt_sendSpontaneousEvent ( QObject * receiver,
QEvent * event )
related

Variable Documentation

◆ QGRAPHICSVIEW_PREALLOC_STYLE_OPTIONS

const int QGRAPHICSVIEW_PREALLOC_STYLE_OPTIONS = 503
static

Definition at line 7 of file qgraphicsview.cpp.

◆ QGRAPHICSVIEW_REGION_RECT_THRESHOLD

const int QGRAPHICSVIEW_REGION_RECT_THRESHOLD = 50
static

Definition at line 5 of file qgraphicsview.cpp.