Allow viewing via the EditDialog for executed sql statements (#570)

* Allow viewing via the EditDialog for executed sql statements

Editing is disallowed, becuase we do not know which table the freeform
query operates on

* Fix whitespace

* Don't crash when changing to 'Execute SQL' tab when no database selected

* Add double click action

* A small usability improvement and indentation changes suggested by @MKleusberg
This commit is contained in:
Lars Immisch
2016-04-26 00:16:30 +02:00
committed by Martin Kleusberg
parent 81c62f9585
commit 1192f450fd
4 changed files with 36 additions and 5 deletions

View File

@@ -66,6 +66,12 @@ SqlTextEdit *SqlExecutionArea::getEditor()
return ui->editEditor;
}
ExtendedTableWidget *SqlExecutionArea::getTableResult()
{
return ui->tableResult;
}
QTextEdit* SqlExecutionArea::getResultView()
{
return ui->editErrors;