Merge remote-tracking branch 'src/table' into upstream

This commit is contained in:
huheng@kylinos.cn 2022-10-10 10:52:01 +08:00
commit 40739c8829
18 changed files with 1728 additions and 1595 deletions

View File

@ -78,7 +78,7 @@
<message>
<location filename="../ui/storagelist/copytocomputerbuttonwidget.cpp" line="45"/>
<source>Choose folder</source>
<translation></translation>
<translation>Choose folder</translation>
</message>
</context>
<context>
@ -109,7 +109,7 @@
<message>
<location filename="../ui/manager/devicetypewidget.cpp" line="17"/>
<source>hare file data with your mobile phone and display the screen window on the same screen</source>
<translation></translation>
<translation>hare file data with your mobile phone and display the screen window on the same screen</translation>
</message>
<message>
<location filename="../ui/manager/devicetypewidget.cpp" line="25"/>
@ -119,7 +119,7 @@
<message>
<location filename="../ui/manager/devicetypewidget.cpp" line="27"/>
<source>Flexibly drag and drop files, share screens, and work efficiently</source>
<translation></translation>
<translation>Flexibly drag and drop files, share screens, and work efficiently</translation>
</message>
</context>
<context>
@ -132,7 +132,7 @@
<message>
<location filename="../ui/view/homepage.cpp" line="45"/>
<source>Cross equipment and cross system collaboration. It is more convenient to share resources and screens, and more convenient and efficient to work!</source>
<translation></translation>
<translation>Cross equipment and cross system collaboration. It is more convenient to share resources and screens, and more convenient and efficient to work!</translation>
</message>
<message>
<location filename="../ui/view/homepage.cpp" line="52"/>
@ -152,7 +152,7 @@
<message>
<location filename="../ui/view/homepage.cpp" line="71"/>
<source>Cross</source>
<translation></translation>
<translation>Cross</translation>
</message>
<message>
<location filename="../ui/view/homepage.cpp" line="74"/>
@ -169,305 +169,305 @@
<name>MainWindow</name>
<message>
<location filename="../ui/mainwindow.cpp" line="341"/>
<location filename="../ui/mainwindow.cpp" line="944"/>
<location filename="../ui/mainwindow.cpp" line="967"/>
<source>kylin-connectivity</source>
<translation>kylin-connectivity</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="406"/>
<location filename="../ui/mainwindow.cpp" line="410"/>
<source>Agreed to connect</source>
<translation>Agreed to connect</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="408"/>
<location filename="../ui/mainwindow.cpp" line="412"/>
<source>Peer has agreed</source>
<translation>Peer has agreed</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="410"/>
<location filename="../ui/mainwindow.cpp" line="414"/>
<source>Establishing connection, please wait...</source>
<translation>Establishing connection, please wait...</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="414"/>
<location filename="../ui/mainwindow.cpp" line="418"/>
<source>CANCEL</source>
<translation>CANCEL</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="433"/>
<location filename="../ui/mainwindow.cpp" line="437"/>
<source>USB connection device succeeded!</source>
<translation>USB connection device succeeded!</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="435"/>
<location filename="../ui/mainwindow.cpp" line="439"/>
<source>If you need to input Chinese on the mobile phone screen on the computer, please download the extension tool in the personal information input method on the mobile phone.</source>
<translation>If you need to input Chinese on the mobile phone screen on the computer, please download the extension tool in the personal information input method on the mobile phone.</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="565"/>
<location filename="../ui/mainwindow.cpp" line="570"/>
<source>Not currently connected, please connect</source>
<translation>Not currently connected, please connect</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="633"/>
<location filename="../ui/mainwindow.cpp" line="927"/>
<location filename="../ui/mainwindow.cpp" line="1473"/>
<location filename="../ui/mainwindow.cpp" line="639"/>
<location filename="../ui/mainwindow.cpp" line="949"/>
<location filename="../ui/mainwindow.cpp" line="1508"/>
<source>file download failed</source>
<translation>file download failed</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="677"/>
<location filename="../ui/mainwindow.cpp" line="683"/>
<source>Connection request received from&quot;</source>
<translation>Connection request received from&quot;</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="677"/>
<location filename="../ui/mainwindow.cpp" line="970"/>
<location filename="../ui/mainwindow.cpp" line="683"/>
<location filename="../ui/mainwindow.cpp" line="993"/>
<source>&quot;</source>
<translation>&quot;</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="678"/>
<location filename="../ui/mainwindow.cpp" line="684"/>
<source>After consent, the other party can view and download all the files on the device, and can share the other party&apos;s desktop to this screen.</source>
<translation>After consent, the other party can view and download all the files on the device, and can share the other party&apos;s desktop to this screen.</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="683"/>
<location filename="../ui/mainwindow.cpp" line="976"/>
<location filename="../ui/mainwindow.cpp" line="689"/>
<location filename="../ui/mainwindow.cpp" line="999"/>
<source>NO</source>
<translation>NO</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="684"/>
<location filename="../ui/mainwindow.cpp" line="975"/>
<location filename="../ui/mainwindow.cpp" line="690"/>
<location filename="../ui/mainwindow.cpp" line="998"/>
<source>YES</source>
<translation>YES</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="699"/>
<location filename="../ui/mainwindow.cpp" line="991"/>
<location filename="../ui/mainwindow.cpp" line="705"/>
<location filename="../ui/mainwindow.cpp" line="1014"/>
<source>The other party has refused your screen projection request!</source>
<translation>The other party has refused your screen projection request!</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="700"/>
<location filename="../ui/mainwindow.cpp" line="992"/>
<location filename="../ui/mainwindow.cpp" line="706"/>
<location filename="../ui/mainwindow.cpp" line="1015"/>
<source>Failed to cast the screen. Please contact the other party and try again.</source>
<translation>Failed to cast the screen. Please contact the other party and try again.</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="704"/>
<location filename="../ui/mainwindow.cpp" line="710"/>
<source>RECONNECT</source>
<translation>RECONNECT</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="705"/>
<location filename="../ui/mainwindow.cpp" line="1051"/>
<location filename="../ui/mainwindow.cpp" line="711"/>
<location filename="../ui/mainwindow.cpp" line="1074"/>
<source>CLOSE</source>
<translation>CLOSE</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="783"/>
<location filename="../ui/mainwindow.cpp" line="793"/>
<source>Please install kylin-assistant on the Android terminal!</source>
<translation>Please install kylin-assistant on the Android terminal!</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="791"/>
<location filename="../ui/mainwindow.cpp" line="801"/>
<source>Connection error</source>
<translation>Connection error</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="795"/>
<location filename="../ui/mainwindow.cpp" line="805"/>
<source>Connection timed out</source>
<translation>Connection timed out</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="934"/>
<location filename="../ui/mainwindow.cpp" line="956"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="934"/>
<location filename="../ui/mainwindow.cpp" line="956"/>
<source>Peony access can be error-prone</source>
<translation>Peony access can be error-prone</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="936"/>
<location filename="../ui/mainwindow.cpp" line="958"/>
<source>Umount failed</source>
<translation>Umount failed</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="945"/>
<location filename="../ui/mainwindow.cpp" line="967"/>
<source>Version:</source>
<translation>Version:</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="947"/>
<location filename="../ui/mainwindow.cpp" line="970"/>
<source>Mobile Assistant is an interconnection tool of Android device and Kirin operating system, which supports Android file synchronization, file transfer, screen mirroring and other functions, which is simple and fast to operate</source>
<translation>Mobile Assistant is an interconnection tool of Android device and Kirin operating system, which supports Android file synchronization, file transfer, screen mirroring and other functions, which is simple and fast to operate</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="970"/>
<location filename="../ui/mainwindow.cpp" line="992"/>
<source>Received screen projection request from &quot;</source>
<translation>Received screen projection request from &quot;</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="971"/>
<location filename="../ui/mainwindow.cpp" line="994"/>
<source>After consent, the other party can share the device desktop to this screen.</source>
<translation>After consent, the other party can share the device desktop to this screen.</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="996"/>
<location filename="../ui/mainwindow.cpp" line="1019"/>
<source>Again</source>
<translation>Again</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="997"/>
<location filename="../ui/mainwindow.cpp" line="1020"/>
<source>Close</source>
<translation>Close</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1009"/>
<location filename="../ui/mainwindow.cpp" line="1032"/>
<source>The other party agreed to your screen projection request!</source>
<translation>The other party agreed to your screen projection request!</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1010"/>
<location filename="../ui/mainwindow.cpp" line="1033"/>
<source>The screen is being cast, please wait...</source>
<translation>The screen is being cast, please wait...</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1035"/>
<location filename="../ui/mainwindow.cpp" line="1059"/>
<location filename="../ui/mainwindow.cpp" line="1058"/>
<location filename="../ui/mainwindow.cpp" line="1082"/>
<source>End of screen projection</source>
<translation>End of screen projection</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1036"/>
<location filename="../ui/mainwindow.cpp" line="1060"/>
<location filename="../ui/mainwindow.cpp" line="1059"/>
<location filename="../ui/mainwindow.cpp" line="1083"/>
<source>The other party has finished the screen projection function.</source>
<translation>The other party has finished the screen projection function.</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1671"/>
<location filename="../ui/mainwindow.cpp" line="1674"/>
<source>The screen projection request has been sent to the connected device. Please click [Agree] in the opposite pop-up window</source>
<translation>The screen projection request has been sent to the connected device. Please click [Agree] in the opposite pop-up window</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="440"/>
<location filename="../ui/mainwindow.cpp" line="1014"/>
<location filename="../ui/mainwindow.cpp" line="1040"/>
<location filename="../ui/mainwindow.cpp" line="1064"/>
<location filename="../ui/mainwindow.cpp" line="1660"/>
<location filename="../ui/mainwindow.cpp" line="1676"/>
<location filename="../ui/mainwindow.cpp" line="444"/>
<location filename="../ui/mainwindow.cpp" line="1037"/>
<location filename="../ui/mainwindow.cpp" line="1063"/>
<location filename="../ui/mainwindow.cpp" line="1087"/>
<location filename="../ui/mainwindow.cpp" line="1662"/>
<location filename="../ui/mainwindow.cpp" line="1679"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1045"/>
<location filename="../ui/mainwindow.cpp" line="1068"/>
<source>Screen projection loading error</source>
<translation>Screen projection loading error</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1047"/>
<location filename="../ui/mainwindow.cpp" line="1070"/>
<source>Please check whether to install the projection expansion package [kylin connectivity tools]</source>
<translation>Please check whether to install the projection expansion package [kylin connectivity tools]</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1154"/>
<location filename="../ui/mainwindow.cpp" line="1178"/>
<source>QQPicture</source>
<translation>QQPicture</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1157"/>
<location filename="../ui/mainwindow.cpp" line="1181"/>
<source>QQVideo</source>
<translation>QQVideo</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1160"/>
<location filename="../ui/mainwindow.cpp" line="1184"/>
<source>QQMusic</source>
<translation>QQMusic</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1163"/>
<location filename="../ui/mainwindow.cpp" line="1187"/>
<source>QQDocument</source>
<translation>QQDocument</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1166"/>
<location filename="../ui/mainwindow.cpp" line="1190"/>
<source>WeChatPicture</source>
<translation>WeChatPicture</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1169"/>
<location filename="../ui/mainwindow.cpp" line="1193"/>
<source>WeChatVideo</source>
<translation>WeChatVideo</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1172"/>
<location filename="../ui/mainwindow.cpp" line="1196"/>
<source>WeChatMusic</source>
<translation></translation>
<translation>WeChatMusic</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1175"/>
<location filename="../ui/mainwindow.cpp" line="1199"/>
<source>WeChatDocument</source>
<translation>WeChatDocument</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1178"/>
<location filename="../ui/mainwindow.cpp" line="1391"/>
<location filename="../ui/mainwindow.cpp" line="1202"/>
<location filename="../ui/mainwindow.cpp" line="1426"/>
<source>Picture</source>
<translation>Picture</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1181"/>
<location filename="../ui/mainwindow.cpp" line="1393"/>
<location filename="../ui/mainwindow.cpp" line="1205"/>
<location filename="../ui/mainwindow.cpp" line="1428"/>
<source>Video</source>
<translation></translation>
<translation>Video</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1184"/>
<location filename="../ui/mainwindow.cpp" line="1395"/>
<location filename="../ui/mainwindow.cpp" line="1208"/>
<location filename="../ui/mainwindow.cpp" line="1430"/>
<source>Music</source>
<translation>Music</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1187"/>
<location filename="../ui/mainwindow.cpp" line="1397"/>
<location filename="../ui/mainwindow.cpp" line="1211"/>
<location filename="../ui/mainwindow.cpp" line="1432"/>
<source>Document</source>
<translation>Document</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1190"/>
<location filename="../ui/mainwindow.cpp" line="1399"/>
<location filename="../ui/mainwindow.cpp" line="1214"/>
<location filename="../ui/mainwindow.cpp" line="1434"/>
<source>WeChat</source>
<translation>WeChat</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1193"/>
<location filename="../ui/mainwindow.cpp" line="1401"/>
<location filename="../ui/mainwindow.cpp" line="1217"/>
<location filename="../ui/mainwindow.cpp" line="1436"/>
<source>QQ</source>
<translation>QQ</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1429"/>
<location filename="../ui/mainwindow.cpp" line="1440"/>
<location filename="../ui/mainwindow.cpp" line="1464"/>
<location filename="../ui/mainwindow.cpp" line="1475"/>
<source>Uploaded to</source>
<translation>Uploaded to</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1479"/>
<location filename="../ui/mainwindow.cpp" line="1514"/>
<source>Downloaded to</source>
<translation>Downloaded to</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1654"/>
<location filename="../ui/mainwindow.cpp" line="1670"/>
<location filename="../ui/mainwindow.cpp" line="1656"/>
<location filename="../ui/mainwindow.cpp" line="1672"/>
<source>Request sent successfully!</source>
<translation>Request sent successfully!</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1655"/>
<location filename="../ui/mainwindow.cpp" line="1657"/>
<source>The connection request has been sent to the selected device. Please click [YES] in the opposite pop-up window</source>
<translation>The connection request has been sent to the selected device. Please click [YES] in the opposite pop-up window</translation>
</message>
@ -540,7 +540,7 @@
<message>
<location filename="../ui/manager/mobiledevicewidget.cpp" line="57"/>
<source>Copy the screen to the receiving end</source>
<translation></translation>
<translation>Copy the screen to the receiving end</translation>
</message>
<message>
<location filename="../ui/manager/mobiledevicewidget.cpp" line="63"/>
@ -566,42 +566,42 @@
<translation>Mobile storage</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="146"/>
<location filename="../ui/view/mobilefilelist.cpp" line="145"/>
<source>Picture</source>
<translation>Picture</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="150"/>
<location filename="../ui/view/mobilefilelist.cpp" line="149"/>
<source>Video</source>
<translation>Video</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="154"/>
<location filename="../ui/view/mobilefilelist.cpp" line="153"/>
<source>Music</source>
<translation>Music</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="158"/>
<location filename="../ui/view/mobilefilelist.cpp" line="157"/>
<source>Document</source>
<translation>Document</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="162"/>
<location filename="../ui/view/mobilefilelist.cpp" line="161"/>
<source>WeChat</source>
<translation></translation>
<translation>WeChat</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="166"/>
<location filename="../ui/view/mobilefilelist.cpp" line="165"/>
<source>QQ</source>
<translation>QQ</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="177"/>
<location filename="../ui/view/mobilefilelist.cpp" line="176"/>
<source>Mobile</source>
<translation></translation>
<translation>Mobile</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="178"/>
<location filename="../ui/view/mobilefilelist.cpp" line="177"/>
<source>All File</source>
<translation>All File</translation>
</message>
@ -611,7 +611,7 @@
<message>
<location filename="../ui/view/mobilefilelistitem.cpp" line="77"/>
<source>items</source>
<translation></translation>
<translation>items</translation>
</message>
</context>
<context>
@ -638,7 +638,7 @@
<message>
<location filename="../ui/classificationlist/mobilefilesecondwidget.cpp" line="76"/>
<source>QQ</source>
<translation></translation>
<translation>QQ</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilesecondwidget.cpp" line="84"/>
@ -649,7 +649,7 @@
<message>
<location filename="../ui/classificationlist/mobilefilesecondwidget.cpp" line="92"/>
<source>Refresh</source>
<translation></translation>
<translation>Refresh</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilesecondwidget.cpp" line="189"/>
@ -674,102 +674,102 @@
<message>
<location filename="../ui/classificationlist/mobilefilesecondwidget.cpp" line="236"/>
<source>Document</source>
<translation></translation>
<translation>Document</translation>
</message>
</context>
<context>
<name>MobileFileWidget</name>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="49"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="397"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="48"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="396"/>
<source>Icon Mode</source>
<translation>Icon Mode</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="53"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="177"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="403"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="52"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="176"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="402"/>
<source>List Mode</source>
<translation>List Mode</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="91"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="297"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="90"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="296"/>
<source>Mobile file list</source>
<translation>Mobile file list</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="96"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="99"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="102"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="105"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="135"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="139"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="264"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="266"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="268"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="270"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="290"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="95"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="98"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="101"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="104"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="134"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="138"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="263"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="265"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="267"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="269"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="289"/>
<source>QQ</source>
<translation>QQ</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="96"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="108"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="120"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="264"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="272"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="280"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="95"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="107"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="119"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="263"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="271"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="279"/>
<source>Picture</source>
<translation>Picture</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="99"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="111"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="123"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="266"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="274"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="282"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="98"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="110"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="122"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="265"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="273"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="281"/>
<source>Video</source>
<translation>Video</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="102"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="114"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="126"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="268"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="276"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="284"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="101"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="113"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="125"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="267"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="275"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="283"/>
<source>Music</source>
<translation>Music</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="105"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="117"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="129"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="270"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="278"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="286"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="104"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="116"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="128"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="269"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="277"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="285"/>
<source>Document</source>
<translation>Document</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="108"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="111"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="114"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="117"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="132"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="139"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="272"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="274"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="276"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="278"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="288"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="107"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="110"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="113"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="116"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="131"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="138"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="271"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="273"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="275"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="277"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="287"/>
<source>WeChat</source>
<translation>WeChat</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="185"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="184"/>
<source>Refresh</source>
<translation>Refresh</translation>
</message>
@ -904,7 +904,12 @@
<context>
<name>SearchDeviceWin</name>
<message>
<location filename="../ui/connectinterface/searchdevicewin.cpp" line="149"/>
<location filename="../ui/connectinterface/searchdevicewin.cpp" line="49"/>
<source>Searching for nearby available devices...</source>
<translation>Searching for nearby available devices...</translation>
</message>
<message>
<location filename="../ui/connectinterface/searchdevicewin.cpp" line="148"/>
<source>Search</source>
<translation>Search</translation>
</message>
@ -942,7 +947,7 @@
<message>
<location filename="../ui/manager/tabletdevicewidget.cpp" line="26"/>
<source>No connect tablet</source>
<translation></translation>
<translation>No connect tablet</translation>
</message>
<message>
<location filename="../ui/manager/tabletdevicewidget.cpp" line="29"/>
@ -973,15 +978,15 @@
<context>
<name>TimeLineView</name>
<message>
<location filename="../ui/classificationlist/timelineview.cpp" line="305"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="330"/>
<source>%1/%2/%3</source>
<translation>%1/%2/%3</translation>
</message>
<message>
<location filename="../ui/classificationlist/timelineview.cpp" line="1209"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="1232"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="1234"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="1257"/>
<source>No file</source>
<translation></translation>
<translation>No file</translation>
</message>
</context>
<context>
@ -1035,7 +1040,7 @@
<message>
<location filename="../ui/view/transmissiondialog.cpp" line="16"/>
<source>Current progress</source>
<translation></translation>
<translation>Current progress</translation>
</message>
</context>
<context>
@ -1086,7 +1091,7 @@
<message>
<location filename="../projection/uibase/videotitle.cpp" line="123"/>
<source>Quit</source>
<translation></translation>
<translation>Quit</translation>
</message>
<message>
<location filename="../projection/uibase/videotitle.cpp" line="160"/>

View File

@ -169,305 +169,305 @@
<name>MainWindow</name>
<message>
<location filename="../ui/mainwindow.cpp" line="341"/>
<location filename="../ui/mainwindow.cpp" line="944"/>
<location filename="../ui/mainwindow.cpp" line="967"/>
<source>kylin-connectivity</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="406"/>
<location filename="../ui/mainwindow.cpp" line="410"/>
<source>Agreed to connect</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="408"/>
<location filename="../ui/mainwindow.cpp" line="412"/>
<source>Peer has agreed</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="410"/>
<location filename="../ui/mainwindow.cpp" line="414"/>
<source>Establishing connection, please wait...</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="414"/>
<location filename="../ui/mainwindow.cpp" line="418"/>
<source>CANCEL</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="433"/>
<location filename="../ui/mainwindow.cpp" line="437"/>
<source>USB connection device succeeded!</source>
<translation>USB连接设备成功</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="435"/>
<location filename="../ui/mainwindow.cpp" line="439"/>
<source>If you need to input Chinese on the mobile phone screen on the computer, please download the extension tool in the personal information input method on the mobile phone.</source>
<translation>-</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="565"/>
<location filename="../ui/mainwindow.cpp" line="570"/>
<source>Not currently connected, please connect</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="633"/>
<location filename="../ui/mainwindow.cpp" line="927"/>
<location filename="../ui/mainwindow.cpp" line="1473"/>
<location filename="../ui/mainwindow.cpp" line="639"/>
<location filename="../ui/mainwindow.cpp" line="949"/>
<location filename="../ui/mainwindow.cpp" line="1508"/>
<source>file download failed</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="677"/>
<location filename="../ui/mainwindow.cpp" line="683"/>
<source>Connection request received from&quot;</source>
<translation> &quot;</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="677"/>
<location filename="../ui/mainwindow.cpp" line="970"/>
<location filename="../ui/mainwindow.cpp" line="683"/>
<location filename="../ui/mainwindow.cpp" line="993"/>
<source>&quot;</source>
<translation>&quot; </translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="678"/>
<location filename="../ui/mainwindow.cpp" line="684"/>
<source>After consent, the other party can view and download all the files on the device, and can share the other party&apos;s desktop to this screen.</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="683"/>
<location filename="../ui/mainwindow.cpp" line="976"/>
<location filename="../ui/mainwindow.cpp" line="689"/>
<location filename="../ui/mainwindow.cpp" line="999"/>
<source>NO</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="684"/>
<location filename="../ui/mainwindow.cpp" line="975"/>
<location filename="../ui/mainwindow.cpp" line="690"/>
<location filename="../ui/mainwindow.cpp" line="998"/>
<source>YES</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="699"/>
<location filename="../ui/mainwindow.cpp" line="991"/>
<location filename="../ui/mainwindow.cpp" line="705"/>
<location filename="../ui/mainwindow.cpp" line="1014"/>
<source>The other party has refused your screen projection request!</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="700"/>
<location filename="../ui/mainwindow.cpp" line="992"/>
<location filename="../ui/mainwindow.cpp" line="706"/>
<location filename="../ui/mainwindow.cpp" line="1015"/>
<source>Failed to cast the screen. Please contact the other party and try again.</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="704"/>
<location filename="../ui/mainwindow.cpp" line="710"/>
<source>RECONNECT</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="705"/>
<location filename="../ui/mainwindow.cpp" line="1051"/>
<location filename="../ui/mainwindow.cpp" line="711"/>
<location filename="../ui/mainwindow.cpp" line="1074"/>
<source>CLOSE</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="783"/>
<location filename="../ui/mainwindow.cpp" line="793"/>
<source>Please install kylin-assistant on the Android terminal!</source>
<translation>app</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="791"/>
<location filename="../ui/mainwindow.cpp" line="801"/>
<source>Connection error</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="795"/>
<location filename="../ui/mainwindow.cpp" line="805"/>
<source>Connection timed out</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="934"/>
<location filename="../ui/mainwindow.cpp" line="956"/>
<source>Warning</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="934"/>
<location filename="../ui/mainwindow.cpp" line="956"/>
<source>Peony access can be error-prone</source>
<translation>访</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="936"/>
<location filename="../ui/mainwindow.cpp" line="958"/>
<source>Umount failed</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="945"/>
<location filename="../ui/mainwindow.cpp" line="967"/>
<source>Version:</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="947"/>
<location filename="../ui/mainwindow.cpp" line="970"/>
<source>Mobile Assistant is an interconnection tool of Android device and Kirin operating system, which supports Android file synchronization, file transfer, screen mirroring and other functions, which is simple and fast to operate</source>
<translation>Android文件同步</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="970"/>
<location filename="../ui/mainwindow.cpp" line="992"/>
<source>Received screen projection request from &quot;</source>
<translation> &quot;</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="971"/>
<location filename="../ui/mainwindow.cpp" line="994"/>
<source>After consent, the other party can share the device desktop to this screen.</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="996"/>
<location filename="../ui/mainwindow.cpp" line="1019"/>
<source>Again</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="997"/>
<location filename="../ui/mainwindow.cpp" line="1020"/>
<source>Close</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1009"/>
<location filename="../ui/mainwindow.cpp" line="1032"/>
<source>The other party agreed to your screen projection request!</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1010"/>
<location filename="../ui/mainwindow.cpp" line="1033"/>
<source>The screen is being cast, please wait...</source>
<translation>...</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1035"/>
<location filename="../ui/mainwindow.cpp" line="1059"/>
<location filename="../ui/mainwindow.cpp" line="1058"/>
<location filename="../ui/mainwindow.cpp" line="1082"/>
<source>End of screen projection</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1036"/>
<location filename="../ui/mainwindow.cpp" line="1060"/>
<location filename="../ui/mainwindow.cpp" line="1059"/>
<location filename="../ui/mainwindow.cpp" line="1083"/>
<source>The other party has finished the screen projection function.</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1671"/>
<location filename="../ui/mainwindow.cpp" line="1674"/>
<source>The screen projection request has been sent to the connected device. Please click [Agree] in the opposite pop-up window</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="440"/>
<location filename="../ui/mainwindow.cpp" line="1014"/>
<location filename="../ui/mainwindow.cpp" line="1040"/>
<location filename="../ui/mainwindow.cpp" line="1064"/>
<location filename="../ui/mainwindow.cpp" line="1660"/>
<location filename="../ui/mainwindow.cpp" line="1676"/>
<location filename="../ui/mainwindow.cpp" line="444"/>
<location filename="../ui/mainwindow.cpp" line="1037"/>
<location filename="../ui/mainwindow.cpp" line="1063"/>
<location filename="../ui/mainwindow.cpp" line="1087"/>
<location filename="../ui/mainwindow.cpp" line="1662"/>
<location filename="../ui/mainwindow.cpp" line="1679"/>
<source>OK</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1045"/>
<location filename="../ui/mainwindow.cpp" line="1068"/>
<source>Screen projection loading error</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1047"/>
<location filename="../ui/mainwindow.cpp" line="1070"/>
<source>Please check whether to install the projection expansion package [kylin connectivity tools]</source>
<translation>[kylin-connectivity-tools]</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1154"/>
<location filename="../ui/mainwindow.cpp" line="1178"/>
<source>QQPicture</source>
<translation>QQ图片</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1157"/>
<location filename="../ui/mainwindow.cpp" line="1181"/>
<source>QQVideo</source>
<translation>QQ视频</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1160"/>
<location filename="../ui/mainwindow.cpp" line="1184"/>
<source>QQMusic</source>
<translation>QQ音乐</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1163"/>
<location filename="../ui/mainwindow.cpp" line="1187"/>
<source>QQDocument</source>
<translation>QQ文档</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1166"/>
<location filename="../ui/mainwindow.cpp" line="1190"/>
<source>WeChatPicture</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1169"/>
<location filename="../ui/mainwindow.cpp" line="1193"/>
<source>WeChatVideo</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1172"/>
<location filename="../ui/mainwindow.cpp" line="1196"/>
<source>WeChatMusic</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1175"/>
<location filename="../ui/mainwindow.cpp" line="1199"/>
<source>WeChatDocument</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1178"/>
<location filename="../ui/mainwindow.cpp" line="1391"/>
<location filename="../ui/mainwindow.cpp" line="1202"/>
<location filename="../ui/mainwindow.cpp" line="1426"/>
<source>Picture</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1181"/>
<location filename="../ui/mainwindow.cpp" line="1393"/>
<location filename="../ui/mainwindow.cpp" line="1205"/>
<location filename="../ui/mainwindow.cpp" line="1428"/>
<source>Video</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1184"/>
<location filename="../ui/mainwindow.cpp" line="1395"/>
<location filename="../ui/mainwindow.cpp" line="1208"/>
<location filename="../ui/mainwindow.cpp" line="1430"/>
<source>Music</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1187"/>
<location filename="../ui/mainwindow.cpp" line="1397"/>
<location filename="../ui/mainwindow.cpp" line="1211"/>
<location filename="../ui/mainwindow.cpp" line="1432"/>
<source>Document</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1190"/>
<location filename="../ui/mainwindow.cpp" line="1399"/>
<location filename="../ui/mainwindow.cpp" line="1214"/>
<location filename="../ui/mainwindow.cpp" line="1434"/>
<source>WeChat</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1193"/>
<location filename="../ui/mainwindow.cpp" line="1401"/>
<location filename="../ui/mainwindow.cpp" line="1217"/>
<location filename="../ui/mainwindow.cpp" line="1436"/>
<source>QQ</source>
<translation>QQ</translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1429"/>
<location filename="../ui/mainwindow.cpp" line="1440"/>
<location filename="../ui/mainwindow.cpp" line="1464"/>
<location filename="../ui/mainwindow.cpp" line="1475"/>
<source>Uploaded to</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1479"/>
<location filename="../ui/mainwindow.cpp" line="1514"/>
<source>Downloaded to</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1654"/>
<location filename="../ui/mainwindow.cpp" line="1670"/>
<location filename="../ui/mainwindow.cpp" line="1656"/>
<location filename="../ui/mainwindow.cpp" line="1672"/>
<source>Request sent successfully!</source>
<translation></translation>
</message>
<message>
<location filename="../ui/mainwindow.cpp" line="1655"/>
<location filename="../ui/mainwindow.cpp" line="1657"/>
<source>The connection request has been sent to the selected device. Please click [YES] in the opposite pop-up window</source>
<translation></translation>
</message>
@ -566,42 +566,42 @@
<translation></translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="146"/>
<location filename="../ui/view/mobilefilelist.cpp" line="145"/>
<source>Picture</source>
<translation></translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="150"/>
<location filename="../ui/view/mobilefilelist.cpp" line="149"/>
<source>Video</source>
<translation></translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="154"/>
<location filename="../ui/view/mobilefilelist.cpp" line="153"/>
<source>Music</source>
<translation></translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="158"/>
<location filename="../ui/view/mobilefilelist.cpp" line="157"/>
<source>Document</source>
<translation></translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="162"/>
<location filename="../ui/view/mobilefilelist.cpp" line="161"/>
<source>WeChat</source>
<translation></translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="166"/>
<location filename="../ui/view/mobilefilelist.cpp" line="165"/>
<source>QQ</source>
<translation>QQ</translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="177"/>
<location filename="../ui/view/mobilefilelist.cpp" line="176"/>
<source>Mobile</source>
<translation></translation>
</message>
<message>
<location filename="../ui/view/mobilefilelist.cpp" line="178"/>
<location filename="../ui/view/mobilefilelist.cpp" line="177"/>
<source>All File</source>
<translation></translation>
</message>
@ -680,96 +680,96 @@
<context>
<name>MobileFileWidget</name>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="49"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="397"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="48"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="396"/>
<source>Icon Mode</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="53"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="177"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="403"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="52"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="176"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="402"/>
<source>List Mode</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="91"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="297"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="90"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="296"/>
<source>Mobile file list</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="96"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="99"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="102"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="105"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="135"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="139"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="264"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="266"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="268"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="270"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="290"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="95"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="98"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="101"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="104"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="134"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="138"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="263"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="265"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="267"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="269"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="289"/>
<source>QQ</source>
<translation>QQ</translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="96"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="108"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="120"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="264"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="272"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="280"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="95"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="107"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="119"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="263"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="271"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="279"/>
<source>Picture</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="99"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="111"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="123"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="266"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="274"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="282"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="98"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="110"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="122"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="265"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="273"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="281"/>
<source>Video</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="102"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="114"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="126"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="268"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="276"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="284"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="101"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="113"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="125"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="267"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="275"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="283"/>
<source>Music</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="105"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="117"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="129"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="270"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="278"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="286"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="104"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="116"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="128"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="269"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="277"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="285"/>
<source>Document</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="108"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="111"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="114"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="117"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="132"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="139"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="272"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="274"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="276"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="278"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="288"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="107"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="110"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="113"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="116"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="131"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="138"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="271"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="273"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="275"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="277"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="287"/>
<source>WeChat</source>
<translation></translation>
</message>
<message>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="185"/>
<location filename="../ui/classificationlist/mobilefilewidget.cpp" line="184"/>
<source>Refresh</source>
<translation></translation>
</message>
@ -928,7 +928,12 @@
<context>
<name>SearchDeviceWin</name>
<message>
<location filename="../ui/connectinterface/searchdevicewin.cpp" line="149"/>
<location filename="../ui/connectinterface/searchdevicewin.cpp" line="49"/>
<source>Searching for nearby available devices...</source>
<translation>...</translation>
</message>
<message>
<location filename="../ui/connectinterface/searchdevicewin.cpp" line="148"/>
<source>Search</source>
<translation></translation>
</message>
@ -997,13 +1002,13 @@
<context>
<name>TimeLineView</name>
<message>
<location filename="../ui/classificationlist/timelineview.cpp" line="305"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="330"/>
<source>%1/%2/%3</source>
<translation>%1%2%3</translation>
</message>
<message>
<location filename="../ui/classificationlist/timelineview.cpp" line="1209"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="1232"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="1234"/>
<location filename="../ui/classificationlist/timelineview.cpp" line="1257"/>
<source>No file</source>
<translation></translation>
</message>

View File

@ -1,7 +1,6 @@
#include "mobilefilewidget.h"
#include <QCheckBox>
#include <QScrollArea>
#include <QScrollBar>
#include <QDebug>
@ -194,7 +193,7 @@ void MobileFileWidget::initUI()
fileListHLayout->addWidget(retreatButton);
fileListHLayout->addSpacing(20);
// fileListHLayout->addWidget(forwardButton);
fileListHLayout->addSpacing(28);
// fileListHLayout->addSpacing(28);
fileListHLayout->addWidget(crumb);
fileListHLayout->addStretch();
// fileListHLayout->addWidget(m_searchLine);
@ -214,18 +213,18 @@ void MobileFileWidget::initUI()
QWidget *listWidget = new QWidget();
QScrollArea *scrollArea = new QScrollArea();
m_scrollArea = new QScrollArea(this);
QVBoxLayout *scrollVLayout = new QVBoxLayout();
QWidget *scrollWin = new QWidget(this);
scrollWin->setLayout(scrollVLayout);
scrollVLayout->addWidget(scrollArea);
scrollVLayout->addWidget(m_scrollArea);
scrollArea->setWidgetResizable(true);
m_scrollArea->setWidgetResizable(true);
scrollArea->setBackgroundRole(QPalette::Base);
scrollArea->setFrameShape(QFrame::NoFrame);
scrollArea->setWidget(listWidget);
m_scrollArea->setBackgroundRole(QPalette::Base);
m_scrollArea->setFrameShape(QFrame::NoFrame);
m_scrollArea->setWidget(listWidget);
scrollVLayout->setContentsMargins(68, 0, 68, 30);
@ -377,7 +376,7 @@ void MobileFileWidget::moveCopyToComputerWidget()
{
m_copyButtonMobileFileWidget->move(
QPoint(this->width() / 2 - m_copyButtonMobileFileWidget->width() / 2,
this->height() - 30 - m_copyButtonMobileFileWidget->height()));
this->height() - 16 - m_copyButtonMobileFileWidget->height()));
}
void MobileFileWidget::setThumbanil(QString fileName)
@ -432,4 +431,26 @@ void MobileFileWidget::setDocumenData(const QList<FileInfo> &listStruct)
void MobileFileWidget::setViewHeight()
{
Q_EMIT sigSetViewHeight();
if (m_copyButtonMobileFileWidget) {
moveCopyToComputerWidget();
}
}
void MobileFileWidget::setTheme(PublicAttributes::Theme theme)
{
if (theme == PublicAttributes::Theme::Light) {
QPalette scrollPalette = m_scrollArea->palette();
scrollPalette.setColor(QPalette::Base, QColor("#FFFEFD"));
m_scrollArea->setPalette(scrollPalette);
if (m_timeLineView != nullptr) {
m_timeLineView->setTheme(theme);
}
} else if (theme == PublicAttributes::Theme::Dark) {
QPalette scrollPalette = m_scrollArea->palette();
scrollPalette.setColor(QPalette::Base, QColor("#1D1D1D"));
m_scrollArea->setPalette(scrollPalette);
if (m_timeLineView != nullptr) {
m_timeLineView->setTheme(theme);
}
}
}

View File

@ -8,11 +8,13 @@
#include <QPushButton>
#include <QStackedWidget>
#include <QThread>
#include <QScrollArea>
#include "loadanimation.h"
#include "timelineview.h"
#include "copytocomputerbuttonwidget.h"
#include "searchedit.h"
#include "publicattributes.hpp"
class MobileFileWidget : public QWidget
{
@ -52,6 +54,8 @@ public:
void setViewHeight();
void setTheme(PublicAttributes::Theme theme);
private Q_SLOTS:
void slotModeButtonClicked();
void slotHideCopyToComputerWidget();
@ -82,6 +86,7 @@ private:
QListView::ViewMode m_mode = QListView::IconMode;
int m_text;
CopyToComputerButtonWidget *m_copyButtonMobileFileWidget = nullptr;
QScrollArea *m_scrollArea = nullptr;
private:
void initUI();

View File

@ -73,6 +73,31 @@ void TimeLineView::initTimeLineViewWidget()
connect(m_pictureListWidget->verticalScrollBar(), &QScrollBar::valueChanged, this, &TimeLineView::slotValueChanged);
}
void TimeLineView::setTheme(PublicAttributes::Theme theme)
{
if (theme == PublicAttributes::Theme::Light) {
if (m_pictureListWidget != nullptr) {
QPalette listWidgetPalette = this->palette();
listWidgetPalette.setColor(QPalette::Base, QColor("#FFFEFD"));
this->setPalette(listWidgetPalette);
} else {
QPalette listWidgetPalette = this->palette();
listWidgetPalette.setColor(QPalette::Base, QColor("#FFFEFD"));
this->setPalette(listWidgetPalette);
}
} else if (theme == PublicAttributes::Theme::Dark) {
if (m_pictureListWidget != nullptr) {
QPalette listWidgetPalette = this->palette();
listWidgetPalette.setColor(QPalette::Base, QColor("#1D1D1D"));
this->setPalette(listWidgetPalette);
} else {
QPalette listWidgetPalette = this->palette();
listWidgetPalette.setColor(QPalette::Base, QColor("#1D1D1D"));
this->setPalette(listWidgetPalette);
}
}
}
void TimeLineView::initViewWidget()
{
@ -285,7 +310,7 @@ void TimeLineView::setPictureTimeLineDateWidget()
void TimeLineView::setTimeLineData()
{
for (int i = 0; i < 1; i++) {
for (int i = m_startCount; i < m_endCount; i++) {
QWidget *titleWidget = new QWidget(this);
titleWidget->setFixedHeight(TITLE_HEIGHT);
QHBoxLayout *titleHLayout = new QHBoxLayout();

View File

@ -16,6 +16,7 @@
#include "timelinelistwidget.h"
#include "arrowlinebutton.h"
#include "fileinfo.h"
#include "publicattributes.hpp"
//所有时间线标题和图片
class TimeLineView : public QWidget
@ -43,6 +44,7 @@ public:
void setThumbnail(QString fileName);
//初始或界面大小发送改变会调用此函数
void setViewHeight();
void setTheme(PublicAttributes::Theme theme);
public Q_SLOTS:
Q_SIGNALS:

View File

@ -71,6 +71,8 @@ void ConnectInterface::initUI()
mainVLayout->addWidget(m_backgroundWin);
setLayout(mainVLayout);
connect(m_searchWin, &SearchDeviceWin::sigInitDeviceFinish, this, &ConnectInterface::sigInitDeviceFinish);
}
void ConnectInterface::setTheme(PublicAttributes::Theme theme)
@ -91,13 +93,32 @@ void ConnectInterface::slotTabBarClicked(int index)
switch (index) {
case TabBarIndex::NearbyDevice:
// 埋点
Q_EMIT sigStartDiscovery();
break;
case TabBarIndex::ConnectPhone:
// 埋点
Q_EMIT sigStopDiscovery();
break;
case TabBarIndex::DeviceCode:
// 埋点
m_deviceCodeWidget->setFocus();
Q_EMIT sigStopDiscovery();
break;
}
}
void ConnectInterface::showLoad()
{
m_searchWin->showLoad();
}
void ConnectInterface::setItemInfo(const QMap<QString, KMobileCommon::DiscoveryDeviceInfo> &map)
{
m_searchWin->showLoad();
m_searchWin->setItemInfo(map);
}
void ConnectInterface::setItemFinish()
{
m_searchWin->setItemFinish();
}

View File

@ -23,11 +23,17 @@ public:
void setTheme(PublicAttributes::Theme theme);
void setInterFaceCodeInfo(const QString wifiInfo);
void setItemInfo(const QMap<QString, KMobileCommon::DiscoveryDeviceInfo> &map);
void showLoad();
void setItemFinish();
Q_SIGNALS:
void sigBackBtnClicked();
void sigUSBconnectBtnClicked();
void sigConnectAddress(QString address);
void sigInitDeviceFinish();
void sigStartDiscovery();
void sigStopDiscovery();
private:
void initUI();

View File

@ -24,12 +24,12 @@ void SearchDeviceItem::initUI()
//用户名
m_itemNameLabel = new QLabel(this);
//手机型号
m_itemModelLabel = new QLabel(this);
m_itemModelLabel->setStyleSheet("color:#8F9399;font-size:12px");
// m_itemModelLabel = new QLabel(this);
// m_itemModelLabel->setStyleSheet("color:#8F9399;font-size:12px");
labelVLayout->addStretch();
labelVLayout->addWidget(m_itemNameLabel);
labelVLayout->addWidget(m_itemModelLabel);
// labelVLayout->addWidget(m_itemModelLabel);
labelVLayout->addStretch();
mainHLayout->addSpacing(16);

View File

@ -48,7 +48,7 @@ private:
//用户名
QLabel *m_itemNameLabel = nullptr;
//手机型号
QLabel *m_itemModelLabel = nullptr;
// QLabel *m_itemModelLabel = nullptr;
QString m_name;
KMobileCommon::DiscoveryDeviceInfo m_deviceInfo;

View File

@ -44,8 +44,26 @@ void SearchDeviceWin::initUI()
m_loadAnimation = new LoadAnimation;
m_loadAnimation->setHighLight();
m_stackedWidget->addWidget(m_loadAnimation);
m_stackedWidget->setCurrentIndex(0);
QWidget *loadWid = new QWidget(this);
QLabel *loadLab = new QLabel(this);
loadLab->setText(tr("Searching for nearby available devices..."));
QHBoxLayout *loadHLayout = new QHBoxLayout();
loadHLayout->setContentsMargins(0, 0, 0, 0);
loadHLayout->addStretch();
loadHLayout->addWidget(loadLab);
loadHLayout->addStretch();
QVBoxLayout *loadVLayout = new QVBoxLayout();
loadVLayout->setContentsMargins(0, 0, 0, 0);
loadVLayout->setSpacing(0);
loadVLayout->addStretch();
loadVLayout->addWidget(m_loadAnimation);
loadVLayout->addLayout(loadHLayout);
loadVLayout->addStretch();
loadWid->setLayout(loadVLayout);
m_stackedWidget->addWidget(loadWid);
m_stackedWidget->setCurrentIndex(1);
// connect(m_continueSearchDeviceItem, &AddDeviceItem::clicked, this, [=]() {
// qInfo() << "continue search clicked";
@ -53,28 +71,10 @@ void SearchDeviceWin::initUI()
// });
m_listWidget->setSpacing(8);
// m_listWidget->setStyleSheet(
// "QListWidget::item{background-color:transparent;margin-right:16px;margin-bottom:16px;}");
m_searchDeviceWin = new QWidget(this);
QVBoxLayout *serchVLayout = new QVBoxLayout();
serchVLayout->setContentsMargins(0, 0, 0, 0);
serchVLayout->addLayout(listWidgetHLayout);
m_searchDeviceWin->setLayout(serchVLayout);
m_deviceCodeWin = new DeviceCodeWidget(this);
connect(m_deviceCodeWin, &DeviceCodeWidget::sigLineEditText, this, [=](QString code) {
sigDeviceCode(code);
});
m_mainStackedWin = new QStackedWidget(this);
m_mainStackedWin->addWidget(m_searchDeviceWin);
m_mainStackedWin->addWidget(m_deviceCodeWin);
m_mainStackedWin->setCurrentIndex(0);
QVBoxLayout *mainVLayout = new QVBoxLayout();
mainVLayout->addWidget(m_mainStackedWin);
mainVLayout->setContentsMargins(0, 0, 0, 0);
mainVLayout->addWidget(m_stackedWidget);
this->setLayout(mainVLayout);
}
@ -136,12 +136,11 @@ void SearchDeviceWin::setItemInfo(const QMap<QString, KMobileCommon::DiscoveryDe
void SearchDeviceWin::initSearchButton()
{
QVBoxLayout *vLayout = new QVBoxLayout;
vLayout->setContentsMargins(0, 0, 0, 0);
QWidget *searchWidget = new QWidget(this);
searchWidget->setFixedSize(112, 48);
searchWidget->setLayout(vLayout);
m_searchWidget = new QWidget(this);
m_searchWidget->setFixedSize(112, 48);
m_searchWidget->setLayout(vLayout);
QPushButton *searchButton = new QPushButton(this);
searchButton->setIcon(QIcon(":/svg/Vector.svg"));
@ -150,9 +149,9 @@ void SearchDeviceWin::initSearchButton()
searchButton->setProperty("isImportant", true);
vLayout->addWidget(searchButton);
searchWidget->move(
QPoint(this->width() / 2 - searchWidget->width() / 2, this->height() - 32 - searchWidget->height()));
searchWidget->show();
m_searchWidget->move(
QPoint(this->width() / 2 - m_searchWidget->width() / 2, this->height() - 32 - m_searchWidget->height()));
m_searchWidget->show();
connect(searchButton, &QPushButton::clicked, this, [=]() {
qInfo() << "continue search clicked";
Q_EMIT sigContinueSearch();

View File

@ -49,9 +49,7 @@ private:
AddDeviceItem *m_continueSearchDeviceItem = nullptr;
LoadAnimation *m_loadAnimation = nullptr;
QStackedWidget *m_stackedWidget = nullptr;
DeviceCodeWidget *m_deviceCodeWin = nullptr;
QStackedWidget *m_mainStackedWin = nullptr;
QWidget *m_searchDeviceWin = nullptr;
QWidget *m_searchWidget = nullptr;
Q_SIGNALS:
};

File diff suppressed because it is too large Load Diff

View File

@ -123,11 +123,8 @@ private:
void initMobileListWidget(int tag);
void setToolTipWin(QString msg, kdk::TipType type);
void uploadLocalListPath(QString itemName, const QStringList &localPath);
void isDeviceWidgetExist();
void initSearchDevice();
void initMobileConnection();
void initShowMobileWidget();
void initShowTabletWidget();
void deleteSearchDeviceUI();
void initMobileFileSync();
void setScreenOption();
@ -270,6 +267,8 @@ public Q_SLOTS:
void slotExitMobileScreen();
void slotExitPcScreen();
void slotTabBtnClicked(SuspendTabBar::BtnType type);
void slotStartDiscovery();
void slotStopDiscovery();
};
#endif // MAINWINDOW_H

View File

@ -169,17 +169,17 @@ void MobileStorageWidget::initUI()
layout->setSpacing(0);
layout->setContentsMargins(0, 0, 0, 0);
QScrollArea *scrollArea = new QScrollArea();
scrollArea->setWidgetResizable(true);
m_scrollArea = new QScrollArea(this);
m_scrollArea->setWidgetResizable(true);
// scrollArea->setBackgroundRole(QPalette::Dark);
scrollArea->setFrameShape(QFrame::NoFrame);
scrollArea->setWidget(listWidget);
// m_scrollArea->setBackgroundRole(QPalette::Dark);
m_scrollArea->setFrameShape(QFrame::NoFrame);
m_scrollArea->setWidget(listWidget);
listWidget->setLayout(layout);
scrollVLayout->addWidget(scrollArea);
scrollVLayout->setContentsMargins(20, 0, 0, 30);
scrollVLayout->addWidget(m_scrollArea);
scrollVLayout->setContentsMargins(68, 0, 68, 10);
mainVLayout->addLayout(fileListHLayout);
mainVLayout->addSpacing(18);
@ -349,17 +349,17 @@ void MobileStorageWidget::initPcUI()
layout->setSpacing(0);
layout->setContentsMargins(0, 0, 0, 0);
QScrollArea *scrollArea = new QScrollArea();
scrollArea->setWidgetResizable(true);
m_scrollArea = new QScrollArea(this);
m_scrollArea->setWidgetResizable(true);
// scrollArea->setBackgroundRole(QPalette::Dark);
scrollArea->setFrameShape(QFrame::NoFrame);
scrollArea->setWidget(listWidget);
m_scrollArea->setFrameShape(QFrame::NoFrame);
m_scrollArea->setWidget(listWidget);
listWidget->setLayout(layout);
scrollVLayout->addWidget(scrollArea);
scrollVLayout->setContentsMargins(20, 0, 0, 30);
scrollVLayout->addWidget(m_scrollArea);
scrollVLayout->setContentsMargins(68, 0, 68, 10);
mainVLayout->addLayout(fileListHLayout);
mainVLayout->addSpacing(18);
@ -475,7 +475,7 @@ void MobileStorageWidget::slotHideCopyToComputerWidget()
void MobileStorageWidget::moveCopyToComputerWidget()
{
m_copyButtonMobileStrorageWidget->move(QPoint(this->width() / 2 - m_copyButtonMobileStrorageWidget->width() / 2,
this->height() - 30 - m_copyButtonMobileStrorageWidget->height()));
this->height() - 16 - m_copyButtonMobileStrorageWidget->height()));
}
void MobileStorageWidget::slotModeButtonClicked()
@ -565,6 +565,7 @@ void MobileStorageWidget::initSearchUI()
refreshButton->setFlat(true);
fileListHLayout->addWidget(retreatButton);
fileListHLayout->addSpacing(20);
fileListHLayout->addWidget(crumb);
fileListHLayout->addStretch();
fileListHLayout->addWidget(m_modeButton);
@ -585,16 +586,16 @@ void MobileStorageWidget::initSearchUI()
layout->setSpacing(0);
layout->setMargin(0);
QScrollArea *scrollArea = new QScrollArea();
scrollArea->setWidgetResizable(true);
m_scrollArea = new QScrollArea(this);
m_scrollArea->setWidgetResizable(true);
scrollArea->setFrameShape(QFrame::NoFrame);
scrollArea->setWidget(listWidget);
m_scrollArea->setFrameShape(QFrame::NoFrame);
m_scrollArea->setWidget(listWidget);
listWidget->setLayout(layout);
scrollVLayout->addWidget(scrollArea);
scrollVLayout->setContentsMargins(68, 0, 68, 30);
scrollVLayout->addWidget(m_scrollArea);
scrollVLayout->setContentsMargins(68, 0, 68, 10);
mainVLayout->addLayout(fileListHLayout);
mainVLayout->addSpacing(18);
@ -618,4 +619,20 @@ void MobileStorageWidget::initSearchUI()
void MobileStorageWidget::setViewHeight()
{
Q_EMIT sigViewHeight();
if (m_copyButtonMobileStrorageWidget) {
moveCopyToComputerWidget();
}
}
void MobileStorageWidget::setTheme(PublicAttributes::Theme theme)
{
if (theme == PublicAttributes::Theme::Light) {
QPalette scrollPalette = m_scrollArea->palette();
scrollPalette.setColor(QPalette::Base, QColor("#FFFEFD"));
m_scrollArea->setPalette(scrollPalette);
} else if (theme == PublicAttributes::Theme::Dark) {
QPalette scrollPalette = m_scrollArea->palette();
scrollPalette.setColor(QPalette::Base, QColor("#1D1D1D"));
m_scrollArea->setPalette(scrollPalette);
}
}

View File

@ -6,10 +6,12 @@
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QScrollArea>
#include "fileinfo.h"
#include "mobilestorageviewwidget.h"
#include "searchedit.h"
#include "publicattributes.hpp"
class MobileStorageWidget : public QWidget
{
@ -29,6 +31,8 @@ public:
void setViewHeight();
void setTheme(PublicAttributes::Theme theme);
public:
private Q_SLOTS:
void slotModeButtonClicked();
@ -63,6 +67,7 @@ private:
QString m_currentIndexPath;
CopyToComputerButtonWidget *m_copyButtonMobileStrorageWidget = nullptr;
int m_index = FILE_TYPE::None;
QScrollArea *m_scrollArea = nullptr;
private:
void initUI();

View File

@ -55,7 +55,7 @@ void MobileFileList::initWidget()
mobileFileListLabel->setText(tr("Mobile file list")); // Mobile file list手机文件列表
mobileFileListHLayout->addWidget(mobileFileListLabel);
mobileFileListHLayout->setContentsMargins(88, 0, 0, 0);
mobileFileListHLayout->setContentsMargins(34, 0, 0, 0);
mobileFileListHLayout->addStretch();
//手机存储
@ -65,7 +65,7 @@ void MobileFileList::initWidget()
mobileStorageHLayout->setMargin(0);
mobileStorageHLayout->addWidget(mobileStorageLabel);
mobileStorageHLayout->setContentsMargins(88, 0, 0, 0);
mobileStorageHLayout->setContentsMargins(34, 0, 0, 0);
mobileStorageHLayout->addStretch();
//手机文件列表widget
@ -115,7 +115,7 @@ void MobileFileList::initWidget()
//设置边距
m_storageWidget->setSpacing(16);
mainVLayout->setMargin(0);
mainVLayout->setContentsMargins(56, 0, 56, 0);
mainVLayout->setSpacing(0);
mainVLayout->addLayout(mobileFileListHLayout);
mainVLayout->addSpacing(28);
@ -125,7 +125,6 @@ void MobileFileList::initWidget()
mainVLayout->addSpacing(28);
mainVLayout->addWidget(storageWidget);
mainVLayout->addStretch();
mainVLayout->setContentsMargins(67, 0, 0, 0);
this->setLayout(mainVLayout);
}
@ -215,3 +214,23 @@ void MobileFileList::slotMobileButtonClicked()
{
Q_EMIT sigMobileStorageClicked("/");
}
void MobileFileList::setTheme(PublicAttributes::Theme theme)
{
if (theme == PublicAttributes::Theme::Light) {
QPalette paletteListWid = m_fileListWidget->palette();
paletteListWid.setColor(QPalette::Base, QColor("#FFFEFD"));
m_fileListWidget->setPalette(paletteListWid);
QPalette paletteStorageWid = m_storageWidget->palette();
paletteStorageWid.setColor(QPalette::Base, QColor("#FFFEFD"));
m_storageWidget->setPalette(paletteStorageWid);
} else if (theme == PublicAttributes::Theme::Dark) {
QPalette paletteListWid = m_fileListWidget->palette();
paletteListWid.setColor(QPalette::Base, QColor("#1D1D1D"));
m_fileListWidget->setPalette(paletteListWid);
QPalette palette = m_storageWidget->palette();
palette.setColor(QPalette::Base, QColor("#1D1D1D"));
m_storageWidget->setPalette(palette);
}
}

View File

@ -9,6 +9,7 @@
#include <QPushButton>
#include <QAbstractItemModel>
#include "mobilefilelistitem.h"
#include "publicattributes.hpp"
class MobileFileList : public QWidget
{
@ -22,6 +23,7 @@ public:
void setItemCount(const QMap<QString, int> &map);
void setTheme(PublicAttributes::Theme theme);
private Q_SLOTS:
//图片项点击
void slotPictureButtonClicked();