Merge new and old project tree

This commit is contained in:
Veronica Berglyd Olsen committed 2024-11-17 22:07:37 +01:00
1 parent 27b3dde6f6
commit ef42e1956c
2 files changed
+777 -804

No files matched your search

+10 -1
View File
@@ -166,7 +166,7 @@ class ProjectModel(QAbstractItemModel):
return self._root
##
# Model Access
# Model Interface
##
def rowCount(self, index: QModelIndex) -> int:
@@ -211,6 +211,15 @@ class ProjectModel(QAbstractItemModel):
# item.addChild(node)
# return
##
# Data Access
##
def node(self, index: QModelIndex) -> ProjectNode | None:
if index.isValid():
return index.internalPointer()
return None
##
# Methods
##
File diff suppressed because it is too large. Load diff