diff --git a/downloadlist.ui b/downloadlist.ui index 10c5584..9274e04 100644 --- a/downloadlist.ui +++ b/downloadlist.ui @@ -103,7 +103,7 @@ - 名称 + Name @@ -186,7 +186,7 @@ - 等待开始下载 + Waiting to download Qt::AlignCenter @@ -237,7 +237,7 @@ - 安装 + Install @@ -256,7 +256,7 @@ - 取消 + Cancel @@ -275,7 +275,7 @@ - 详情 + Info diff --git a/spark-store.pro.user b/spark-store.pro.user new file mode 100644 index 0000000..d37b86b --- /dev/null +++ b/spark-store.pro.user @@ -0,0 +1,326 @@ + + + + + + EnvironmentId + {fbec18d5-0eff-4f51-b839-fdf91314dc72} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + true + false + 0 + true + true + 0 + 8 + true + 1 + true + true + true + false + + + + ProjectExplorer.Project.PluginSettings + + + true + + + + ProjectExplorer.Project.Target.0 + + 桌面 + 桌面 + {ccf49870-890c-4cd1-b393-ff8b20f60cce} + 0 + 0 + 0 + + /home/sy120zx/Desktop/build-spark-store-unknown-Debug + + + true + qmake + + QtProjectManager.QMakeBuildStep + true + + false + false + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + false + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + false + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Debug + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + true + + + /home/sy120zx/Desktop/build-spark-store-unknown-Release + + + true + qmake + + QtProjectManager.QMakeBuildStep + false + + false + false + true + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + false + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + false + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Release + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + + /home/sy120zx/Desktop/build-spark-store-unknown-Profile + + + true + qmake + + QtProjectManager.QMakeBuildStep + true + + false + true + true + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + false + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + false + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Profile + Profile + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + 3 + + + 0 + 部署 + + ProjectExplorer.BuildSteps.Deploy + + 1 + Deploy Configuration + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + false + false + 1000 + + true + + false + false + false + false + true + 0.01 + 10 + true + 1 + 25 + + 1 + true + false + true + valgrind + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + + 2 + + spark-store + + Qt4ProjectManager.Qt4RunConfiguration:/home/sy120zx/Desktop/spark-store/spark-store.pro + spark-store.pro + + 3768 + false + true + true + false + false + true + + /home/sy120zx/Desktop/build-spark-store-unknown-Debug + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 20 + + + Version + 20 + + diff --git a/widget.cpp b/widget.cpp index aa03897..bafde5c 100644 --- a/widget.cpp +++ b/widget.cpp @@ -26,6 +26,7 @@ #include #include #include +#include DWIDGET_USE_NAMESPACE Widget::Widget(DBlurEffectWidget *parent) : @@ -39,20 +40,20 @@ Widget::Widget(DBlurEffectWidget *parent) : m_loadweb=ui->progressload; m_loadweb->show(); - connect(ui->menu_main,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(0);}); - connect(ui->menu_network,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(1);}); - connect(ui->menu_chat,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(2);}); - connect(ui->menu_music,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(3);}); - connect(ui->menu_video,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(4);}); - connect(ui->menu_photo,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(5);}); - connect(ui->menu_game,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(6);}); - connect(ui->menu_office,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(7);}); - connect(ui->menu_read,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(8);}); - connect(ui->menu_dev,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(9);}); - connect(ui->menu_system,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(10);}); - connect(ui->menu_theme,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(11);}); - connect(ui->menu_other,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(12);}); - connect(ui->menu_download,&QPushButton::clicked,[=](){Widget::chooseLeftMenu(13);}); + connect(ui->menu_main,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(0);}); + connect(ui->menu_network,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(1);}); + connect(ui->menu_chat,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(2);}); + connect(ui->menu_music,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(3);}); + connect(ui->menu_video,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(4);}); + connect(ui->menu_photo,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(5);}); + connect(ui->menu_game,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(6);}); + connect(ui->menu_office,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(7);}); + connect(ui->menu_read,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(8);}); + connect(ui->menu_dev,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(9);}); + connect(ui->menu_system,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(10);}); + connect(ui->menu_theme,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(11);}); + connect(ui->menu_other,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(12);}); + connect(ui->menu_download,&DPushButton::clicked,[=](){Widget::chooseLeftMenu(13);}); // connect((ui->titlebar)) // 搜索事件 diff --git a/widget.ui b/widget.ui index b159311..17cc942 100644 --- a/widget.ui +++ b/widget.ui @@ -64,35 +64,35 @@ - 视频播放 + Videos - 下载列表 + Download List - 系统工具 + Tools - 主题美化 + Beautify - 音乐欣赏 + Music @@ -150,14 +150,14 @@ - 编程开发 + Coding - 办公学习 + Office @@ -197,14 +197,14 @@ - 阅读翻译 + Translate - 其他应用 + Others @@ -214,35 +214,35 @@ - 商店首页 + FrontPage - 图形图像 + Images - 游戏娱乐 + Games - 社交沟通 + Chatting - 网络应用 + Network @@ -454,8 +454,8 @@ 0 0 - 470 - 854 + 455 + 849 @@ -894,8 +894,8 @@ 0 0 - 98 - 28 + 421 + 325 @@ -1024,8 +1024,8 @@ 0 0 - 692 - 836 + 687 + 830