diff --git a/debian/changelog b/debian/changelog
index 3f61047..91e82f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-kylin-theme-builder (1.0.0.1-ok1.7) nile; urgency=medium
+kylin-theme-builder (1.0.0.1-ok1.8) nile; urgency=medium
* BUG: I8LFHX/I8LF69/I8L3MI/I8L2J/I8L25C/I8L23U/I8L1ZB/I8L1HT/I8L0QY/I8L0Q8/I8L0PN
* 需求号:无
diff --git a/kylin-theme-builder.pro.user b/kylin-theme-builder.pro.user
new file mode 100644
index 0000000..322c6ab
--- /dev/null
+++ b/kylin-theme-builder.pro.user
@@ -0,0 +1,260 @@
+
+
+
+
+
+ EnvironmentId
+ {555ed999-f640-41a4-be48-5c1db8664450}
+
+
+ ProjectExplorer.Project.ActiveTarget
+ 0
+
+
+ ProjectExplorer.Project.EditorSettings
+
+ true
+ false
+ true
+
+ Cpp
+
+ CppGlobal
+
+
+
+ QmlJS
+
+ QmlJSGlobal
+
+
+ 2
+ UTF-8
+ false
+ 4
+ false
+ 80
+ true
+ true
+ 1
+ false
+ true
+ false
+ 0
+ true
+ true
+ 0
+ 8
+ true
+ false
+ 1
+ true
+ true
+ true
+ *.md, *.MD, Makefile
+ false
+ true
+
+
+
+ ProjectExplorer.Project.PluginSettings
+
+
+ true
+ false
+ true
+ true
+ true
+ true
+
+
+ 0
+ true
+
+ true
+ true
+ Builtin.DefaultTidyAndClazy
+ 6
+
+
+
+ true
+
+
+
+
+ ProjectExplorer.Project.Target.0
+
+ Desktop
+ 桌面
+ 桌面
+ {095bf34e-29d2-428e-94ff-958e02991e74}
+ 0
+ 0
+ 0
+
+ 0
+ /home/openKylin/kwz/build-kylin-theme-builder-unknown-Debug
+ /home/openKylin/kwz/build-kylin-theme-builder-unknown-Debug
+
+
+ true
+ QtProjectManager.QMakeBuildStep
+ false
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+
+ 2
+ Build
+ Build
+ ProjectExplorer.BuildSteps.Build
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+ clean
+
+ 1
+ Clean
+ Clean
+ ProjectExplorer.BuildSteps.Clean
+
+ 2
+ false
+
+ false
+
+ Debug
+ Qt4ProjectManager.Qt4BuildConfiguration
+ 2
+
+
+ /home/openKylin/kwz/build-kylin-theme-builder-unknown-Release
+ /home/openKylin/kwz/build-kylin-theme-builder-unknown-Release
+
+
+ true
+ QtProjectManager.QMakeBuildStep
+ false
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+
+ 2
+ Build
+ Build
+ ProjectExplorer.BuildSteps.Build
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+ clean
+
+ 1
+ Clean
+ Clean
+ ProjectExplorer.BuildSteps.Clean
+
+ 2
+ false
+
+ false
+
+ Release
+ Qt4ProjectManager.Qt4BuildConfiguration
+ 0
+ 0
+
+
+ 0
+ /home/openKylin/kwz/build-kylin-theme-builder-unknown-Profile
+ /home/openKylin/kwz/build-kylin-theme-builder-unknown-Profile
+
+
+ true
+ QtProjectManager.QMakeBuildStep
+ false
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+
+ 2
+ Build
+ Build
+ ProjectExplorer.BuildSteps.Build
+
+
+
+ true
+ Qt4ProjectManager.MakeStep
+ clean
+
+ 1
+ Clean
+ Clean
+ ProjectExplorer.BuildSteps.Clean
+
+ 2
+ false
+
+ false
+
+ Profile
+ Qt4ProjectManager.Qt4BuildConfiguration
+ 0
+ 0
+ 0
+
+ 3
+
+
+ 0
+ Deploy
+ Deploy
+ ProjectExplorer.BuildSteps.Deploy
+
+ 1
+
+ false
+ ProjectExplorer.DefaultDeployConfiguration
+
+ 1
+
+ true
+ true
+ true
+
+ 2
+
+ ProjectExplorer.CustomExecutableRunConfiguration
+
+ false
+ true
+ false
+ true
+
+ 1
+
+
+
+ ProjectExplorer.Project.TargetCount
+ 1
+
+
+ ProjectExplorer.Project.Updater.FileVersion
+ 22
+
+
+ Version
+ 22
+
+
diff --git a/src/maininterface.cpp b/src/maininterface.cpp
index d114bb9..f49b907 100644
--- a/src/maininterface.cpp
+++ b/src/maininterface.cpp
@@ -143,15 +143,17 @@ void MainInterface::init()
m_themestackedwidget->setCurrentIndex(4);
m_grubbtn->setChecked(true);
});
- InfoCreateWidget *info = new InfoCreateWidget(nullptr,"create");
- connect(m_buildbtn,&QPushButton::clicked,info,[=](){
+ connect(m_buildbtn,&QPushButton::clicked,this,[=](){
+ m_info = new InfoCreateWidget(nullptr,"create");
FileProcess getInfo;
- info->getFileInfo(getInfo.FileSearch(FileProcess::g_date));
- info->show();
+ m_info->getFileInfo(getInfo.FileSearch(FileProcess::g_date));
+ m_info->show();
// connect(info,&InfoCreateWidget::readytoBuild,this,&MainInterface::startCopy);
- connect(info,&InfoCreateWidget::gohomesignals,this,[=](){
+ connect(m_info,&InfoCreateWidget::gohomesignals,this,[=](){
//发送返回主界面信号给mainwindow
+ GlobalThemeWidget::g_themeChange = true;
emit gohomesignals();
+ delete m_info;
});
});
// connect()
diff --git a/src/maininterface.h b/src/maininterface.h
index ba004f0..4b97066 100644
--- a/src/maininterface.h
+++ b/src/maininterface.h
@@ -86,6 +86,7 @@ private:
PlymouthThemeWidget *m_plymouththemewidget;
GrubThemeWidget *m_grubthemewidget;
QStackedWidget *m_themestackedwidget;
+ InfoCreateWidget *m_info;
QHBoxLayout *m_layout;
BaseLeftWidget *m_navigationwidget;
diff --git a/src/titlebar.cpp b/src/titlebar.cpp
index 3998d9c..9a81452 100644
--- a/src/titlebar.cpp
+++ b/src/titlebar.cpp
@@ -24,7 +24,7 @@ TitleBar::TitleBar(QWidget *parent) : QWidget(parent)
QPixmap pixmap = scaledIcon.pixmap(QSize(30, 30));
iconlabel->setPixmap(pixmap);
- QLabel *title = new QLabel("主题制作工具");
+ QLabel *title = new QLabel("主题制作工坊");
m_gohomebtn = new QPushButton();
m_gohomebtn->setFixedSize(30,30);
diff --git a/translation/themebuilder_en_US.ts b/translation/themebuilder_en_US.ts
index 2427726..be64d97 100644
--- a/translation/themebuilder_en_US.ts
+++ b/translation/themebuilder_en_US.ts
@@ -12,14 +12,14 @@
CursorThemeWidget
-
-
+
+
-
-
+
+
@@ -31,6 +31,8 @@
+
+
@@ -54,113 +56,123 @@
+
+
+
+
+
+
+
+
+
+
GlobalThemeWidget
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -194,24 +206,24 @@
IconThemeWidget
-
-
+
+
-
-
+
+
-
+
-
+
@@ -284,52 +296,52 @@
MainInterface
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -337,62 +349,62 @@
MainWindow
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -410,12 +422,12 @@
-
+
-
+
@@ -442,27 +454,47 @@
TitleBar
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
diff --git a/translation/themebuilder_zh_CN.qm b/translation/themebuilder_zh_CN.qm
index 2293170..6072cd8 100644
Binary files a/translation/themebuilder_zh_CN.qm and b/translation/themebuilder_zh_CN.qm differ
diff --git a/translation/themebuilder_zh_CN.ts b/translation/themebuilder_zh_CN.ts
index f0baa81..1656429 100644
--- a/translation/themebuilder_zh_CN.ts
+++ b/translation/themebuilder_zh_CN.ts
@@ -6,20 +6,20 @@
-
+ 主题制作工坊
CursorThemeWidget
-
-
+
+
选择SVG文件
-
-
+
+
SVG 文件 (*.svg)
@@ -31,6 +31,8 @@
+
+
错误
@@ -54,113 +56,123 @@
文件大小不能超过5MB
+
+
+
+ 文件大小不能超过5MB {1M?}
+
+
+
+
+ 文件大小不能超过5MB {20K?}
+
GlobalThemeWidget
-
+
全局主题效果图
-
-
+
+
选择图片文件
-
-
+
+
图片文件 (*.png *.jpg)
-
+
桌面壁纸
-
+
窗口外观
-
+
浅色
-
+
深色
-
+
控件圆角
-
+
强调色
-
+
拂晓蓝
-
+
果酱紫
-
+
玫瑰红
-
+
烈日红
-
+
日暮橙
-
+
薄雾金
-
+
极光绿
-
+
窗口透明度
-
+
窗口圆角
-
+
大
-
+
中
-
+
小
@@ -175,7 +187,7 @@
-
+ 图片文件 (*.png)
@@ -198,24 +210,24 @@
IconThemeWidget
-
-
+
+
选择SVG文件
-
-
+
+
SVG 文件 (*.svg)
-
+
APP
-
+
系统设置
@@ -262,7 +274,7 @@
-
+ 请保障输入内容小于15个字节
@@ -282,58 +294,58 @@
-
+ 请保障输入内容小于35个字节
MainInterface
-
+
全局样式
-
+
图标主题
-
+
光标主题
-
+
开机动画
-
+
启动个性化
-
+
开始制作全局主题
-
+
开始制作图标主题
-
+
开始制作光标主题
-
+
开始制作开机动画主题
-
+
开始制作Grub主题
@@ -345,62 +357,62 @@
MainWindow
-
+
主题打包工具
-
+
使用指南
-
+
全局主题
-
+
主题包含窗口与控件基础样式、图标、光标等内容
-
+
图标主题
-
+
图标主题包含系统自带多个应用图标和系统设置首页图标
-
+
光标主题
-
+
光标主题为指针光标图标
-
+
开机动画
-
+
开机动画可以自定义开机界面效果
-
+
GRUB背景
-
+
修改GURB背景壁纸
@@ -422,22 +434,22 @@
-
+ 选择图片文件
-
+ 图片文件
-
+
选择MP4文件
-
+
-
+ MP4文件 (*.mp4)
@@ -450,43 +462,63 @@
-
+ 生成deb包路径
-
+ 修改
-
+ 确认
TitleBar
-
+
+
+ 返回
+
+
+
+
+ 最小化
+
+
+
+
+ 最大化
+
+
+
+
+ 关闭
+
+
+
菜单
-
+
保存路径
-
+
关于
-
+
帮助
-
+
退出
@@ -496,7 +528,7 @@
-
+ 取消