def report_sql(self): """ Run SQL statements on database. """ ui = DialogSQL(self.app, self.ui.textEdit) self.dialogList.append(ui) ui.show() self.clean_dialog_refs()
def report_sql(self): ''' Run SQL statements on database. non-modal. ''' ui = DialogSQL(self.settings, self.ui.textEdit) self.dialogList.append(ui) ui.show() self.clean_dialog_refs()