From 5227ceaf5c1427340355d5948145f6aefb632a12 Mon Sep 17 00:00:00 2001 From: Crimson Date: Thu, 22 Feb 2024 22:32:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96-=E6=9C=80=E5=90=8E=E4=B8=80?= =?UTF-8?q?=E5=88=97=E5=A4=9A=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=E5=88=B6?= =?UTF-8?q?=E8=A1=A8=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.cpp | 5 +++-- mainwindow.ui | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 5f3d0b5..49c879f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -298,7 +298,7 @@ void MainWindow::onSaveButtonClicked() out << "\t"; // 制表符分隔 } } - + out << "\t"; // 最后一列再加一个制表符,以防万一 out << "\r\n"; // 换行,注意使用\r\n表示换行符 } @@ -344,7 +344,7 @@ void MainWindow::onSaveAsButtonClicked() out << "\t"; // 制表符分隔 } } - + out << "\t"; // 最后一列再加一个制表符,以防万一 out << "\r\n"; // 换行,注意使用\r\n表示换行符 } @@ -597,6 +597,7 @@ void MainWindow::convertSqliteToText() if (i < record.count() - 1) textStream << "\t"; } + textStream << "\t"; textStream << "\r\n"; ++progress; diff --git a/mainwindow.ui b/mainwindow.ui index 201d371..df61365 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -20,6 +20,9 @@ + + 0 + @@ -46,7 +49,6 @@ - 打开