Skip to content Skip to sidebar Skip to footer

Call Function When Press Finish On Qwizard

How can I trigger a function after pressing the finish button on a QWizard? I am using PyQT5. Up until now I have only managed to do so when either Cancel or Finish buttons are pre

Solution 1:

I just found it. The solution was to swap the app.aboutToQuit.connect(self.onFinish) line with self.button(QtWidgets.QWizard.FinishButton).clicked.connect(self.onFinish)


Post a Comment for "Call Function When Press Finish On Qwizard"