@@ -1,6 +1,6 | |||
|
1 | 1 | from PyQt4 import QtCore |
|
2 | 2 | |
|
3 |
HORIZONTAL_HEADERS = (" |
|
|
3 | HORIZONTAL_HEADERS = ("Property","Value " ) | |
|
4 | 4 | |
|
5 | 5 | HORIZONTAL = ("RAMA :",) |
|
6 | 6 | |
@@ -76,6 +76,25 class treeModel(QtCore.QAbstractItemModel): | |||
|
76 | 76 | self.timezone=timezone |
|
77 | 77 | self.Summary=Summary |
|
78 | 78 | |
|
79 | ||
|
80 | for caracteristica,principal, descripcion in (("Properties","Name",self.name), | |
|
81 | ("Properties","Data Path",self.directorio), | |
|
82 | ("Properties","Workspace",self.workspace), | |
|
83 | ("Parameters", "Read Mode ",self.remode), | |
|
84 | ("Parameters", "DataType ",self.dataformat), | |
|
85 | ("Parameters", "Date ",self.date), | |
|
86 | ("Parameters", "Init Time ",self.initTime), | |
|
87 | ("Parameters", "Final Time ",self.endTime), | |
|
88 | ("Parameters", " Time zone ",self.timezone), | |
|
89 | ("Parameters", "Profiles ","1"), | |
|
90 | ("Description", "Summary ", self.Summary), | |
|
91 | ): | |
|
92 | person = person_class(caracteristica, principal, descripcion) | |
|
93 | self.people.append(person) | |
|
94 | self.rootItem = TreeItem(None, "ALL", None) | |
|
95 | self.parents = {0 : self.rootItem} | |
|
96 | self.setupModelData() | |
|
97 | ||
|
79 | 98 | |
|
80 | 99 | def columnCount(self, parent=None): |
|
81 | 100 | if parent and parent.isValid(): |
General Comments 0
You need to be logged in to leave comments.
Login now