470 @return new model index for parent |
470 @return new model index for parent |
471 @rtype QModelIndex |
471 @rtype QModelIndex |
472 """ |
472 """ |
473 return QModelIndex() |
473 return QModelIndex() |
474 |
474 |
475 def columnCount(self, parent=None): # noqa: U100 |
475 def columnCount(self, parent=None): # noqa: U-100 |
476 """ |
476 """ |
477 Public Qt slot to get the column count. |
477 Public Qt slot to get the column count. |
478 |
478 |
479 @param parent the model parent (defaults to None) (unused) |
479 @param parent the model parent (defaults to None) (unused) |
480 @type QModelIndex (optional) |
480 @type QModelIndex (optional) |
481 @return number of columns |
481 @return number of columns |
482 @rtype int |
482 @rtype int |
483 """ |
483 """ |
484 return 1 |
484 return 1 |
485 |
485 |
486 def rowCount(self, parent=None): # noqa: U100 |
486 def rowCount(self, parent=None): # noqa: U-100 |
487 """ |
487 """ |
488 Public Qt slot to get the row count. |
488 Public Qt slot to get the row count. |
489 |
489 |
490 @param parent the model parent (defaults to None) (unused) |
490 @param parent the model parent (defaults to None) (unused) |
491 @type QModelIndex (optional) |
491 @type QModelIndex (optional) |