ProjectPyramid/PyramidRoutesDialog.py

branch
eric7
changeset 168
fee59283137b
parent 167
d0f4aa941afe
child 171
4a8bf0845603
equal deleted inserted replaced
167:d0f4aa941afe 168:fee59283137b
75 75
76 def on_buttonBox_clicked(self, button): 76 def on_buttonBox_clicked(self, button):
77 """ 77 """
78 Private slot called by a button of the button box clicked. 78 Private slot called by a button of the button box clicked.
79 79
80 @param button button that was clicked (QAbstractButton) 80 @param button button that was clicked
81 @type QAbstractButton
81 """ 82 """
82 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close): 83 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close):
83 self.close() 84 self.close()
84 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): 85 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel):
85 self.finish() 86 self.finish()

eric ide

mercurial