From e6ad587b35ca7ba62d7beb838e999fea0554fa19 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 25 Nov 2023 16:03:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VirtualMachine.pro | 5 + en_US.qm | Bin 0 -> 5781 bytes en_US.ts | 392 +++++++++++++++++++++++++++++++++++++++++++++ main.cpp | 6 +- mainwindow.cpp | 3 + trans.qrc | 8 + zh_CN.ts | 288 ++++++++++++++++++++++++++++----- 7 files changed, 665 insertions(+), 37 deletions(-) create mode 100644 en_US.qm create mode 100644 en_US.ts create mode 100644 trans.qrc diff --git a/VirtualMachine.pro b/VirtualMachine.pro index 0526e3a..fa70649 100755 --- a/VirtualMachine.pro +++ b/VirtualMachine.pro @@ -56,4 +56,9 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target RESOURCES += \ + trans.qrc \ 图标.qrc + +DISTFILES += \ + en_US.qm \ + en_US.ts diff --git a/en_US.qm b/en_US.qm new file mode 100644 index 0000000000000000000000000000000000000000..a6af8846f9aca96a283cdb3064c4b9794860008a GIT binary patch literal 5781 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 literal 0 HcmV?d00001 diff --git a/en_US.ts b/en_US.ts new file mode 100644 index 0000000..a3f201e --- /dev/null +++ b/en_US.ts @@ -0,0 +1,392 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="en" sourcelanguage="zh_CN"> +<context> + <name>MainWindow</name> + <message> + <location filename="mainwindow.ui" line="14"/> + <source>Wine 运行器虚拟机安装工具</source> + <translation>Wine Runner Virtual Machine Install Tools</translation> + </message> + <message> + <location filename="mainwindow.ui" line="32"/> + <location filename="mainwindow.ui" line="35"/> + <source>设置</source> + <translation>Setting</translation> + </message> + <message> + <location filename="mainwindow.ui" line="43"/> + <source>镜像路径:</source> + <translation>ISO FilePath:</translation> + </message> + <message> + <location filename="mainwindow.ui" line="50"/> + <source>请选择系统镜像</source> + <translation>Please choose or input system image</translation> + </message> + <message> + <location filename="mainwindow.ui" line="57"/> + <source>浏览……</source> + <translation>browser...</translation> + </message> + <message> + <location filename="mainwindow.ui" line="68"/> + <source>系统版本:</source> + <translation>System Version:</translation> + </message> + <message> + <location filename="mainwindow.ui" line="75"/> + <location filename="mainwindow.ui" line="79"/> + <source>Windows 7 32 位(支持自动安装)</source> + <translation>Windows 7 32bit (support auto installing)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="84"/> + <source>Windows 7 64 位(支持自动安装)</source> + <translation>Windows 7 64bit (support auto installing)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="89"/> + <source>其它 Windows 系统(不支持自动安装,传统启动,推荐 Windows 7 及以下)</source> + <translation>Other system (unsupport auto installing and using legacy boot)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="94"/> + <source>其他 Windows 系统(不支持自动安装,UEFI 启动,推荐 Windows 8 及以上)</source> + <translation>Other system (unsupport auto installing and using UEFI boot)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="99"/> + <source>安装 WIndows 11(不支持自动安装)</source> + <translation>Install windows (unsupport auto installing)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="104"/> + <source>安装其他 Windows XP(支持自动安装,只支持 VirtualBox)</source> + <translation>Install other Windows XP (support auto installing but only support VirtualBox)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="109"/> + <source>安装其他 Windows (支持自动安装,传统启动,只支持 VirtualBox)</source> + <translation>Install Other Windows (support auto installing and using legacy boot but only support VirtualBox)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="114"/> + <source>安装其他 Windows(支持自动安装,UEFI 启动,只支持 VirtualBox)</source> + <translation>Install Other Windows (support auto installing and using UEFI boot but only support VirtualBox)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="119"/> + <source>安装 arm32 系统(只支持 Qemu)</source> + <translation>Install arm32 system (only support Qemu/KVM)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="124"/> + <source>安装 arm64 系统(只支持 Qemu)</source> + <translation>Install arm64 system (only support Qemu/KVM)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="136"/> + <source>虚拟机(建议默认):</source> + <translation>Virtual Machine:</translation> + </message> + <message> + <location filename="mainwindow.ui" line="143"/> + <location filename="mainwindow.ui" line="153"/> + <source>qemu/kvm</source> + <translation></translation> + </message> + <message> + <location filename="mainwindow.ui" line="158"/> + <source>VirtualBox</source> + <translation></translation> + </message> + <message> + <location filename="mainwindow.ui" line="183"/> + <source>安装 Qemu</source> + <translation>Install Qemu</translation> + </message> + <message> + <location filename="mainwindow.ui" line="190"/> + <source>kvm 测试</source> + <translation>kvm test</translation> + </message> + <message> + <location filename="mainwindow.ui" line="197"/> + <source>Qemu虚拟机设置</source> + <translation>Qemu Setting</translation> + </message> + <message> + <location filename="mainwindow.ui" line="204"/> + <source>添加/覆盖Qemu磁盘</source> + <translation>Add/Replace Qemu Disk</translation> + </message> + <message> + <location filename="mainwindow.ui" line="211"/> + <source>导出Qemu磁盘</source> + <translation>Export Qemu Disk</translation> + </message> + <message> + <location filename="mainwindow.ui" line="218"/> + <source>移除Qemu磁盘</source> + <translation>Delete Qemu Disk</translation> + </message> + <message> + <location filename="mainwindow.ui" line="225"/> + <source>获取VirtualBox</source> + <translation>Get VirtualBox</translation> + </message> + <message> + <location filename="mainwindow.ui" line="232"/> + <source>安装</source> + <translation>Install</translation> + </message> + <message> + <location filename="mainwindow.ui" line="241"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10.5pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">UOS 3a4000 用户在使用 Qemu 时可能会出现虚拟机无法正常开机的问题,需要安装/降级到以下链接的版本:</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">蓝奏云:</span><a href="https://gfdgdxi.lanzoue.com/b01rk9wza"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://gfdgdxi.lanzoue.com/b01rk9wza</span></a><span style=" font-size:11pt;"> 密码:6wvf</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">诚通网盘:</span><a href="http://ctfile.gfdgdxi.top/d/31540479-58662214-c46520?p=2061"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">http://ctfile.gfdgdxi.top/d/31540479-58662214-c46520?p=2061</span></a><span style=" font-size:11pt;"> (访问密码: 2061)</span></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">注:Qemu 跨架构效率较低,如无特殊情况不建议跨架构/不开硬件加速(如 kvm)运行 Qemu</span></p> +<hr /> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">如何安装系统?使用迅雷或者网盘下载以下任意一个链接的 ISO 镜像然后在上面选择即可:</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">123 网盘链接:</span><a href="https://www.123pan.com/s/pDSKVv-oypWv"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://www.123pan.com/s/pDSKVv-oypWv</span></a></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">迅雷网盘:</span><a href="https://pan.xunlei.com/s/VNKMz3wgbYHg6JIh50ZKIc7pA1?pwd=35e5"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://pan.xunlei.com/s/VNKMz3wgbYHg6JIh50ZKIc7pA1?pwd=35e5</span></a><span style=" font-size:10pt;"> 提取码:35e5</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">百度网盘:</span><a href="https://pan.baidu.com/s/19WbvinITCQJFZpAdZutrjg?pwd=me4y"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://pan.baidu.com/s/19WbvinITCQJFZpAdZutrjg?pwd=me4y</span></a><span style=" font-size:10pt;"> 提取码: me4y</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">诚通网盘:</span><a href="http://ctfile.gfdgdxi.top/d/31540479-58662220-3590cf?p=2061"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">http://ctfile.gfdgdxi.top/d/31540479-58662220-3590cf?p=2061</span></a><span style=" font-size:10pt;"> (访问密码: 2061)</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">(如果下载这个,系统版本选第一项,一般推荐这个)</span><a href="ed2k://|file|cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso|2653276160|7503E4B9B8738DFCB95872445C72AEFB|/"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">ed2k://|file|cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso|2653276160|7503E4B9B8738DFCB95872445C72AEFB|/</span></a></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">(如果下载这个,系统版本选第二项)</span><a href="ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/</span></a></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt; font-weight:600;">常用 Windows 软件:</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">百度网盘:链接: </span><a href="https://pan.baidu.com/s/1D1NSy7k7XBnOZL_tNTnG6g?pwd=7s2p"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://pan.baidu.com/s/1D1NSy7k7XBnOZL_tNTnG6g?pwd=7s2p</span></a><span style=" font-size:11pt;"> 提取码: 7s2p </span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">诚通网盘:</span><a href="http://ctfile.gfdgdxi.top/d/31540479-58659214-0732a8?p=2061"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">http://ctfile.gfdgdxi.top/d/31540479-58659214-0732a8?p=2061</span></a><span style=" font-size:11pt;"> (访问密码: 2061)</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">123网盘:</span><a href="https://www.123pan.com/s/pDSKVv-uCBWv.html"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://www.123pan.com/s/pDSKVv-uCBWv.html</span></a></p> +<hr /></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="274"/> + <source>安装/使用帮助</source> + <translation>Document</translation> + </message> + <message> + <location filename="mainwindow.ui" line="283"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10.5pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">给小白的一段话</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">其实本质上跑完安装程序就没有然后了,顶多如果想要运行舒服一点点,可以安装加强功能,直接拉到最底下看就可以了,<span style=" font-weight:600; font-style:italic; text-decoration: underline;">只限使用 VirtualBox</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; font-style:italic; text-decoration: underline;">如果你是用非 X86 PC,那暂时只能使用 qemu(没 kvm),且跨架构的性能损失很大,推荐使用 Windows XP 而非 Windows 7</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">如果爱折腾的话,下面的都看看也无所谓的,想看往下翻就可以了</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">(这里的帮助更新可能不会那么及时,更详细/新的帮助可以看:https://gitee.com/gfdgd-xi/deep-wine-runner/wikis 或 https://gitee.com/gfdgd-xi/wine-runner-wiki)</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">(如果鼠标被锁定到里面了按下键盘右边的“Ctrl”键就可以了,<span style=" font-weight:600; font-style:italic; text-decoration: underline;">qemu则是 Ctrl+Alt+G</span> )</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">VirtualBox 可以安装增强功能以优化体验,安装方法往下翻即可查询</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Qemu 可以安装 Virtio 以优化体验,下载链接:<a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/</span></a></p> +<hr /> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">安装是否需要人工进行操作?</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">如果您下载的镜像本程序支持,则大部分不用,已经尽量省去了让新手头疼的虚拟机程序安装,创建、设置虚拟机,虚拟磁盘分区,寻找原版镜像文件等内容</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712191756.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">但有些设置依旧需要人工自行设置,例如安装界面密钥的输入、系统的激活(涉及版权问题,不会考虑省略)、增强功能的安装、需要使用的软件等等</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712192850.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712193527.png" /></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">什么样的镜像本程序(可能)不支持自动安装?</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">非 Windows 7 镜像可能不支持自动安装(纯的 Windows 7 企业版镜像可能不支持自动安装),不保证系统能自动安装成功,例如 Windows XP、Windows 10、Deepin、Ubuntu 等等</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">默认的虚拟机设置不习惯怎么改?</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">1、打开启动器,打开 Oracle VM VirtualBox 程序</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2、选择名字为“Windows”的虚拟机,然后在右边点击设置</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Manager_20220712223602.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">3、在这里修改即可</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox_20220712223705.png" /></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">安装加强功能有什么好处?(只限使用 VirtualBox)</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1、支持鼠标自由从虚拟机和实体机切换</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2、支持虚拟机根据窗口大小自动设置分辨率</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3、支持文件共享、剪切板共享、文件拖放</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">4、支持无缝模式</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_选择区域_20220712224639.png" /></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">如何安装加强功能?</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1、点击“设备”=》“加强功能”</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图_VirtualBox Machine_20220712142929.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2、打开“计算机”,找到名为“VirtualBox Guest Additions”的光盘,双击进入,然后双击打开名为“VBoxWindowsAdditions”的程序</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712143006.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3、在弹出的界面点击“是”</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712143018.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">4、一直点“Next”</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712143029.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712143037.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">5、全部选择,然后点击“Install”进行安装</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712143044.png" /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">6、等待安装完毕后,选择“Reboot now”然后点击“Finish”重启此虚拟机即可安装成功(选择“Reboot now”并点“Finish”会自动重新启动)</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox Machine_20220712143103.png" /></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="364"/> + <location filename="mainwindow.ui" line="482"/> + <source>关于</source> + <translation>About</translation> + </message> + <message> + <location filename="mainwindow.ui" line="421"/> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10.5pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">此为 wine 运行器附属组件(虽然违背了“Wine Is Not An Emulator”&lt;Wine 不是一个模拟器&gt;的原意),旨在能更加完美、简单的运行 Windows 应用</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">本程序基于 C++ Qt、Python 和 Virtualbox 制作,通过运行安装 Windows 操作系统的虚拟机实现在 Linux 运行 Windows exe 程序的功能。</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">基于 GPL V3 协议开源</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">项目地址:</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Gitee:<a href="https://gitee.com/gfdgd-xi/deep-wine-runner"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://gitee.com/gfdgd-xi/deep-wine-runner</span></a></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Github:<a href="https://github.com/gfdgd-xi/deep-wine-runner"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://github.com/gfdgd-xi/deep-wine-runner</span></a></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">此组件也有非常大的缺点,就是相比于 Wine,会需要占用大量的空间、安装需要大量的时间、某些情况下需要相比于 Wine 需要消耗更多的系统资源,但可以更加完美、流畅的运行 Windows 应用,会尽量减少因为缺少或未实现导致的 Windows exe 程序运行异常</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">该组件制作者:gfdgd xi</p> +<hr /> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="463"/> + <source>虚拟机</source> + <translation>Virtual Machine</translation> + </message> + <message> + <location filename="mainwindow.ui" line="477"/> + <source>退出</source> + <translation>Exit</translation> + </message> + <message> + <location filename="mainwindow.ui" line="487"/> + <source>导入/覆盖</source> + <translation>Add/Replace</translation> + </message> + <message> + <location filename="mainwindow.ui" line="492"/> + <source>导出</source> + <translation>Export</translation> + </message> + <message> + <location filename="mainwindow.ui" line="497"/> + <source>虚拟机安装日志</source> + <translation>Virtual Machine log (Installing)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="502"/> + <source>虚拟机运行日志</source> + <translation>Virtual Machine log (Running)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="507"/> + <source>虚拟机测试(X86、Qemu)</source> + <translation>Qemu Test (x86, qemu)</translation> + </message> + <message> + <location filename="mainwindow.ui" line="512"/> + <source>强制停止 VirtualBox</source> + <translation>Stop VirtualBox with forced</translation> + </message> + <message> + <location filename="mainwindow.ui" line="517"/> + <source>强制停止 Qemu</source> + <translation>Stop Qemu with forced</translation> + </message> +</context> +<context> + <name>QemuSetting</name> + <message> + <location filename="qemusetting.ui" line="14"/> + <source>设置</source> + <translation>Setting</translation> + </message> + <message> + <location filename="qemusetting.ui" line="35"/> + <source><h3>远程服务</h3></source> + <translation><h3>Remote Service</h3></translation> + </message> + <message> + <location filename="qemusetting.ui" line="42"/> + <source>VNC服务端口:</source> + <translation>VNC service port:</translation> + </message> + <message> + <location filename="qemusetting.ui" line="49"/> + <source>开启 rdp 服务映射</source> + <translation>Enable rdp port</translation> + </message> + <message> + <location filename="qemusetting.ui" line="56"/> + <source>内存大小(MB):</source> + <translation>Memory size (MB):</translation> + </message> + <message> + <location filename="qemusetting.ui" line="90"/> + <source><h3>基础设置</h3></source> + <translation><h3>Base setting</h3></translation> + </message> + <message> + <location filename="qemusetting.ui" line="97"/> + <source>开启VNC服务</source> + <translation>Enable VNC service</translation> + </message> + <message> + <location filename="qemusetting.ui" line="104"/> + <source>开启 kvm 加速</source> + <translation>Enable kvm</translation> + </message> + <message> + <location filename="qemusetting.ui" line="111"/> + <source>CPU核心数:</source> + <translation>CPU cores:</translation> + </message> + <message> + <location filename="qemusetting.ui" line="125"/> + <source>开启声音</source> + <translation>Enable sound</translation> + </message> + <message> + <location filename="qemusetting.ui" line="145"/> + <source>保存</source> + <translation>Save</translation> + </message> + <message> + <location filename="qemusetting.ui" line="158"/> + <source>取消</source> + <translation>Cancel</translation> + </message> + <message> + <location filename="qemusetting.ui" line="171"/> + <source>重置 +默认</source> + <translation>Resetting</translation> + </message> + <message> + <location filename="qemusetting.ui" line="185"/> + <source>获取 +Wine +运行器</source> + <translation>Get Wine +Runner</translation> + </message> +</context> +</TS> diff --git a/main.cpp b/main.cpp index 2c08e36..0d8b6c1 100755 --- a/main.cpp +++ b/main.cpp @@ -24,9 +24,13 @@ int main(int argc, char *argv[]) QApplication a(argc, argv); // 语言 QTranslator *trans = new QTranslator(&a); - trans->load("virtualmachine-en_US.qm"); + if(!QProcessEnvironment::systemEnvironment().value("LANG").contains("zh_CN")){ + trans->load(":/en_US.qm"); + } a.installTranslator(trans); + + // 判断是否为 !amd64(无需判断了) /*if(GetRunCommand("arch").replace(" ", "").replace("\n", "") != QString("x86_64")){ QMessageBox::critical(NULL, "错误", "此程序不支持非 X86 架构,立即退出"); diff --git a/mainwindow.cpp b/mainwindow.cpp index df2ceb2..ce6cb6b 100755 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -32,6 +32,7 @@ MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow) { ui->setupUi(this); + //QApplication a(argc, argv); ui->tabWidget->setTabPosition(QTabWidget::West); // 标签靠左 // 选择最优虚拟机 if(!system("which qemu-system-x86_64")){ @@ -102,6 +103,7 @@ MainWindow::MainWindow(QWidget *parent) : ui->tabWidget->setTabIcon(1, QIcon::fromTheme(":/application-vnd.oasis.opendocument.text.svg")); // 设置窗口图标 this->setWindowIcon(QIcon(":/deepin-wine-runner.svg")); + } void MainWindow::ShowCPUMessage(){ @@ -141,6 +143,7 @@ void MainWindow::ShowCPUMessage(){ } m_cpuAll = cpuAll; m_cpuFree = cpuFree; + ui->retranslateUi(this); } QString MainWindow::GetRunCommand(QString command){ diff --git a/trans.qrc b/trans.qrc new file mode 100644 index 0000000..09bf503 --- /dev/null +++ b/trans.qrc @@ -0,0 +1,8 @@ +<RCC> + <qresource prefix="/"> + <file>zh_CN.qm</file> + <file>zh_CN.ts</file> + <file>en_US.qm</file> + <file>en_US.ts</file> + </qresource> +</RCC> diff --git a/zh_CN.ts b/zh_CN.ts index 8cbdb05..8a9992e 100755 --- a/zh_CN.ts +++ b/zh_CN.ts @@ -5,7 +5,8 @@ <name>MainWindow</name> <message> <location filename="mainwindow.ui" line="14"/> - <source>Windows 应用适配工具</source> + <source>Wine 运行器虚拟机安装工具</source> + <oldsource>Windows 应用适配工具</oldsource> <translation type="unfinished"></translation> </message> <message> @@ -35,57 +36,137 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="78"/> - <source>请选择系统类型(如果识别不了请自行选择,如果选择错误或不支持将无法进行自动安装)</source> + <location filename="mainwindow.ui" line="89"/> + <source>其它 Windows 系统(不支持自动安装,传统启动,推荐 Windows 7 及以下)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="82"/> - <source>Windows 7 32 位(支持自动安装)</source> + <location filename="mainwindow.ui" line="94"/> + <source>其他 Windows 系统(不支持自动安装,UEFI 启动,推荐 Windows 8 及以上)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="87"/> - <source>Windows 7 64 位(支持自动安装)</source> + <location filename="mainwindow.ui" line="99"/> + <source>安装 WIndows 11(不支持自动安装)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="92"/> - <source>其它 Windows 系统(不支持自动安装)</source> + <location filename="mainwindow.ui" line="104"/> + <source>安装其他 Windows XP(支持自动安装,只支持 VirtualBox)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="117"/> - <source>安装</source> + <location filename="mainwindow.ui" line="109"/> + <source>安装其他 Windows (支持自动安装,传统启动,只支持 VirtualBox)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="126"/> + <location filename="mainwindow.ui" line="114"/> + <source>安装其他 Windows(支持自动安装,UEFI 启动,只支持 VirtualBox)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="119"/> + <source>安装 arm32 系统(只支持 Qemu)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="124"/> + <source>安装 arm64 系统(只支持 Qemu)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="136"/> + <source>虚拟机(建议默认):</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="143"/> + <location filename="mainwindow.ui" line="153"/> + <source>qemu/kvm</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="158"/> + <source>VirtualBox</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="183"/> + <source>安装 Qemu</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="190"/> + <source>kvm 测试</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="197"/> + <source>Qemu虚拟机设置</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="204"/> + <source>添加/覆盖Qemu磁盘</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="211"/> + <source>导出Qemu磁盘</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="218"/> + <source>移除Qemu磁盘</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="225"/> + <source>获取VirtualBox</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="241"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10.5pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">使用迅雷或者网盘下载以下任意一个链接然后在上面选择即可:</span></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">(如果下载这个,系统版本选第一项,一般推荐这个)ed2k://|file|cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso|2653276160|7503E4B9B8738DFCB95872445C72AEFB|/</span></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">(如果下载这个,系统版本选第二项)ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">UOS 3a4000 用户在使用 Qemu 时可能会出现虚拟机无法正常开机的问题,需要安装/降级到以下链接的版本:</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">蓝奏云:</span><a href="https://gfdgdxi.lanzoue.com/b01rk9wza"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://gfdgdxi.lanzoue.com/b01rk9wza</span></a><span style=" font-size:11pt;"> 密码:6wvf</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">诚通网盘:</span><a href="http://ctfile.gfdgdxi.top/d/31540479-58662214-c46520?p=2061"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">http://ctfile.gfdgdxi.top/d/31540479-58662214-c46520?p=2061</span></a><span style=" font-size:11pt;"> (访问密码: 2061)</span></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">注:Qemu 跨架构效率较低,如无特殊情况不建议跨架构/不开硬件加速(如 kvm)运行 Qemu</span></p> +<hr /> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">如何安装系统?使用迅雷或者网盘下载以下任意一个链接的 ISO 镜像然后在上面选择即可:</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">123 网盘链接:</span><a href="https://www.123pan.com/s/pDSKVv-oypWv"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://www.123pan.com/s/pDSKVv-oypWv</span></a></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">迅雷网盘:</span><a href="https://pan.xunlei.com/s/VNKMz3wgbYHg6JIh50ZKIc7pA1?pwd=35e5"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://pan.xunlei.com/s/VNKMz3wgbYHg6JIh50ZKIc7pA1?pwd=35e5</span></a><span style=" font-size:10pt;"> 提取码:35e5</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">百度网盘:</span><a href="https://pan.baidu.com/s/19WbvinITCQJFZpAdZutrjg?pwd=me4y"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://pan.baidu.com/s/19WbvinITCQJFZpAdZutrjg?pwd=me4y</span></a><span style=" font-size:10pt;"> 提取码: me4y</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">诚通网盘:</span><a href="http://ctfile.gfdgdxi.top/d/31540479-58662220-3590cf?p=2061"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">http://ctfile.gfdgdxi.top/d/31540479-58662220-3590cf?p=2061</span></a><span style=" font-size:10pt;"> (访问密码: 2061)</span></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">(如果下载这个,系统版本选第一项,一般推荐这个)</span><a href="ed2k://|file|cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso|2653276160|7503E4B9B8738DFCB95872445C72AEFB|/"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">ed2k://|file|cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso|2653276160|7503E4B9B8738DFCB95872445C72AEFB|/</span></a></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">(如果下载这个,系统版本选第二项)</span><a href="ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/</span></a></p> +<hr /> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt; font-weight:600;">常用 Windows 软件:</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">百度网盘:链接: </span><a href="https://pan.baidu.com/s/1D1NSy7k7XBnOZL_tNTnG6g?pwd=7s2p"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://pan.baidu.com/s/1D1NSy7k7XBnOZL_tNTnG6g?pwd=7s2p</span></a><span style=" font-size:11pt;"> 提取码: 7s2p </span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">诚通网盘:</span><a href="http://ctfile.gfdgdxi.top/d/31540479-58659214-0732a8?p=2061"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">http://ctfile.gfdgdxi.top/d/31540479-58659214-0732a8?p=2061</span></a><span style=" font-size:11pt;"> (访问密码: 2061)</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">123网盘:</span><a href="https://www.123pan.com/s/pDSKVv-uCBWv.html"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://www.123pan.com/s/pDSKVv-uCBWv.html</span></a></p> <hr /></body></html></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="141"/> - <source>安装/使用帮助</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="mainwindow.ui" line="150"/> + <location filename="mainwindow.ui" line="283"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10.5pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">给小白的一段话</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">其实本质上跑完安装程序就没有然后了,顶多如果想要运行舒服一点点,可以安装加强功能,直接拉到最底下看就可以了</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">其实本质上跑完安装程序就没有然后了,顶多如果想要运行舒服一点点,可以安装加强功能,直接拉到最底下看就可以了,<span style=" font-weight:600; font-style:italic; text-decoration: underline;">只限使用 VirtualBox</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; font-style:italic; text-decoration: underline;">如果你是用非 X86 PC,那暂时只能使用 qemu(没 kvm),且跨架构的性能损失很大,推荐使用 Windows XP 而非 Windows 7</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">如果爱折腾的话,下面的都看看也无所谓的,想看往下翻就可以了</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">(如果鼠标被锁定到里面了按下键盘右边的“Ctrl”键就可以了)</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">(这里的帮助更新可能不会那么及时,更详细/新的帮助可以看:https://gitee.com/gfdgd-xi/deep-wine-runner/wikis 或 https://gitee.com/gfdgd-xi/wine-runner-wiki)</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">(如果鼠标被锁定到里面了按下键盘右边的“Ctrl”键就可以了,<span style=" font-weight:600; font-style:italic; text-decoration: underline;">qemu则是 Ctrl+Alt+G</span> )</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">VirtualBox 可以安装增强功能以优化体验,安装方法往下翻即可查询</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Qemu 可以安装 Virtio 以优化体验,下载链接:<a href="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/</span></a></p> <hr /> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p> @@ -118,7 +199,7 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">3、在这里修改即可</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox_20220712223705.png" /></p> <hr /> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">安装加强功能有什么好处?</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">安装加强功能有什么好处?(只限使用 VirtualBox)</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1、支持鼠标自由从虚拟机和实体机切换</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2、支持虚拟机根据窗口大小自动设置分辨率</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3、支持文件共享、剪切板共享、文件拖放</p> @@ -142,13 +223,7 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="224"/> - <location filename="mainwindow.ui" line="313"/> - <source>关于</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="mainwindow.ui" line="281"/> + <location filename="mainwindow.ui" line="421"/> <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -159,18 +234,159 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">项目地址:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Gitee:<a href="https://gitee.com/gfdgd-xi/deep-wine-runner"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://gitee.com/gfdgd-xi/deep-wine-runner</span></a></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Github:<a href="https://github.com/gfdgd-xi/deep-wine-runner"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://github.com/gfdgd-xi/deep-wine-runner</span></a></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> Gitlink:<a href="https://gitlink.org.cn/gfdgd_xi/deep-wine-runner"><span style=" font-size:11pt; text-decoration: underline; color:#0082fa;">https://gitlink.org.cn/gfdgd_xi/deep-wine-runner</span></a></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">此组件也有非常大的缺点,就是相比于 Wine,会需要占用大量的空间、安装需要大量的时间、某些情况下需要相比于 Wine 需要消耗更多的系统资源,但可以更加完美、流畅的运行 Windows 应用,会尽量减少因为缺少或未实现导致的 Windows exe 程序运行异常</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">该组件制作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">该组件制作者:gfdgd xi</p> <hr /> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">参考文献:</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Droid Sans Mono','monospace','monospace'; font-size:11pt; color:#6a9955;">https://juejin.cn/post/7080484519328874510</span></p></body></html></source> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.ui" line="308"/> + <location filename="mainwindow.ui" line="463"/> + <source>虚拟机</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="487"/> + <source>导入/覆盖</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="492"/> + <source>导出</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="497"/> + <source>虚拟机安装日志</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="502"/> + <source>虚拟机运行日志</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="507"/> + <source>虚拟机测试(X86、Qemu)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="512"/> + <source>强制停止 VirtualBox</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="517"/> + <source>强制停止 Qemu</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="75"/> + <location filename="mainwindow.ui" line="79"/> + <source>Windows 7 32 位(支持自动安装)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="84"/> + <source>Windows 7 64 位(支持自动安装)</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="232"/> + <source>安装</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="274"/> + <source>安装/使用帮助</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="364"/> + <location filename="mainwindow.ui" line="482"/> + <source>关于</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="mainwindow.ui" line="477"/> <source>退出</source> <translation type="unfinished"></translation> </message> </context> +<context> + <name>QemuSetting</name> + <message> + <location filename="qemusetting.ui" line="14"/> + <source>设置</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="35"/> + <source><h3>远程服务</h3></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="42"/> + <source>VNC服务端口:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="49"/> + <source>开启 rdp 服务映射</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="56"/> + <source>内存大小(MB):</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="90"/> + <source><h3>基础设置</h3></source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="97"/> + <source>开启VNC服务</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="104"/> + <source>开启 kvm 加速</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="111"/> + <source>CPU核心数:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="125"/> + <source>开启声音</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="145"/> + <source>保存</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="158"/> + <source>取消</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="171"/> + <source>重置 +默认</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="qemusetting.ui" line="185"/> + <source>获取 +Wine +运行器</source> + <translation type="unfinished"></translation> + </message> +</context> </TS>