MCPcopy Create free account
hub / github.com/KDAB/GammaRay / setWindow

Method setWindow

plugins/quickinspector/quickitemmodel.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43QuickItemModel::~QuickItemModel() = default;
44
45void QuickItemModel::setWindow(QQuickWindow *window)
46{
47 beginResetModel();
48 clear();
49 m_window = window;
50 populateFromItem(window->contentItem());
51 endResetModel();
52}
53
54QVariant QuickItemModel::data(const QModelIndex &index, int role) const
55{

Callers 3

selectWindowMethod · 0.45
sceneGraphCleanedUpMethod · 0.45

Calls

no outgoing calls

Tested by 3

selectWindowMethod · 0.36
sceneGraphCleanedUpMethod · 0.36