I created a standard buttonBox from QtDesigner with Ok, Cancel, Reset.
I successfully connected the Ok and Cancel buttons using,
self.buttonBox.accepted.connect(self.accept)
self.buttonBox.rejected.connect(self.reject)
even defining my own accept function.
So how would I connect the reset button to say function "foo()". I really have no idea. I read the docs about assigning roles and stuff, and its confusing.
Thanks in advance.