7#include <private/qquickitem_p.h>
32 for (
int i = children.size() - 1;
i >= 0; --
i) {
36 return betterCandidate;
52 QQuickItem *overlay, QList<QQuickItem *> &resultList)
63 for (
int i = children.size() - 1;
i >= 0; --
i) {
71 resultList.append(
item);
77 m_window(quickWindow),
84 m_overlay->
setZ(FLT_MAX);
94 if (!m_tool ||
obj != m_window)
97 switch (
event->type()) {
120#if QT_CONFIG(wheelevent)
157 Qt::WindowFlags
flags = m_parentWindow->
flags();
159 (
flags &
~Qt::WindowStaysOnTopHint);
160 if (newFlags !=
flags)
161 m_parentWindow->setFlags(newFlags);
166 return m_tool !=
nullptr;
187 while (
QWindow *
w = parentWindow->parent())
191 m_parentWindow = parentWindow;
196 QList<QQuickItem *> resultList;
214#include "moc_qquickwindowinspector.cpp"
QPointF mapToItem(const QGraphicsItem *item, const QPointF &point) const
Maps the point point, which is in this item's coordinate system, to item's coordinate system,...
bool isVisible() const
Returns true if the item is visible; otherwise, false is returned.
GraphicsItemFlags flags() const
Returns this item's flags.
The QKeyEvent class describes a key event.
void installEventFilter(QObject *filterObj)
Installs an event filter filterObj on this object.
virtual bool eventFilter(QObject *watched, QEvent *event)
Filters events if this object has been installed as an event filter for the watched object.
\inmodule QtCore\reentrant
static QQuickItemPrivate * get(QQuickItem *item)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
void setParentItem(QQuickItem *parent)
QPointF mapFromScene(const QPointF &point) const
Maps the given point in the scene's coordinate system to the equivalent point within this item's coor...
@ ItemClipsChildrenToShape
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
QQuickItem * contentItem
\qmlattachedproperty Item Window::contentItem
\inmodule QtCore\reentrant
bool contains(const QRectF &r) const noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
The QTouchEvent class contains parameters that describe a touch event.
Qt::WindowFlags flags
the window flags of the window
QQuickItem * topVisibleItemAt(const QPointF &pos) const
QList< QQuickItem * > itemsAt(const QPointF &pos) const
bool eventFilter(QObject *, QEvent *) override
Filters events if this object has been installed as an event filter for the watched object.
QQuickWindow * quickWindow() const
void setEnabled(bool enabled)
QQuickWindowInspector(QQuickWindow *quickWindow, QObject *parent=nullptr)
void setShowAppOnTop(bool appOnTop)
void setParentWindow(QWindow *parentWindow)
Combined button and popup list for selecting options.
static void collectItemsAt(QQuickItem *item, const QPointF &pos, QQuickItem *overlay, QList< QQuickItem * > &resultList)
static QQuickItem * itemAt(QQuickItem *item, const QPointF &pos, QQuickItem *overlay)
static Qt::WindowFlags fixFlags(Qt::WindowFlags flags)
@ WindowMaximizeButtonHint
@ WindowMinimizeButtonHint
GLfloat GLfloat GLfloat w
[0]
GLenum GLenum GLsizei const GLuint GLboolean enabled