354 def index(self, row, column, parent=QModelIndex()): |
354 def index(self, row, column, parent=QModelIndex()): |
355 """ |
355 """ |
356 Public Qt slot to get the index of item at row:column of parent. |
356 Public Qt slot to get the index of item at row:column of parent. |
357 |
357 |
358 @param row number of rows |
358 @param row number of rows |
359 @rtype int |
359 @type int |
360 @param column number of columns |
360 @param column number of columns |
361 @type int |
361 @type int |
362 @param parent the model parent |
362 @param parent the model parent |
363 @type QModelIndex |
363 @type QModelIndex |
364 @return new model index for child |
364 @return new model index for child |