25 void update(
const std::map<std::string, const armem::wm::Memory*>& memories);
48 const QPoint& pos, QMenu* menu);
53 void handleSelection();
62 void updateChildren(
const std::map<std::string, const armem::wm::Memory*>& memories, QTreeWidget* tree);
67 void updateChildren(
const armem::wm::Entity& entity, QTreeWidgetItem* entityItem);
71 void prepareTreeContextMenu(
const QPoint& pos);
73 template <
class MemoryItemT>
74 QTreeWidgetItem* makeItem(
const std::string& key,
const MemoryItemT& memoryItem);
75 QTreeWidgetItem* makeItem(
const std::string& key,
const std::string& levelName,
const MemoryID&
id);
78 template <
class ContainerT>
79 void updateContainerItem(
const ContainerT& container, QTreeWidgetItem* item);
91 std::optional<MemoryID> _selectedID;
93 bool handleSelections =
true;