4#ifndef QQMLJSSCOPESBYID_P_H
5#define QQMLJSSCOPESBYID_P_H
20#include <QtCore/qhash.h>
21#include <QtCore/qstring.h>
40 for (
auto it = m_scopesById.begin(),
end = m_scopesById.end();
it !=
end; ++
it) {
41 if (*
it ==
scope && isComponentVisible(componentRoot(*
it), referrerRoot))
55 const auto range = m_scopesById.equal_range(
id);
61 if (isComponentVisible(componentRoot(*
it), referrerRoot))
71 m_scopesById.insert(
id,
scope);
74 void clear() { m_scopesById.clear(); }
98 bool isComponentVisible(
101 if (!m_componentsAreBound)
102 return observed == observer;
105 if (
scope == observed)
113 bool m_componentsAreBound =
false;
114 bool m_signaturesAreEnforced =
true;
115 bool m_valueTypesAreAddressable =
false;
bool isComponentRootElement() const
QQmlJSScope::Ptr parentScope()
bool isInlineComponent() const
QDeferredSharedPointer< const QQmlJSScope > ConstPtr
QString id(const QQmlJSScope::ConstPtr &scope, const QQmlJSScope::ConstPtr &referrer) const
bool signaturesAreEnforced() const
bool componentsAreBound() const
bool existsAnywhereInDocument(const QString &id) const
void setValueTypesAreAddressable(bool addressable)
void setComponentsAreBound(bool bound)
QQmlJSScope::ConstPtr scope(const QString &id, const QQmlJSScope::ConstPtr &referrer) const
void setSignaturesAreEnforced(bool enforced)
bool valueTypesAreAddressable() const
void insert(const QString &id, const QQmlJSScope::ConstPtr &scope)
\macro QT_RESTRICTED_CAST_FROM_ASCII
QSet< QString >::iterator it
Combined button and popup list for selecting options.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent