mirror of
https://github.com/wassname/sloth.git
synced 2026-08-19 12:40:27 +08:00
allow labeling of ids
This commit is contained in:
@@ -433,6 +433,15 @@ class AnnotationModel(QAbstractItemModel):
|
||||
|
||||
return index
|
||||
|
||||
def asDictList(self):
|
||||
"""return annotations as python list of dictionary"""
|
||||
# TODO
|
||||
annotations = []
|
||||
if self.root_ is not None:
|
||||
for child in self.root_.children_:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
#######################################################################################
|
||||
# proxy model
|
||||
|
||||
Reference in New Issue
Block a user