src/eric7/Project/ProjectBaseBrowser.py

branch
server
changeset 10704
27d21e5163b8
parent 10633
dda7e43934dc
parent 10683
779cda568acb
child 11090
f5f5f5803935
equal deleted inserted replaced
10680:306373ccf8fd 10704:27d21e5163b8
226 selection = QItemSelection(startIndex, endIndex) 226 selection = QItemSelection(startIndex, endIndex)
227 self.selectionModel().select( 227 self.selectionModel().select(
228 selection, selected and self.SelectFlags or self.DeselectFlags 228 selection, selected and self.SelectFlags or self.DeselectFlags
229 ) 229 )
230 230
231 def __modelRowsInserted(self, parent, start, end): # noqa: U100 231 def __modelRowsInserted(self, _parent, _start, _end):
232 """ 232 """
233 Private slot called after rows have been inserted into the model. 233 Private slot called after rows have been inserted into the model.
234 234
235 @param parent parent index of inserted rows 235 @param _parent parent index of inserted rows (unused)
236 @type QModelIndex 236 @type QModelIndex
237 @param start start row number 237 @param _start start row number (unused)
238 @type int 238 @type int
239 @param end end row number 239 @param _end end row number (unused)
240 @type int 240 @type int
241 """ 241 """
242 self._resizeColumns() 242 self._resizeColumns()
243 243
244 def _projectClosed(self): 244 def _projectClosed(self):
556 for act in self.dirMultiMenuActions: 556 for act in self.dirMultiMenuActions:
557 act.setEnabled(True) 557 act.setEnabled(True)
558 elif self.vcsHelper is not None: 558 elif self.vcsHelper is not None:
559 self.vcsHelper.showContextMenuDirMulti(menu, self.dirMultiMenuActions) 559 self.vcsHelper.showContextMenuDirMulti(menu, self.dirMultiMenuActions)
560 560
561 def _showContextMenuBack(self, menu): # noqa: U100 561 def _showContextMenuBack(self, _menu):
562 """ 562 """
563 Protected slot called before the context menu is shown. 563 Protected slot called before the context menu is shown.
564 564
565 @param menu reference to the menu to be shown 565 @param _menu reference to the menu to be shown (unused)
566 @type QMenu 566 @type QMenu
567 """ 567 """
568 # nothing to do for now 568 # nothing to do for now
569 return 569 return
570 570

eric ide

mercurial