1 Star 0 Fork 5

T-Zone/AI欢乐斗地主

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MainWindow.ui 6.47 KB
一键复制 编辑 原始数据 按行查看 历史
天启 提交于 2021-07-14 00:36 . 'v2.0'
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>440</width>
<height>395</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>9</pointsize>
<weight>75</weight>
<italic>false</italic>
<bold>true</bold>
</font>
</property>
<property name="windowTitle">
<string>DouZero for 欢乐斗地主</string>
</property>
<widget class="QLabel" name="WinRate">
<property name="geometry">
<rect>
<x>240</x>
<y>180</y>
<width>171</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>胜率:--%</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="InitCard">
<property name="geometry">
<rect>
<x>60</x>
<y>330</y>
<width>121</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>开始</string>
</property>
</widget>
<widget class="QLabel" name="UserHandCards">
<property name="geometry">
<rect>
<x>10</x>
<y>260</y>
<width>421</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>手牌</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QFrame" name="LPlayer">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>201</width>
<height>61</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="LPlayedCard">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>201</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>上家出牌区域</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<widget class="QFrame" name="RPlayer">
<property name="geometry">
<rect>
<x>230</x>
<y>80</y>
<width>201</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="RPlayedCard">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>201</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>下家出牌区域</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<widget class="QFrame" name="Player">
<property name="geometry">
<rect>
<x>40</x>
<y>180</y>
<width>171</width>
<height>61</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="PredictedCard">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>171</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>AI出牌区域</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</widget>
<widget class="QLabel" name="ThreeLandlordCards">
<property name="geometry">
<rect>
<x>140</x>
<y>10</y>
<width>161</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="text">
<string>三张底牌</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="Stop">
<property name="geometry">
<rect>
<x>260</x>
<y>330</y>
<width>111</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>停止</string>
</property>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>InitCard</sender>
<signal>clicked()</signal>
<receiver>Form</receiver>
<slot>init_cards()</slot>
<hints>
<hint type="sourcelabel">
<x>185</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>250</x>
<y>292</y>
</hint>
</hints>
</connection>
<connection>
<sender>Stop</sender>
<signal>clicked()</signal>
<receiver>Form</receiver>
<slot>stop()</slot>
<hints>
<hint type="sourcelabel">
<x>200</x>
<y>244</y>
</hint>
<hint type="destinationlabel">
<x>233</x>
<y>220</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>init_cards()</slot>
<slot>start()</slot>
<slot>stop()</slot>
</slots>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/T-Zone/ai-happy-fight-landlord.git
git@gitee.com:T-Zone/ai-happy-fight-landlord.git
T-Zone
ai-happy-fight-landlord
AI欢乐斗地主
master

搜索帮助