154 @pyqtSlot(QAbstractButton) |
154 @pyqtSlot(QAbstractButton) |
155 def on_buttonBox_clicked(self, button): |
155 def on_buttonBox_clicked(self, button): |
156 """ |
156 """ |
157 Private slot called by a button of the button box clicked. |
157 Private slot called by a button of the button box clicked. |
158 |
158 |
159 @param button button that was clicked (QAbstractButton) |
159 @param button button that was clicked |
|
160 @type QAbstractButton |
160 """ |
161 """ |
161 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close): |
162 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close): |
162 self.close() |
163 self.close() |
163 elif button == self.refreshButton: |
164 elif button == self.refreshButton: |
164 self.on_refreshButton_clicked() |
165 self.on_refreshButton_clicked() |