def preferences_save(self): petgfilehandling.write_xml_config(self) petgfunctions.tool_check(self)
def quit_application(self): #petgfunctions.remove_workspace(self) petgfilehandling.write_xml_config(self) self.close()