src/eric7/DataViews/PyCoverageDialog.py

branch
eric7
changeset 10689
3ede487187f2
parent 10439
21c28b0f9e41
child 10694
f46c1e224e8a
child 10704
27d21e5163b8
equal deleted inserted replaced
10688:0d9853ceb288 10689:3ede487187f2
299 self.summaryList.header().resizeSections( 299 self.summaryList.header().resizeSections(
300 QHeaderView.ResizeMode.ResizeToContents 300 QHeaderView.ResizeMode.ResizeToContents
301 ) 301 )
302 self.summaryList.header().setStretchLastSection(True) 302 self.summaryList.header().setStretchLastSection(True)
303 303
304 def closeEvent(self, evt): 304 def closeEvent(self, _evt):
305 """ 305 """
306 Protected method to handle the close event. 306 Protected method to handle the close event.
307 307
308 @param evt reference to the close event 308 @param _evt reference to the close event (unused)
309 @type QCloseEvent 309 @type QCloseEvent
310 """ 310 """
311 self.cancelled = True 311 self.cancelled = True
312 # The rest is done by the start() method. 312 # The rest is done by the start() method.
313 313
468 self.excludeList.remove(excludePattern) 468 self.excludeList.remove(excludePattern)
469 self.excludeList.insert(0, excludePattern) 469 self.excludeList.insert(0, excludePattern)
470 self.start(self.__cfn, self.__fn) 470 self.start(self.__cfn, self.__fn)
471 471
472 @pyqtSlot(QTreeWidgetItem, int) 472 @pyqtSlot(QTreeWidgetItem, int)
473 def on_resultList_itemActivated(self, item, column): 473 def on_resultList_itemActivated(self, item, _column):
474 """ 474 """
475 Private slot to handle the activation of an item. 475 Private slot to handle the activation of an item.
476 476
477 @param item reference to the activated item 477 @param item reference to the activated item
478 @type QTreeWidgetItem 478 @type QTreeWidgetItem
479 @param column column the item was activated in 479 @param _column column the item was activated in (unused)
480 @type int 480 @type int
481 """ 481 """
482 self.__openFile(item) 482 self.__openFile(item)

eric ide

mercurial