Esempio n. 1
0
    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()
Esempio n. 2
0
    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()