This is how the other buttons were mapped also I guess. The Save All AOVs button does something similar. It creates a signal, which then mapped to a slot in the MainWindow.