Skip to content

Commit

Permalink
Release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sainnhe committed Nov 20, 2021
1 parent 444b8d2 commit e25b758
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# Changelog

此项目的所有重大变更将会在这个文档中列出
此项目的所有重要变更都将会在这个文档中列出

## [Unreleased]

## [0.1.1] - 2021-11-20

### Added

- 完成网站。

## [0.1.0] - 2021-11-20

### Added

- 完成初始版本。

[unreleased]: https://github.com/sainnhe/caj2pdf-qt/compare/v0.1.0...HEAD
[unreleased]: https://github.com/sainnhe/caj2pdf-qt/compare/v0.1.1...HEAD
[0.1.1]: https://github.com/sainnhe/caj2pdf-qt/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/sainnhe/caj2pdf-qt/releases/tag/v0.1.0
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

请移步 [GitHub Issues](https://github.com/sainnhe/caj2pdf-qt/issues)

## 重要变更

请移步 [CHANGELOG.md](./CHANGELOG.md)

## 许可

`/caj2pdf``/mupdf` 目录下的源代码请参考对应的项目;
Expand Down
4 changes: 2 additions & 2 deletions src/caj2pdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
CAJ2PDF::CAJ2PDF(QWidget *parent, std::string argv0)
: QDialog(parent)
, ui(new Ui::CAJ2PDF) {
version = "0.1.0";
version = "0.1.1";
ui->setupUi(this);
setWindowFlags(windowFlags() | Qt::WindowContextHelpButtonHint); // 启用窗口右上角的 ?按钮
qApp->installEventFilter(this); // 安装事件
Expand Down Expand Up @@ -183,5 +183,5 @@ bool CAJ2PDF::eventFilter(QObject *object, QEvent *event) {
*
*/
void CAJ2PDF::handleWhatsThisEntry() {
QMessageBox::information(this, tr("关于"), tr(std::string("<h2 align=\"center\">关于本项目</h2><br><p style=\"line-height:150%\">这是一个免费开源的 CAJ 转 PDF 转换器,基于 <a href=\"https://github.com/caj2pdf/caj2pdf\">cajpdf</a> 和 <a href=\"https://mupdf.com/\">mupdf</a> 实现。<br>主页:<a href=\"https://github.com/sainnhe/caj2pdf-qt\">https://github.com/sainnhe/caj2pdf-qt</a><br>作者:<a href=\"mailto:[email protected]\">Sainnhe Park</a><br>许可:GPL3<br>版本:" + version + "</p>").c_str()));
QMessageBox::information(this, tr("关于"), tr(std::string("<h2 align=\"center\">关于本项目</h2><br><p style=\"line-height:150%\">这是一个免费开源的 CAJ 转 PDF 转换器,基于 <a href=\"https://github.com/caj2pdf/caj2pdf\">cajpdf</a> 和 <a href=\"https://mupdf.com/\">mupdf</a> 实现。<br>主页:<a href=\"https://caj2pdf-qt.sainnhe.dev\">https://caj2pdf-qt.sainnhe.dev</a><br>作者:<a href=\"mailto:[email protected]\">Sainnhe Park</a><br>许可:GPL3<br>版本:" + version + "</p>").c_str()));
}

0 comments on commit e25b758

Please sign in to comment.