diff --git a/src/application.cpp b/src/application.cpp index 9aeea14b46d5a4c231900bac17a484c3ac40d91e..6cc09faed96cc1cd03e004a999c62f740497e992 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -14,6 +14,7 @@ #include #include +#include DCORE_USE_NAMESPACE diff --git a/src/mainwindow-dtk.cpp b/src/mainwindow-dtk.cpp index 151a758103c47618a702f4f8c8f4f381f09cd06b..2a88726f45858f455e6627bd208534bf750b3289 100755 --- a/src/mainwindow-dtk.cpp +++ b/src/mainwindow-dtk.cpp @@ -150,6 +150,8 @@ void MainWindow::initTitleBar() searchEdit = new DSearchEdit(ui->titlebar); searchEdit->setPlaceholderText(tr("Search or enter spk://")); + searchEdit->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); + searchEdit->lineEdit()->setFixedWidth(350); downloadButton = new ProgressButton(ui->titlebar); downloadButton->setDownloadListWidget(downloadlistwidget); diff --git a/translations/spark-store_en.ts b/translations/spark-store_en.ts index 2fe4e3193ad9cebcf78a2693bb3d51fc9a73a74e..be1b7819d08d30417da1d3df7d5c05c7947ac666 100644 --- a/translations/spark-store_en.ts +++ b/translations/spark-store_en.ts @@ -268,12 +268,12 @@ DAboutDialog - + Version: %1 - + %1 is released under %2 @@ -480,28 +480,28 @@ - + Submit App - + Submit App with client(Recommanded) - + Settings - + APP Upgrade and Install Settings - + Spark Store @@ -514,19 +514,19 @@ QObject - + Spark Store - + <span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span> - + Spark Project @@ -536,7 +536,7 @@ - + Show MainWindow @@ -658,12 +658,12 @@ TitleBarMenu - + About - + Exit diff --git a/translations/spark-store_es.ts b/translations/spark-store_es.ts index 421c0e3e25538407d8fc07d6add6ea9dda434f3d..616d1e8f2a69226018bfab263d8e3925c1c1dd32 100644 --- a/translations/spark-store_es.ts +++ b/translations/spark-store_es.ts @@ -268,12 +268,12 @@ DAboutDialog - + Version: %1 Versión %1 - + %1 is released under %2 %1 publicado bajo %2 @@ -480,28 +480,28 @@ Actualización de app - + Submit App Presentación de la aplicación - + Submit App with client(Recommanded) Enviar la aplicación al cliente (recomendación) - + Settings Configuración - + APP Upgrade and Install Settings Actualización e instalación de app - + Spark Store SPARK Store @@ -514,19 +514,19 @@ QObject - + Spark Store SPARK Store - + <span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span> <span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span> - + Spark Project Proyecto spark @@ -536,7 +536,7 @@ Descargar lista - + Show MainWindow Mostrar la ventana principal @@ -658,12 +658,12 @@ TitleBarMenu - + About Sobre - + Exit Exportaciones diff --git a/translations/spark-store_fr.ts b/translations/spark-store_fr.ts index 89dd7b89dc58699d5dd77feb13b61dd6a880d279..e8f8a20ff6ebae3d0555704857428fda1a3ee6e8 100644 --- a/translations/spark-store_fr.ts +++ b/translations/spark-store_fr.ts @@ -268,12 +268,12 @@ DAboutDialog - + Version: %1 Version: %1 - + %1 is released under %2 %1 publié sous %2 @@ -480,28 +480,28 @@ Mise à niveau app - + Submit App Soumettre une application - + Submit App with client(Recommanded) Soumettre une demande au client (recommandé) - + Settings Paramètres - + APP Upgrade and Install Settings Paramètres de mise à niveau et d'installation de l'app - + Spark Store Le Spark store @@ -514,19 +514,19 @@ QObject - + Spark Store Le Spark store - + <span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span> <span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span> - + Spark Project Le projet Spark @@ -536,7 +536,7 @@ Télécharger la Liste - + Show MainWindow Afficher la fenêtre principale @@ -658,12 +658,12 @@ TitleBarMenu - + About À propos - + Exit Exportations diff --git a/translations/spark-store_zh_CN.ts b/translations/spark-store_zh_CN.ts index 1601d080f3eaeba6e31bd245e19bc354c709563d..d0d5aebe9a382e54b1797a1cfd8d6dc854e00a93 100644 --- a/translations/spark-store_zh_CN.ts +++ b/translations/spark-store_zh_CN.ts @@ -268,12 +268,12 @@ DAboutDialog - + Version: %1 版本:%1 - + %1 is released under %2 %1遵循%2协议发布 @@ -480,28 +480,28 @@ 更新 - + Submit App 投递应用 - + Submit App with client(Recommanded) 使用本地投稿器投递应用(推荐) - + Settings 设置 - + APP Upgrade and Install Settings 应用更新和安装设置 - + Spark Store 星火应用商店 @@ -514,19 +514,19 @@ QObject - + Spark Store 星火应用商店 - + <span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span> <span style=' font-size:10pt;font-weight:60;'>一款由社区提供的应用商店</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>星火计划开发者</span> - + Spark Project 星火计划 @@ -536,7 +536,7 @@ 下载列表 - + Show MainWindow 显示主窗口 @@ -658,12 +658,12 @@ TitleBarMenu - + About 关于 - + Exit 退出 diff --git a/translations/spark-store_zh_TW.ts b/translations/spark-store_zh_TW.ts index d61447a8b5135adcfea83ba227daeb01a762edb1..aa7e35200c0bb83973eb3c138d9e4803774d7722 100644 --- a/translations/spark-store_zh_TW.ts +++ b/translations/spark-store_zh_TW.ts @@ -268,12 +268,12 @@ DAboutDialog - + Version: %1 版本:%1 - + %1 is released under %2 %1遵循%2协议发布 @@ -480,28 +480,28 @@ 軟體更新 - + Submit App 上傳軟體 - + Submit App with client(Recommanded) 從客戶端上傳軟體(推薦的) - + Settings 設定 - + APP Upgrade and Install Settings 軟體升級 和 安裝設定 - + Spark Store 星火应用商店 @@ -514,19 +514,19 @@ QObject - + Spark Store 星火应用商店 - + <span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span> <span style=' font-size:10pt;font-weight:60;'>一款由社区提供的应用商店</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>星火计划开发者</span> - + Spark Project 星火计划 @@ -536,7 +536,7 @@ 下载列表 - + Show MainWindow 显示主窗口 @@ -658,12 +658,12 @@ TitleBarMenu - + About 关于 - + Exit 退出