// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #pragma once #include "layeritem.h" #include "formeditoritem.h" #include #include namespace QmlDesigner { class ContentNotEditableIndicator { public: using EntryPair = QPair; ContentNotEditableIndicator(LayerItem *layerItem); ContentNotEditableIndicator(); ~ContentNotEditableIndicator(); void clear(); void setItems(const QList &itemList); void updateItems(const QList &itemList); protected: void addAddiationEntries(const QList &itemList); void removeEntriesWhichAreNotInTheList(const QList &itemList); private: QPointer m_layerItem; QList m_entryList; }; } // namespace QmlDesigner