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): |
|
305 """ |
|
306 Public method to handle the close event. |
|
307 |
|
308 @param evt reference to the close event |
|
309 @type QCloseEvent |
|
310 """ |
|
311 self.cancelled = True |
|
312 # The rest is done by the start() method. |
|
313 |
304 def on_buttonBox_clicked(self, button): |
314 def on_buttonBox_clicked(self, button): |
305 """ |
315 """ |
306 Private slot called by a button of the button box clicked. |
316 Private slot called by a button of the button box clicked. |
307 |
317 |
308 @param button button that was clicked |
318 @param button button that was clicked |