SqlExecutionArea: Support exporting result to CSV file

Add a button which allows the user to save the query results to a CSV
file.

Add some basic preparations for saving the result as a view.
This commit is contained in:
Martin Kleusberg
2013-05-06 18:44:58 +02:00
parent e548becda1
commit 9536e7a095
10 changed files with 146 additions and 22 deletions

View File

@@ -675,6 +675,7 @@ void MainWindow::executeQuery()
{
statusMessage = tr("%1 Rows returned from: %2").arg(
sqlWidget->getModel()->totalRowCount()).arg(queryPart);
sqlWidget->enableSaveButton(true);
sql3status = SQLITE_OK;
}
else