Move button for saving Execute SQL results to the toolbar

In the Execute SQL tab, move the button for saving the results of a
query as either a CSV file or a view from the bottom of the results view
to the toolbar at the top.

See issue #1122.
This commit is contained in:
Martin Kleusberg
2017-09-10 15:00:31 +02:00
parent b7a00d301a
commit e9d4b3912a
6 changed files with 115 additions and 84 deletions
-3
View File
@@ -6,7 +6,6 @@
class SqlTextEdit;
class SqliteTableModel;
class DBBrowserDB;
class QMenu;
class ExtendedTableWidget;
namespace Ui {
@@ -33,7 +32,6 @@ public:
public slots:
virtual void finishExecution(const QString& result);
virtual void enableSaveButton(bool enable);
virtual void saveAsCsv();
virtual void saveAsView();
virtual void reloadSettings();
@@ -41,7 +39,6 @@ public slots:
private:
DBBrowserDB& db;
SqliteTableModel* model;
QMenu* menuPopupSave;
QString sqlFileName;
Ui::SqlExecutionArea* ui;
};