Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QmlJSDebugger Namespace Reference

Classes

class  GlobalInspector
 
class  Highlight
 
class  HoverHighlight
 
class  InspectTool
 
class  ObjectCreator
 
class  QQuickWindowInspector
 
class  SelectionHighlight
 

Functions

static bool reparentQmlObject (QObject *object, QObject *newParent)
 
static QQuickItemitemAt (QQuickItem *item, const QPointF &pos, QQuickItem *overlay)
 
static void collectItemsAt (QQuickItem *item, const QPointF &pos, QQuickItem *overlay, QList< QQuickItem * > &resultList)
 
static Qt::WindowFlags fixFlags (Qt::WindowFlags flags)
 

Function Documentation

◆ collectItemsAt()

static void QmlJSDebugger::collectItemsAt ( QQuickItem * item,
const QPointF & pos,
QQuickItem * overlay,
QList< QQuickItem * > & resultList )
static

Definition at line 51 of file qquickwindowinspector.cpp.

References child, collectItemsAt(), QRectF::contains(), QGraphicsItem::flags(), QQuickItemPrivate::get(), i, item, QQuickItem::ItemClipsChildrenToShape, QGraphicsItem::mapToItem(), and pos.

Referenced by collectItemsAt(), and QmlJSDebugger::QQuickWindowInspector::itemsAt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fixFlags()

static Qt::WindowFlags QmlJSDebugger::fixFlags ( Qt::WindowFlags flags)
static

Definition at line 136 of file qquickwindowinspector.cpp.

References Qt::Dialog, Qt::Tool, Qt::Window, Qt::WindowCloseButtonHint, Qt::WindowMaximizeButtonHint, Qt::WindowMinimizeButtonHint, Qt::WindowSystemMenuHint, and Qt::WindowTitleHint.

Referenced by QmlJSDebugger::QQuickWindowInspector::setShowAppOnTop().

+ Here is the caller graph for this function:

◆ itemAt()

static QQuickItem * QmlJSDebugger::itemAt ( QQuickItem * item,
const QPointF & pos,
QQuickItem * overlay )
static

Definition at line 17 of file qquickwindowinspector.cpp.

References child, QRectF::contains(), QGraphicsItem::flags(), QQuickItemPrivate::get(), i, QGraphicsItem::isVisible(), item, itemAt(), QQuickItem::ItemClipsChildrenToShape, QQuickItem::ItemHasContents, QGraphicsItem::mapToItem(), QGraphicsItem::opacity(), and pos.

Referenced by itemAt(), and QmlJSDebugger::QQuickWindowInspector::topVisibleItemAt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reparentQmlObject()

static bool QmlJSDebugger::reparentQmlObject ( QObject * object,
QObject * newParent )
static

Definition at line 92 of file globalinspector.cpp.

References item, qobject_cast< QQuickItem * >(), and QGraphicsItem::setParentItem().

Referenced by QmlJSDebugger::GlobalInspector::processMessage(), and QmlJSDebugger::ObjectCreator::tryCreateObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: