From 1fc1ffcd432ca587b0b286423edfa721fdc376fc Mon Sep 17 00:00:00 2001 From: Sainnhe Park Date: Sun, 31 Mar 2024 11:02:33 +0800 Subject: [PATCH] feat(ft): support kdh and nh --- CHANGELOG.md | 2 ++ README.md | 1 + src/slots/page1.cpp | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e326214..38e17de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ ## [Unreleased] +- 支持 .kdh 和 .nh 文件 + ### Changed - 切换 GitHub Pages 主题,并添加下载按钮。 diff --git a/README.md b/README.md index 579cede..e5c5662 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ 特性: +- [x] 支持 CAJ/KDH/NH 文件格式 - [x] 跨平台 (Windows 7, 8, 10, 11; macOS; Linux) - [x] 支持 32 & 64 位 CPU 架构 - [x] 批量转换 diff --git a/src/slots/page1.cpp b/src/slots/page1.cpp index 7c8b469..5455f8e 100644 --- a/src/slots/page1.cpp +++ b/src/slots/page1.cpp @@ -19,7 +19,7 @@ void CAJ2PDF::handlePage1SelectInputButton() { // 添加新选择的文件 inputFiles += QFileDialog::getOpenFileNames( - this, tr("打开 CAJ 文件"), QDir::homePath(), tr("CAJ 文件 (*.caj)")); + this, tr("打开 CAJ 文件"), QDir::homePath(), tr("CAJ/KDH/NH 文件 (*.caj *.kdh *.nh)")); // 删除重复文件 QVector inputFilesVec = inputFiles.toVector(); std::sort(inputFilesVec.begin(), inputFilesVec.end());