66 |
66 |
67 def __generateItem(self, path, propName, propValue): |
67 def __generateItem(self, path, propName, propValue): |
68 """ |
68 """ |
69 Private method to generate a properties item in the properties list. |
69 Private method to generate a properties item in the properties list. |
70 |
70 |
71 @param path file/directory name the property applies to (string or QString) |
71 @param path file/directory name the property applies to (string) |
72 @param propName name of the property (string or QString) |
72 @param propName name of the property (string) |
73 @param propValue value of the property (string or QString) |
73 @param propValue value of the property (string) |
74 """ |
74 """ |
75 QTreeWidgetItem(self.propsList, QStringList() << path << propName << propValue) |
75 QTreeWidgetItem(self.propsList, [path, propName, propValue]) |
76 |
76 |
77 def closeEvent(self, e): |
77 def closeEvent(self, e): |
78 """ |
78 """ |
79 Private slot implementing a close event handler. |
79 Private slot implementing a close event handler. |
80 |
80 |