572 def index(self, row, column, parent=QModelIndex()): |
572 def index(self, row, column, parent=QModelIndex()): |
573 """ |
573 """ |
574 Public Qt slot to get the index of item at row:column of parent. |
574 Public Qt slot to get the index of item at row:column of parent. |
575 |
575 |
576 @param row number of rows |
576 @param row number of rows |
577 @rtype int |
577 @type int |
578 @param column number of columns |
578 @param column number of columns |
579 @type int |
579 @type int |
580 @param parent the model parent |
580 @param parent the model parent |
581 @type QModelIndex |
581 @type QModelIndex |
582 @return new model index for child |
582 @return new model index for child |