def setup(self): self.prepare_menu() for act in self.prj_actions: act.setEnabled(True) self.feat = self.backend.proj_feature() t = backend.proj_type().title() + ' Query' self.qry_ui = QueryDialogUi(t, self.feat) self.query_file_list()
def proj_settings_cb(self): proj_args = backend.proj_settings_get() proj_args = ProjectUi.show_settings_ui(backend.proj_type(), proj_args) if proj_args: backend.proj_settings_update(proj_args)