优化-最后一列多增加一个制表符
This commit is contained in:
parent
4bd4ee655d
commit
5227ceaf5c
|
@ -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;
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QTableWidget" name="tableWidget"/>
|
||||
</item>
|
||||
|
@ -46,7 +49,6 @@
|
|||
</widget>
|
||||
<addaction name="menuOpen"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
<action name="actionOpen">
|
||||
<property name="text">
|
||||
<string>打开</string>
|
||||
|
|
Loading…
Reference in New Issue
Block a user