SFGame_Tool/mainui.ui
shileiye f3ce17779b 优化UI
增加JAVA环境配置
增加VC运行库安装
增加检测升级功能
2022-01-05 02:31:10 +08:00

682 lines
17 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>561</width>
<height>551</height>
</rect>
</property>
<property name="mouseTracking">
<bool>false</bool>
</property>
<property name="windowTitle">
<string>牛叉游戏部署工具 v1.0</string>
</property>
<property name="windowIcon">
<iconset resource="icon.qrc">
<normaloff>:/icon/src/icon/dengdai.svg</normaloff>:/icon/src/icon/dengdai.svg</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>520</width>
<height>100</height>
</rect>
</property>
<property name="title">
<string>基本设置</string>
</property>
<widget class="QPushButton" name="saveSetButton">
<property name="geometry">
<rect>
<x>420</x>
<y>30</y>
<width>75</width>
<height>52</height>
</rect>
</property>
<property name="text">
<string>保存</string>
</property>
</widget>
<widget class="QLineEdit" name="newGameInput">
<property name="geometry">
<rect>
<x>70</x>
<y>60</y>
<width>120</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>输入新名称</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>210</x>
<y>60</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>新IP</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="newIpInput">
<property name="geometry">
<rect>
<x>270</x>
<y>60</y>
<width>120</width>
<height>20</height>
</rect>
</property>
<property name="placeholderText">
<string>输入IP</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>新名称:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="nowIpLabel">
<property name="geometry">
<rect>
<x>270</x>
<y>30</y>
<width>120</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(53, 132, 17);</string>
</property>
<property name="text">
<string>255.255.255.255</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>游戏名称:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="nowGameLabel">
<property name="geometry">
<rect>
<x>70</x>
<y>30</y>
<width>120</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(53, 132, 17);</string>
</property>
<property name="text">
<string>XX游戏</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>210</x>
<y>30</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>游戏IP</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>281</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>基础服务</string>
</property>
<widget class="QPushButton" name="nginxButton">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>如正常启动Nginx和MySQL后网页报错或运行不正常可尝试安装VC运行库后再试</string>
</property>
<property name="text">
<string>启动Nginx</string>
</property>
</widget>
<widget class="QPushButton" name="mysqlButton">
<property name="geometry">
<rect>
<x>100</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>如正常启动Nginx和MySQL后网页报错或运行不正常可尝试安装VC运行库后再试</string>
</property>
<property name="text">
<string>启动MySql</string>
</property>
</widget>
<widget class="QPushButton" name="gameButton">
<property name="geometry">
<rect>
<x>190</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>启动游戏网关需一定时间,请耐心等待</string>
</property>
<property name="text">
<string>启动游戏</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_3">
<property name="geometry">
<rect>
<x>20</x>
<y>220</y>
<width>521</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>辅助工具</string>
</property>
<widget class="QPushButton" name="fanbianyiButton">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>反编译的APK路径d</string>
</property>
<property name="text">
<string>反编译APK</string>
</property>
</widget>
<widget class="QPushButton" name="shengchengButton">
<property name="geometry">
<rect>
<x>100</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>生成的APK路径d</string>
</property>
<property name="text">
<string>生成APK</string>
</property>
</widget>
<widget class="QPushButton" name="qianmingButton">
<property name="geometry">
<rect>
<x>190</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>签名后的APK路径d</string>
</property>
<property name="text">
<string>APK签名</string>
</property>
</widget>
<widget class="QPushButton" name="heidisqlButton">
<property name="geometry">
<rect>
<x>280</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>一款免费开源的MySQL客户端</string>
</property>
<property name="text">
<string>HeidiSQL</string>
</property>
</widget>
<widget class="QPushButton" name="msvbcrtButton">
<property name="geometry">
<rect>
<x>370</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>如正常启动Nginx和MySQL后网页报错或运行不正常可尝试安装VC运行库后再试</string>
</property>
<property name="text">
<string>VC运行库</string>
</property>
</widget>
</widget>
<widget class="QTextEdit" name="CMDtextEdit">
<property name="geometry">
<rect>
<x>20</x>
<y>320</y>
<width>521</width>
<height>180</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 0, 0);
color: rgb(40, 255, 16);</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;准备就绪,请在上方进行操作,部分操作进程和结果会在此处显示。&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_4">
<property name="geometry">
<rect>
<x>310</x>
<y>130</y>
<width>231</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>游戏相关</string>
</property>
<widget class="QPushButton" name="gmurlButton">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;网址http://127.0.0.1:81/gm&lt;br/&gt;帐号admin&lt;br/&gt;密码123456&lt;br/&gt;校验码123456&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>GM后台</string>
</property>
</widget>
<widget class="QPushButton" name="yyurlButton">
<property name="geometry">
<rect>
<x>100</x>
<y>20</y>
<width>80</width>
<height>45</height>
</rect>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;网址http://127.0.0.1:81/gm&lt;br/&gt;帐号admin&lt;br/&gt;密码123456&lt;br/&gt;校验码123456&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>运营后台</string>
</property>
</widget>
</widget>
<widget class="QLabel" name="copyLabel">
<property name="geometry">
<rect>
<x>250</x>
<y>520</y>
<width>211</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(150, 150, 150);</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;牛叉游戏部署工具 v1.0 By&lt;a href=&quot;https://shileiye.com&quot;&gt;&lt;span style=&quot; text-decoration: none; color:#0000ff;&quot;&gt;shileiye&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="upButton">
<property name="geometry">
<rect>
<x>470</x>
<y>520</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(150, 150, 150);</string>
</property>
<property name="text">
<string>检查新版</string>
</property>
</widget>
</widget>
</widget>
<tabstops>
<tabstop>newGameInput</tabstop>
<tabstop>newIpInput</tabstop>
<tabstop>saveSetButton</tabstop>
<tabstop>nginxButton</tabstop>
<tabstop>mysqlButton</tabstop>
<tabstop>gameButton</tabstop>
<tabstop>gmurlButton</tabstop>
<tabstop>yyurlButton</tabstop>
<tabstop>fanbianyiButton</tabstop>
<tabstop>shengchengButton</tabstop>
<tabstop>qianmingButton</tabstop>
<tabstop>heidisqlButton</tabstop>
<tabstop>msvbcrtButton</tabstop>
<tabstop>CMDtextEdit</tabstop>
<tabstop>upButton</tabstop>
</tabstops>
<resources>
<include location="icon.qrc"/>
</resources>
<connections>
<connection>
<sender>saveSetButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>477</x>
<y>75</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>166</y>
</hint>
</hints>
</connection>
<connection>
<sender>shengchengButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>159</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>166</y>
</hint>
</hints>
</connection>
<connection>
<sender>qianmingButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>249</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>166</y>
</hint>
</hints>
</connection>
<connection>
<sender>nginxButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>69</x>
<y>172</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>166</y>
</hint>
</hints>
</connection>
<connection>
<sender>mysqlButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>159</x>
<y>172</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>166</y>
</hint>
</hints>
</connection>
<connection>
<sender>gameButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>249</x>
<y>172</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>166</y>
</hint>
</hints>
</connection>
<connection>
<sender>fanbianyiButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>69</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>166</y>
</hint>
</hints>
</connection>
<connection>
<sender>heidisqlButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>339</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>264</y>
</hint>
</hints>
</connection>
<connection>
<sender>newIpInput</sender>
<signal>returnPressed()</signal>
<receiver>saveSetButton</receiver>
<slot>click()</slot>
<hints>
<hint type="sourcelabel">
<x>349</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
<x>477</x>
<y>75</y>
</hint>
</hints>
</connection>
<connection>
<sender>newGameInput</sender>
<signal>returnPressed()</signal>
<receiver>saveSetButton</receiver>
<slot>click()</slot>
<hints>
<hint type="sourcelabel">
<x>149</x>
<y>89</y>
</hint>
<hint type="destinationlabel">
<x>477</x>
<y>75</y>
</hint>
</hints>
</connection>
<connection>
<sender>gmurlButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>359</x>
<y>172</y>
</hint>
<hint type="destinationlabel">
<x>279</x>
<y>264</y>
</hint>
</hints>
</connection>
<connection>
<sender>yyurlButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>449</x>
<y>172</y>
</hint>
<hint type="destinationlabel">
<x>280</x>
<y>264</y>
</hint>
</hints>
</connection>
<connection>
<sender>msvbcrtButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>429</x>
<y>262</y>
</hint>
<hint type="destinationlabel">
<x>280</x>
<y>264</y>
</hint>
</hints>
</connection>
<connection>
<sender>upButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>lower()</slot>
<hints>
<hint type="sourcelabel">
<x>507</x>
<y>531</y>
</hint>
<hint type="destinationlabel">
<x>280</x>
<y>275</y>
</hint>
</hints>
</connection>
</connections>
</ui>