src/eric7/Project/ProjectBaseBrowser.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10256
1b728f26d1ae
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
213 selection = QItemSelection(startIndex, endIndex) 213 selection = QItemSelection(startIndex, endIndex)
214 self.selectionModel().select( 214 self.selectionModel().select(
215 selection, selected and self.SelectFlags or self.DeselectFlags 215 selection, selected and self.SelectFlags or self.DeselectFlags
216 ) 216 )
217 217
218 def __modelRowsInserted(self, parent, start, end): 218 def __modelRowsInserted(self, parent, start, end): # noqa: U100
219 """ 219 """
220 Private slot called after rows have been inserted into the model. 220 Private slot called after rows have been inserted into the model.
221 221
222 @param parent parent index of inserted rows (QModelIndex) 222 @param parent parent index of inserted rows (QModelIndex)
223 @param start start row number (integer) 223 @param start start row number (integer)
504 for act in self.dirMultiMenuActions: 504 for act in self.dirMultiMenuActions:
505 act.setEnabled(True) 505 act.setEnabled(True)
506 else: 506 else:
507 self.vcsHelper.showContextMenuDirMulti(menu, self.dirMultiMenuActions) 507 self.vcsHelper.showContextMenuDirMulti(menu, self.dirMultiMenuActions)
508 508
509 def _showContextMenuBack(self, menu): 509 def _showContextMenuBack(self, menu): # noqa: U100
510 """ 510 """
511 Protected slot called before the context menu is shown. 511 Protected slot called before the context menu is shown.
512 512
513 @param menu reference to the menu to be shown (QMenu) 513 @param menu reference to the menu to be shown (QMenu)
514 """ 514 """

eric ide

mercurial