140 @param editor reference to an Editor object, if this is a cloned view |
140 @param editor reference to an Editor object, if this is a cloned view |
141 @param tv reference to the task viewer object |
141 @param tv reference to the task viewer object |
142 @exception IOError raised to indicate an issue accessing the file |
142 @exception IOError raised to indicate an issue accessing the file |
143 """ |
143 """ |
144 super().__init__() |
144 super().__init__() |
145 self.setAttribute(Qt.WA_DeleteOnClose) |
145 ## self.setAttribute(Qt.WA_DeleteOnClose) |
146 self.setAttribute(Qt.WA_KeyCompression) |
146 self.setAttribute(Qt.WA_KeyCompression) |
147 self.setUtf8(True) |
147 self.setUtf8(True) |
148 |
148 |
149 self.dbs = dbs |
149 self.dbs = dbs |
150 self.taskViewer = tv |
150 self.taskViewer = tv |