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
qgraphicsitem_p.h File Reference

(c0e526f70f58c9b70fea1b9426d14b18f1f0066c)

#include <QtWidgets/private/qtwidgetsglobal_p.h>
#include "qgraphicsitem.h"
#include "qset.h"
#include "qpixmapcache.h"
#include <private/qgraphicsview_p.h>
#include "qgraphicstransform.h"
#include <private/qgraphicstransform_p.h>
#include <QtCore/qpoint.h>
Include dependency graph for qgraphicsitem_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QGraphicsItemCache
struct  QGraphicsItemCache::DeviceData
class  QGraphicsItemPrivate
struct  QGraphicsItemPrivate::ExtraStruct
struct  QGraphicsItemPrivate::TransformData
struct  QGraphicsItemPaintInfo

Functions

 QT_REQUIRE_CONFIG (graphicsview)
 Q_DECLARE_TYPEINFO (QGraphicsItemPrivate::ExtraStruct, Q_RELOCATABLE_TYPE)
bool qt_closestItemFirst (const QGraphicsItem *item1, const QGraphicsItem *item2)
 Returns true if item1 is on top of item2.
bool qt_closestItemLast (const QGraphicsItem *item1, const QGraphicsItem *item2)
 Returns true if item2 is on top of item1.
bool qt_closestLeaf (const QGraphicsItem *item1, const QGraphicsItem *item2)
bool qt_notclosestLeaf (const QGraphicsItem *item1, const QGraphicsItem *item2)

Function Documentation

◆ Q_DECLARE_TYPEINFO()

◆ qt_closestItemFirst()

bool qt_closestItemFirst ( const QGraphicsItem * item1,
const QGraphicsItem * item2 )
inline

Returns true if item1 is on top of item2.

The items don't need to be siblings.

Definition at line 561 of file qgraphicsitem_p.h.

Referenced by qt_closestItemLast().

Here is the caller graph for this function:

◆ qt_closestItemLast()

bool qt_closestItemLast ( const QGraphicsItem * item1,
const QGraphicsItem * item2 )
inline

Returns true if item2 is on top of item1.

The items don't need to be siblings.

Definition at line 615 of file qgraphicsitem_p.h.

References qt_closestItemFirst().

Here is the call graph for this function:

◆ qt_closestLeaf()

bool qt_closestLeaf ( const QGraphicsItem * item1,
const QGraphicsItem * item2 )
inline

Definition at line 623 of file qgraphicsitem_p.h.

Referenced by qt_notclosestLeaf().

Here is the caller graph for this function:

◆ qt_notclosestLeaf()

bool qt_notclosestLeaf ( const QGraphicsItem * item1,
const QGraphicsItem * item2 )
inline

Definition at line 640 of file qgraphicsitem_p.h.

References qt_closestLeaf().

Here is the call graph for this function:

◆ QT_REQUIRE_CONFIG()

QT_REQUIRE_CONFIG ( graphicsview )