diff --git a/res/txt/about.txt b/res/txt/about.txt index 781d551..821d01e 100644 --- a/res/txt/about.txt +++ b/res/txt/about.txt @@ -1,16 +1,17 @@ -# 作者申明 -本软件仅供学习和研究,软件内置数据仅限于测试
-开发者不对本软件所造成的计算机软件侵权法律问题承担任何法律责任
-禁止本软件源码和软件用于任何商业用途
-禁止任何人恶意举报本软件
-禁止任何人恶意盗窃本软件测试数据
+#### 作者申明 +**本软件仅供学习和研究,软件内置数据仅限于测试**
+**开发者不对本软件所造成的计算机软件侵权法律问题承担任何法律责任**
+**禁止本软件源码和软件用于任何商业用途**
+**禁止任何人恶意举报本软件**
+**禁止任何人恶意盗窃本软件测试数据**
-# 鸣谢列表 -皓月代码托管平台
- -# About XSteam -software name:XSteam
-builder:JackLee_CN
-github:vek-zvo
-src github(don't open)
- + +#### 鸣谢列表 +**皓月代码托管平台**
+ + +#### About XSteam +**software name:XSteam**
+**builder:JackLee_CN**
+**github:vek-zvo**
+**src github(don't open)**
diff --git a/src/xsteam_about_ui.cpp b/src/xsteam_about_ui.cpp index 001d1e6..91e4ede 100644 --- a/src/xsteam_about_ui.cpp +++ b/src/xsteam_about_ui.cpp @@ -35,12 +35,12 @@ void xsteam_about_ui::load_about() QByteArray line = file.readLine(); strs.append(QString::fromStdString(line.data())); } - strs.append("# "+QString::fromStdString("编译环境")+"
"); - strs.append("qt_version:"+QString::fromStdString(QT_VERSION_STR)+"
"); - strs.append("gcc_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"
"); - strs.append("g++_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"
"); - strs.append("libcurl_version:"+QString::fromStdString(LIBCURL_VERSION_STR)+"
"); - strs.append("libgit2_version:"+QString::fromStdString(LIBGIT2_VERSION_STR)+"
"); + strs.append("#### "+QString::fromStdString("编译环境")+"
"); + strs.append("**qt_version:"+QString::fromStdString(QT_VERSION_STR)+"**
"); + strs.append("**gcc_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"**
"); + strs.append("**g++_version:"+QString::fromStdString(GCC_GXX_VERSION_STR)+"**
"); + strs.append("**libcurl_version:"+QString::fromStdString(LIBCURL_VERSION_STR)+"**
"); + strs.append("**libgit2_version:"+QString::fromStdString(LIBGIT2_VERSION_STR)+"**
"); info->setMarkdown(strs); } } \ No newline at end of file diff --git a/src/xsteam_src_edit_ui.cpp b/src/xsteam_src_edit_ui.cpp index 437629c..4faf264 100644 --- a/src/xsteam_src_edit_ui.cpp +++ b/src/xsteam_src_edit_ui.cpp @@ -218,7 +218,9 @@ void xsteam_src_edit_ui::slots_save_done() } load_src_data_view(_data.s_data); xsteam_save_data_write(); + xsteam_msg_tip(nullptr, "保存成功"); emit signals_update(); + this->close(); } void xsteam_src_edit_ui::slots_update_src_data() { diff --git a/src/xsteam_ui.cpp b/src/xsteam_ui.cpp index 71e9dd3..29fbd26 100644 --- a/src/xsteam_ui.cpp +++ b/src/xsteam_ui.cpp @@ -501,7 +501,7 @@ void xsteam_ui::slots_open_server_edit() void xsteam_ui::slots_open_update() { xs_update_ui = xsteam_update_ui::Instance(); - xs_update_ui->setMaximumSize(width(), height()); + xs_update_ui->setMaximumSize(width()/2, height()); xs_update_ui->setGeometry(geometry()); xs_update_ui->title()->set_font_style(); xs_update_ui->exec(); @@ -517,7 +517,7 @@ void xsteam_ui::slots_open_setting() void xsteam_ui::slots_open_about() { xs_about_ui = xsteam_about_ui::Instance(); - xs_about_ui->setMaximumSize(width(), height()); + xs_about_ui->setMaximumSize(width()/2, height()); xs_about_ui->setGeometry(geometry()); xs_about_ui->title()->set_font_style(); xs_about_ui->exec();