151 |
151 |
152 @param index index of the changed data |
152 @param index index of the changed data |
153 @type QModelIndex |
153 @type QModelIndex |
154 @param value value of the changed data |
154 @param value value of the changed data |
155 @type any |
155 @type any |
156 @param role role of the changed data |
156 @param role role of the changed data (unused) |
157 @type Qt.ItemDataRole |
157 @type Qt.ItemDataRole |
158 @return flag indicating success |
158 @return flag indicating success |
159 @rtype bool |
159 @rtype bool |
160 """ |
160 """ |
161 if ( |
161 if ( |
230 ): |
230 ): |
231 return QModelIndex() |
231 return QModelIndex() |
232 |
232 |
233 return self.createIndex(row, column, self.breakpoints[row]) |
233 return self.createIndex(row, column, self.breakpoints[row]) |
234 |
234 |
235 def parent(self, index): # noqa: U100 |
235 def parent(self, _index): |
236 """ |
236 """ |
237 Public method to get the parent index. |
237 Public method to get the parent index. |
238 |
238 |
239 @param index index of item to get parent |
239 @param _index index of item to get parent (unused) |
240 @type QModelIndex |
240 @type QModelIndex |
241 @return index of parent |
241 @return index of parent |
242 @rtype QModelIndex |
242 @rtype QModelIndex |
243 """ |
243 """ |
244 return QModelIndex() |
244 return QModelIndex() |