17 if (m_attachee && m_attachee->
window())
25 return (m_window ? m_window->
visibility() : QWindow::Hidden);
30 return (m_window ? m_window->isActive() :
false);
40 return (m_window ? m_window->
contentItem() :
nullptr);
45 return (m_window ? m_window->
width() : 0);
50 return (m_window ? m_window->
height() : 0);
71 if (!oldWindow || !
window ||
window->isActive() != oldWindow->isActive())
105#include "moc_qquickwindowattached_p.cpp"
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
static bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *member)
\threadsafe
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
QQuickWindow * window() const
Returns the window in which this item is rendered.
QWindow::Visibility visibility
QQuickWindowAttached(QObject *attachee)
void windowChange(QQuickWindow *)
QQuickItem * activeFocusItem
void contentItemChanged()
void activeFocusItemChanged()
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
QQuickItem * contentItem
\qmlattachedproperty Item Window::contentItem
QQuickItem * activeFocusItem
The item which currently has active focus or null if there is no item with active focus.
void heightChanged(int arg)
int width
the width of the window's geometry
Visibility visibility
the screen-occupation state of the window
void widthChanged(int arg)
int height
the height of the window's geometry
Combined button and popup list for selecting options.
QQuickItem * qobject_cast< QQuickItem * >(QObject *o)