4#include <private/qqmldebugserviceinterfaces_p.h>
5#include <private/qqmldebugservicefactory_p.h>
10#include <QtGui/QWindow>
49 if (
state() == Enabled) {
50 if (!m_globalInspector) {
60 m_waitingWindows.
clear();
62 }
else if (m_globalInspector) {
63 delete m_globalInspector;
64 m_globalInspector =
nullptr;
66 return m_globalInspector;
72 inspector->addWindow(
window);
80 inspector->removeWindow(
window);
102 inspector->processMessage(
message);
120#include "qqmlinspectorservice.moc"
bool remove(const Key &key)
Removes the item that has the key from the hash.
const_iterator constEnd() const noexcept
Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the ...
const_iterator constBegin() const noexcept
Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the hash.
void clear() noexcept(std::is_nothrow_destructible< Node >::value)
Removes all items from the hash and frees up all memory used by it.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
void messageToClient(const QString &name, const QByteArray &message)
QQmlDebugService * create(const QString &key) override
void setParentWindow(QQuickWindow *window, QWindow *parent) override
void messageReceived(const QByteArray &) override
void removeWindow(QQuickWindow *window) override
void scheduleMessage(const QByteArray &message)
void addWindow(QQuickWindow *window) override
QQmlInspectorServiceImpl(QObject *parent=nullptr)
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
\macro QT_RESTRICTED_CAST_FROM_ASCII
void setParentWindow(QQuickWindow *window, QWindow *parentWindow)
void messageToClient(const QString &name, const QByteArray &data)
void addWindow(QQuickWindow *window)
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
#define QQmlDebugServiceFactory_iid
connect(quitButton, &QPushButton::clicked, &app, &QCoreApplication::quit, Qt::QueuedConnection)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent