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
|
|
@ -629,3 +629,11 @@ void QueryTool::focusEditor()
|
|||
{
|
||||
ui->queryEdit->setFocus();
|
||||
}
|
||||
|
||||
void QueryTool::exportData()
|
||||
{
|
||||
QString home_dir = QStandardPaths::locate(QStandardPaths::HomeLocation, "", QStandardPaths::LocateDirectory);
|
||||
QString file_name = QFileDialog::getSaveFileName(this,
|
||||
tr("Export data"), home_dir, tr("CSV file (*.csv)"));
|
||||
exportData(file_name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue