Added several actions that were left out while switching to module.
- save copy as - export - copy as c string - copy as raw cpp string
This commit is contained in:
parent
3e4917428d
commit
e5dd27ff1a
3 changed files with 39 additions and 3 deletions
|
|
@ -39,14 +39,11 @@ public:
|
|||
|
||||
void newdoc();
|
||||
bool load(const QString &filename);
|
||||
void saveCopyAs();
|
||||
|
||||
void explain(bool analyze);
|
||||
|
||||
bool canClose() override;
|
||||
|
||||
void copyQueryAsCString();
|
||||
void copyQueryAsRawCppString();
|
||||
void generateCode();
|
||||
void exportData(const QString &filename);
|
||||
|
||||
|
|
@ -57,11 +54,18 @@ public:
|
|||
|
||||
public slots:
|
||||
void execute();
|
||||
/// Save the document under its current name, a file save dialog will be shown if this is a new document
|
||||
bool save();
|
||||
/// Saves the document under a new name and continue editing the document under this new name.
|
||||
bool saveAs();
|
||||
/// Save the document under a new name but continue editing the document under its old name.
|
||||
void saveCopyAs();
|
||||
void copyQueryAsCString();
|
||||
void copyQueryAsRawCppString();
|
||||
void explain();
|
||||
void analyze();
|
||||
void cancel();
|
||||
void exportData();
|
||||
private:
|
||||
|
||||
using ResultTabContainer = std::vector<TuplesResultWidget*>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue