src/eric7/DataViews/PyProfileDialog.py

branch
eric7
changeset 10071
a74e32fa4d23
parent 10050
3750abc45d5e
child 10076
649f7ca537ea
equal deleted inserted replaced
10070:9f5758c0fec1 10071:a74e32fa4d23
302 self.cancelled = False 302 self.cancelled = False
303 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled(False) 303 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled(False)
304 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(True) 304 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(True)
305 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setDefault(True) 305 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setDefault(True)
306 306
307 def closeEvent(self, evt):
308 """
309 Public method to handle the close event.
310
311 @param evt reference to the close event
312 @type QCloseEvent
313 """
314 self.cancelled = True
315 # The rest is done by the __populateLists() method.
316
307 def on_buttonBox_clicked(self, button): 317 def on_buttonBox_clicked(self, button):
308 """ 318 """
309 Private slot called by a button of the button box clicked. 319 Private slot called by a button of the button box clicked.
310 320
311 @param button button that was clicked (QAbstractButton) 321 @param button button that was clicked (QAbstractButton)

eric ide

mercurial