def setup_data(self): """Sets up callbacks and initial UI element statuses.""" dlg = self.dlg dlg.cb_export_recompute.setChecked(False) dlg.label_export_farm_workers.setEnabled(False) dlg.dd_export_farm_workers.setEnabled(False) dlg.cb_export_alpha_blend.setChecked(True) dlg.gb_export_farm.setEnabled(True) dlg.btn_export_data_download_meshes.setEnabled(self.parent.is_aws) callbacks = { dlg.cb_export_recompute: self.on_state_changed_recompute, dlg.btn_export_data_smr_view: (lambda: self.activate_ipc(config.DOCKER_SMR_ONSCREEN_IPC)), dlg.btn_export_data_rift_view: (lambda: self.activate_ipc(config.DOCKER_RIFT_VIEWER_IPC)), dlg.cb_export_alpha_blend: self.on_state_changed_alpha_blend, dlg.btn_export_farm_terminate_cluster: self.on_terminate_cluster, dlg.btn_export_farm_ec2_dashboard: self.on_ec2_dashboard, dlg.btn_export_data_download_meshes: self.on_download_meshes, dlg.gb_export_farm: self.on_state_changed_farm, } common.setup_data(self, callbacks)
def setup_data(self): """Sets up callbacks and initial UI element statuses.""" callbacks = {} dlg = self.dlg dlg.cb_bg_options_partial_360.setChecked(False) dlg.cb_bg_recompute.setChecked(False) callbacks = { dlg.cb_bg_options_partial_360: self.on_state_changed_partial_360, dlg.cb_bg_recompute: self.on_state_changed_recompute, } common.setup_data(self, callbacks)
def setup_data(self): """Sets up callbacks and initial UI element statuses.""" callbacks = {} dlg = self.dlg dlg.cb_depth_options_partial_360.setChecked(False) dlg.cb_depth_recompute.setChecked(False) dlg.cb_depth_options_use_bg.setChecked(True) dlg.label_depth_farm_workers.setEnabled(False) dlg.dd_depth_farm_workers.setEnabled(False) dlg.gb_depth_farm.setEnabled(True) callbacks = { dlg.cb_depth_options_partial_360: self.on_state_changed_partial_360, dlg.cb_depth_recompute: self.on_state_changed_recompute, dlg.cb_depth_options_use_bg: self.on_state_changed_use_bg, dlg.btn_depth_farm_terminate_cluster: self.on_terminate_cluster, dlg.btn_depth_farm_ec2_dashboard: self.on_ec2_dashboard, dlg.gb_depth_farm: self.on_state_changed_farm, } common.setup_data(self, callbacks)
def setup_data(self): """Sets up callbacks and initial UI element statuses.""" common.setup_data(self)