src/eric7/DataViews/PyCoverageDialog.py

branch
server
changeset 10704
27d21e5163b8
parent 10630
552a790fd9bc
parent 10689
3ede487187f2
child 10814
ba20efe10336
child 11006
a671918232f3
equal deleted inserted replaced
10680:306373ccf8fd 10704:27d21e5163b8
333 self.summaryList.header().resizeSections( 333 self.summaryList.header().resizeSections(
334 QHeaderView.ResizeMode.ResizeToContents 334 QHeaderView.ResizeMode.ResizeToContents
335 ) 335 )
336 self.summaryList.header().setStretchLastSection(True) 336 self.summaryList.header().setStretchLastSection(True)
337 337
338 def closeEvent(self, evt): 338 def closeEvent(self, _evt):
339 """ 339 """
340 Protected method to handle the close event. 340 Protected method to handle the close event.
341 341
342 @param evt reference to the close event 342 @param _evt reference to the close event (unused)
343 @type QCloseEvent 343 @type QCloseEvent
344 """ 344 """
345 self.cancelled = True 345 self.cancelled = True
346 # The rest is done by the start() method. 346 # The rest is done by the start() method.
347 347
502 self.excludeList.remove(excludePattern) 502 self.excludeList.remove(excludePattern)
503 self.excludeList.insert(0, excludePattern) 503 self.excludeList.insert(0, excludePattern)
504 self.start(self.__cfn, self.__fn) 504 self.start(self.__cfn, self.__fn)
505 505
506 @pyqtSlot(QTreeWidgetItem, int) 506 @pyqtSlot(QTreeWidgetItem, int)
507 def on_resultList_itemActivated(self, item, column): 507 def on_resultList_itemActivated(self, item, _column):
508 """ 508 """
509 Private slot to handle the activation of an item. 509 Private slot to handle the activation of an item.
510 510
511 @param item reference to the activated item 511 @param item reference to the activated item
512 @type QTreeWidgetItem 512 @type QTreeWidgetItem
513 @param column column the item was activated in 513 @param _column column the item was activated in (unused)
514 @type int 514 @type int
515 """ 515 """
516 self.__openFile(item) 516 self.__openFile(item)

eric ide

mercurial