allow labeling of ids

This commit is contained in:
Martin Baeuml
2011-01-31 12:35:23 +01:00
parent 28b698196b
commit 494cab9fbd
2 changed files with 28 additions and 3 deletions
+9
View File
@@ -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