AppUI: Merge two pro and ui files
This commit is contained in:
parent
9c32d9417c
commit
65dce2627f
|
@ -7,7 +7,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>491</width>
|
<width>491</width>
|
||||||
<height>418</height>
|
<height>432</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</iconset>
|
<normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/ic_menu_black_48dp.png</normaloff>:/icon/resources/icon/ic_menu_black_48dp.png</iconset>
|
<normaloff>:/icon/resources/icon/ic_menu_black_48dp.png</normaloff>:/icon/resources/icon/ic_menu_black_48dp.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
<string>新局</string>
|
<string>新局</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/ic_radio_button_on_black_48dp.png</normaloff>:/icon/resources/icon/ic_radio_button_on_black_48dp.png</iconset>
|
<normaloff>:/icon/resources/icon/ic_radio_button_on_black_48dp.png</normaloff>:/icon/resources/icon/ic_radio_button_on_black_48dp.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
|
@ -152,7 +152,7 @@
|
||||||
<string>认输</string>
|
<string>认输</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/ic_flag_black_48dp.png</normaloff>:/icon/resources/icon/ic_flag_black_48dp.png</iconset>
|
<normaloff>:/icon/resources/icon/ic_flag_black_48dp.png</normaloff>:/icon/resources/icon/ic_flag_black_48dp.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
<string>悔棋</string>
|
<string>悔棋</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</iconset>
|
<normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
|
@ -206,7 +206,7 @@
|
||||||
<string>提示</string>
|
<string>提示</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/ic_visibility_black_48dp.png</normaloff>:/icon/resources/icon/ic_visibility_black_48dp.png</iconset>
|
<normaloff>:/icon/resources/icon/ic_visibility_black_48dp.png</normaloff>:/icon/resources/icon/ic_visibility_black_48dp.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
<property name="iconSize">
|
||||||
|
@ -227,7 +227,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>491</width>
|
<width>491</width>
|
||||||
<height>17</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menu_F">
|
<widget class="QMenu" name="menu_F">
|
||||||
|
@ -417,7 +417,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="ninechesswindow.qrc">:/icon/resources/icon/Black.png</pixmap>
|
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/Black.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -498,7 +498,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="ninechesswindow.qrc">:/icon/resources/icon/White.png</pixmap>
|
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/White.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -641,7 +641,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="ninechesswindow.qrc">:/icon/resources/icon/Help.png</pixmap>
|
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/Help.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -685,7 +685,7 @@
|
||||||
<widget class="QStatusBar" name="statusBar"/>
|
<widget class="QStatusBar" name="statusBar"/>
|
||||||
<action name="actionNew_N">
|
<action name="actionNew_N">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/DocumentHS.png</normaloff>:/icon/resources/icon/DocumentHS.png</iconset>
|
<normaloff>:/icon/resources/icon/DocumentHS.png</normaloff>:/icon/resources/icon/DocumentHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -700,7 +700,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionOpen_O">
|
<action name="actionOpen_O">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/OpenHS.png</normaloff>:/icon/resources/icon/OpenHS.png</iconset>
|
<normaloff>:/icon/resources/icon/OpenHS.png</normaloff>:/icon/resources/icon/OpenHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -712,7 +712,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSave_S">
|
<action name="actionSave_S">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -724,7 +724,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSaveAs_A">
|
<action name="actionSaveAs_A">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -741,7 +741,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/EditTableHS.png</normaloff>:/icon/resources/icon/EditTableHS.png</iconset>
|
<normaloff>:/icon/resources/icon/EditTableHS.png</normaloff>:/icon/resources/icon/EditTableHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -750,7 +750,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionFlip_F">
|
<action name="actionFlip_F">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/FlipVerticalHS.png</normaloff>:/icon/resources/icon/FlipVerticalHS.png</iconset>
|
<normaloff>:/icon/resources/icon/FlipVerticalHS.png</normaloff>:/icon/resources/icon/FlipVerticalHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -759,7 +759,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionMirror_M">
|
<action name="actionMirror_M">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/FlipHorizontalHS.png</normaloff>:/icon/resources/icon/FlipHorizontalHS.png</iconset>
|
<normaloff>:/icon/resources/icon/FlipHorizontalHS.png</normaloff>:/icon/resources/icon/FlipHorizontalHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -768,7 +768,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionTurnRight_R">
|
<action name="actionTurnRight_R">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/RightHS.png</normaloff>:/icon/resources/icon/RightHS.png</iconset>
|
<normaloff>:/icon/resources/icon/RightHS.png</normaloff>:/icon/resources/icon/RightHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -780,7 +780,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionTurnLeftt_L">
|
<action name="actionTurnLeftt_L">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/LeftHS.png</normaloff>:/icon/resources/icon/LeftHS.png</iconset>
|
<normaloff>:/icon/resources/icon/LeftHS.png</normaloff>:/icon/resources/icon/LeftHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -798,7 +798,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Invert.png</normaloff>:/icon/resources/icon/Invert.png</iconset>
|
<normaloff>:/icon/resources/icon/Invert.png</normaloff>:/icon/resources/icon/Invert.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -807,7 +807,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionBegin_S">
|
<action name="actionBegin_S">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/First.png</normaloff>:/icon/resources/icon/First.png</iconset>
|
<normaloff>:/icon/resources/icon/First.png</normaloff>:/icon/resources/icon/First.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -822,7 +822,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionPrevious_B">
|
<action name="actionPrevious_B">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Previous.png</normaloff>:/icon/resources/icon/Previous.png</iconset>
|
<normaloff>:/icon/resources/icon/Previous.png</normaloff>:/icon/resources/icon/Previous.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -834,7 +834,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionNext_F">
|
<action name="actionNext_F">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Next.png</normaloff>:/icon/resources/icon/Next.png</iconset>
|
<normaloff>:/icon/resources/icon/Next.png</normaloff>:/icon/resources/icon/Next.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -849,7 +849,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEnd_E">
|
<action name="actionEnd_E">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Last.png</normaloff>:/icon/resources/icon/Last.png</iconset>
|
<normaloff>:/icon/resources/icon/Last.png</normaloff>:/icon/resources/icon/Last.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -864,7 +864,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Play.png</normaloff>:/icon/resources/icon/Play.png</iconset>
|
<normaloff>:/icon/resources/icon/Play.png</normaloff>:/icon/resources/icon/Play.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -876,7 +876,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionGiveUp_G">
|
<action name="actionGiveUp_G">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/BreakpointHS.png</normaloff>:/icon/resources/icon/BreakpointHS.png</iconset>
|
<normaloff>:/icon/resources/icon/BreakpointHS.png</normaloff>:/icon/resources/icon/BreakpointHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -902,7 +902,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/FullScreenHS.png</normaloff>:/icon/resources/icon/FullScreenHS.png</iconset>
|
<normaloff>:/icon/resources/icon/FullScreenHS.png</normaloff>:/icon/resources/icon/FullScreenHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -920,7 +920,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Web.png</normaloff>:/icon/resources/icon/Web.png</iconset>
|
<normaloff>:/icon/resources/icon/Web.png</normaloff>:/icon/resources/icon/Web.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -932,7 +932,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEngine_E">
|
<action name="actionEngine_E">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/OptionsHS.png</normaloff>:/icon/resources/icon/OptionsHS.png</iconset>
|
<normaloff>:/icon/resources/icon/OptionsHS.png</normaloff>:/icon/resources/icon/OptionsHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -950,7 +950,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Black.png</normaloff>:/icon/resources/icon/Black.png</iconset>
|
<normaloff>:/icon/resources/icon/Black.png</normaloff>:/icon/resources/icon/Black.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -965,7 +965,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/White.png</normaloff>:/icon/resources/icon/White.png</iconset>
|
<normaloff>:/icon/resources/icon/White.png</normaloff>:/icon/resources/icon/White.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -980,7 +980,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/PrimaryKeyHS.png</normaloff>:/icon/resources/icon/PrimaryKeyHS.png</iconset>
|
<normaloff>:/icon/resources/icon/PrimaryKeyHS.png</normaloff>:/icon/resources/icon/PrimaryKeyHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -1053,7 +1053,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Help.png</normaloff>:/icon/resources/icon/Help.png</iconset>
|
<normaloff>:/icon/resources/icon/Help.png</normaloff>:/icon/resources/icon/Help.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -1068,7 +1068,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="ninechesswindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/HomeHS.png</normaloff>:/icon/resources/icon/HomeHS.png</iconset>
|
<normaloff>:/icon/resources/icon/HomeHS.png</normaloff>:/icon/resources/icon/HomeHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -1104,7 +1104,7 @@
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="ninechesswindow.qrc"/>
|
<include location="gamewindow.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
228
gamewindow.ui
228
gamewindow.ui
|
@ -7,7 +7,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>491</width>
|
<width>491</width>
|
||||||
<height>418</height>
|
<height>432</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -24,6 +24,63 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_back">
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="gamewindow.qrc">
|
||||||
|
<normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_option">
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="gamewindow.qrc">
|
||||||
|
<normaloff>:/icon/resources/icon/ic_menu_black_48dp.png</normaloff>:/icon/resources/icon/ic_menu_black_48dp.png</iconset>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>玩家:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>电脑:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="GameView" name="gameView">
|
<widget class="GameView" name="gameView">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
|
@ -49,6 +106,119 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_newGame">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>黑体</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(0, 0, 127);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>新局</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="gamewindow.qrc">
|
||||||
|
<normaloff>:/icon/resources/icon/ic_radio_button_on_black_48dp.png</normaloff>:/icon/resources/icon/ic_radio_button_on_black_48dp.png</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>24</width>
|
||||||
|
<height>24</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_giveUp">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>黑体</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(0, 0, 127);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>认输</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="gamewindow.qrc">
|
||||||
|
<normaloff>:/icon/resources/icon/ic_flag_black_48dp.png</normaloff>:/icon/resources/icon/ic_flag_black_48dp.png</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>24</width>
|
||||||
|
<height>24</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_retractMove">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>黑体</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(0, 0, 127);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>悔棋</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="gamewindow.qrc">
|
||||||
|
<normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</normaloff>:/icon/resources/icon/ic_reply_black_48dp.png</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>24</width>
|
||||||
|
<height>24</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_hint">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>黑体</family>
|
||||||
|
<pointsize>12</pointsize>
|
||||||
|
<strikeout>false</strikeout>
|
||||||
|
<stylestrategy>PreferDefault</stylestrategy>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(0, 0, 127);</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>提示</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="gamewindow.qrc">
|
||||||
|
<normaloff>:/icon/resources/icon/ic_visibility_black_48dp.png</normaloff>:/icon/resources/icon/ic_visibility_black_48dp.png</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>24</width>
|
||||||
|
<height>24</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenuBar" name="menuBar">
|
<widget class="QMenuBar" name="menuBar">
|
||||||
|
@ -247,7 +417,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="millgamewindow.qrc">:/icon/resources/icon/Black.png</pixmap>
|
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/Black.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -328,7 +498,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="millgamewindow.qrc">:/icon/resources/icon/White.png</pixmap>
|
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/White.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
@ -471,7 +641,7 @@
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap resource="millgamewindow.qrc">:/icon/resources/icon/Help.png</pixmap>
|
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/Help.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -515,7 +685,7 @@
|
||||||
<widget class="QStatusBar" name="statusBar"/>
|
<widget class="QStatusBar" name="statusBar"/>
|
||||||
<action name="actionNew_N">
|
<action name="actionNew_N">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/DocumentHS.png</normaloff>:/icon/resources/icon/DocumentHS.png</iconset>
|
<normaloff>:/icon/resources/icon/DocumentHS.png</normaloff>:/icon/resources/icon/DocumentHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -530,7 +700,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionOpen_O">
|
<action name="actionOpen_O">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/OpenHS.png</normaloff>:/icon/resources/icon/OpenHS.png</iconset>
|
<normaloff>:/icon/resources/icon/OpenHS.png</normaloff>:/icon/resources/icon/OpenHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -542,7 +712,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSave_S">
|
<action name="actionSave_S">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -554,7 +724,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSaveAs_A">
|
<action name="actionSaveAs_A">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -571,7 +741,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/EditTableHS.png</normaloff>:/icon/resources/icon/EditTableHS.png</iconset>
|
<normaloff>:/icon/resources/icon/EditTableHS.png</normaloff>:/icon/resources/icon/EditTableHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -580,7 +750,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionFlip_F">
|
<action name="actionFlip_F">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/FlipVerticalHS.png</normaloff>:/icon/resources/icon/FlipVerticalHS.png</iconset>
|
<normaloff>:/icon/resources/icon/FlipVerticalHS.png</normaloff>:/icon/resources/icon/FlipVerticalHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -589,7 +759,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionMirror_M">
|
<action name="actionMirror_M">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/FlipHorizontalHS.png</normaloff>:/icon/resources/icon/FlipHorizontalHS.png</iconset>
|
<normaloff>:/icon/resources/icon/FlipHorizontalHS.png</normaloff>:/icon/resources/icon/FlipHorizontalHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -598,7 +768,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionTurnRight_R">
|
<action name="actionTurnRight_R">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/RightHS.png</normaloff>:/icon/resources/icon/RightHS.png</iconset>
|
<normaloff>:/icon/resources/icon/RightHS.png</normaloff>:/icon/resources/icon/RightHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -610,7 +780,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionTurnLeftt_L">
|
<action name="actionTurnLeftt_L">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/LeftHS.png</normaloff>:/icon/resources/icon/LeftHS.png</iconset>
|
<normaloff>:/icon/resources/icon/LeftHS.png</normaloff>:/icon/resources/icon/LeftHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -628,7 +798,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Invert.png</normaloff>:/icon/resources/icon/Invert.png</iconset>
|
<normaloff>:/icon/resources/icon/Invert.png</normaloff>:/icon/resources/icon/Invert.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -637,7 +807,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionBegin_S">
|
<action name="actionBegin_S">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/First.png</normaloff>:/icon/resources/icon/First.png</iconset>
|
<normaloff>:/icon/resources/icon/First.png</normaloff>:/icon/resources/icon/First.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -652,7 +822,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionPrevious_B">
|
<action name="actionPrevious_B">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Previous.png</normaloff>:/icon/resources/icon/Previous.png</iconset>
|
<normaloff>:/icon/resources/icon/Previous.png</normaloff>:/icon/resources/icon/Previous.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -664,7 +834,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionNext_F">
|
<action name="actionNext_F">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Next.png</normaloff>:/icon/resources/icon/Next.png</iconset>
|
<normaloff>:/icon/resources/icon/Next.png</normaloff>:/icon/resources/icon/Next.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -679,7 +849,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEnd_E">
|
<action name="actionEnd_E">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Last.png</normaloff>:/icon/resources/icon/Last.png</iconset>
|
<normaloff>:/icon/resources/icon/Last.png</normaloff>:/icon/resources/icon/Last.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -694,7 +864,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Play.png</normaloff>:/icon/resources/icon/Play.png</iconset>
|
<normaloff>:/icon/resources/icon/Play.png</normaloff>:/icon/resources/icon/Play.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -706,7 +876,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionGiveUp_G">
|
<action name="actionGiveUp_G">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/BreakpointHS.png</normaloff>:/icon/resources/icon/BreakpointHS.png</iconset>
|
<normaloff>:/icon/resources/icon/BreakpointHS.png</normaloff>:/icon/resources/icon/BreakpointHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -732,7 +902,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/FullScreenHS.png</normaloff>:/icon/resources/icon/FullScreenHS.png</iconset>
|
<normaloff>:/icon/resources/icon/FullScreenHS.png</normaloff>:/icon/resources/icon/FullScreenHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -750,7 +920,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Web.png</normaloff>:/icon/resources/icon/Web.png</iconset>
|
<normaloff>:/icon/resources/icon/Web.png</normaloff>:/icon/resources/icon/Web.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -762,7 +932,7 @@
|
||||||
</action>
|
</action>
|
||||||
<action name="actionEngine_E">
|
<action name="actionEngine_E">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/OptionsHS.png</normaloff>:/icon/resources/icon/OptionsHS.png</iconset>
|
<normaloff>:/icon/resources/icon/OptionsHS.png</normaloff>:/icon/resources/icon/OptionsHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -780,7 +950,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Black.png</normaloff>:/icon/resources/icon/Black.png</iconset>
|
<normaloff>:/icon/resources/icon/Black.png</normaloff>:/icon/resources/icon/Black.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -795,7 +965,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/White.png</normaloff>:/icon/resources/icon/White.png</iconset>
|
<normaloff>:/icon/resources/icon/White.png</normaloff>:/icon/resources/icon/White.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -810,7 +980,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/PrimaryKeyHS.png</normaloff>:/icon/resources/icon/PrimaryKeyHS.png</iconset>
|
<normaloff>:/icon/resources/icon/PrimaryKeyHS.png</normaloff>:/icon/resources/icon/PrimaryKeyHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -883,7 +1053,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/Help.png</normaloff>:/icon/resources/icon/Help.png</iconset>
|
<normaloff>:/icon/resources/icon/Help.png</normaloff>:/icon/resources/icon/Help.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -898,7 +1068,7 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="millgamewindow.qrc">
|
<iconset resource="gamewindow.qrc">
|
||||||
<normaloff>:/icon/resources/icon/HomeHS.png</normaloff>:/icon/resources/icon/HomeHS.png</iconset>
|
<normaloff>:/icon/resources/icon/HomeHS.png</normaloff>:/icon/resources/icon/HomeHS.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -934,7 +1104,7 @@
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="millgamewindow.qrc"/>
|
<include location="gamewindow.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
|
|
78
mill.pro
78
mill.pro
|
@ -1,78 +0,0 @@
|
||||||
QT += core gui \
|
|
||||||
multimedia
|
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
||||||
|
|
||||||
TARGET = mill
|
|
||||||
TEMPLATE = app
|
|
||||||
|
|
||||||
CONFIG += warn_off
|
|
||||||
|
|
||||||
INCLUDEPATH += src
|
|
||||||
INCLUDEPATH += include
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
src/client.cpp \
|
|
||||||
src/main.cpp \
|
|
||||||
src/boarditem.cpp \
|
|
||||||
src/gamecontroller.cpp \
|
|
||||||
src/gamescene.cpp \
|
|
||||||
src/gameview.cpp \
|
|
||||||
src/ninechess.cpp \
|
|
||||||
src/ninechessai_ab.cpp \
|
|
||||||
src/ninechesswindow.cpp \
|
|
||||||
src/pieceitem.cpp \
|
|
||||||
src/aithread.cpp \
|
|
||||||
src/server.cpp
|
|
||||||
|
|
||||||
HEADERS += \
|
|
||||||
include/config.h \
|
|
||||||
include/version.h \
|
|
||||||
include/version.h.template \
|
|
||||||
src/HashNode.h \
|
|
||||||
src/MemoryPool.h \
|
|
||||||
src/MemoryPool.tcc \
|
|
||||||
src/StackAlloc.h \
|
|
||||||
src/boarditem.h \
|
|
||||||
src/client.h \
|
|
||||||
src/gamecontroller.h \
|
|
||||||
src/gamescene.h \
|
|
||||||
src/gameview.h \
|
|
||||||
src/graphicsconst.h \
|
|
||||||
src/hashMap.h \
|
|
||||||
src/ninechess.h \
|
|
||||||
src/ninechessai_ab.h \
|
|
||||||
src/ninechesswindow.h \
|
|
||||||
src/pieceitem.h \
|
|
||||||
src/manuallistview.h \
|
|
||||||
src/aithread.h \
|
|
||||||
src/server.h \
|
|
||||||
src/zobrist.h
|
|
||||||
|
|
||||||
FORMS += \
|
|
||||||
millwindow.ui
|
|
||||||
|
|
||||||
RESOURCES += \
|
|
||||||
ninechesswindow.qrc
|
|
||||||
|
|
||||||
DISTFILES += \
|
|
||||||
NineChess.rc \
|
|
||||||
../Readme.md \
|
|
||||||
../Sample.txt \
|
|
||||||
../History.txt \
|
|
||||||
../Licence.txt \
|
|
||||||
version.sh
|
|
||||||
|
|
||||||
RC_FILE += NineChess.rc
|
|
||||||
|
|
||||||
# Mobile App support
|
|
||||||
DEFINES += MOBILE_APP_UI
|
|
||||||
|
|
||||||
# With C++17 support
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
||||||
CONFIG += c++17
|
|
||||||
#QMAKE_CXXFLAGS += -O0 -g3 -fsanitize=leak -fno-omit-frame-pointer
|
|
||||||
#QMAKE_LFLAGS += -fsanitize=leak
|
|
||||||
} else {
|
|
||||||
QMAKE_CXXFLAGS += -std=c++0x
|
|
||||||
}
|
|
163
millgame.pro
163
millgame.pro
|
@ -1,80 +1,83 @@
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
#
|
#
|
||||||
# Project created by QtCreator 2015-11-03T22:30:34
|
# Project created by QtCreator 2015-11-03T22:30:34
|
||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
QT += core gui \
|
QT += core gui \
|
||||||
multimedia
|
multimedia
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
TARGET = MillGame
|
TARGET = MillGame
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
CONFIG += warn_off
|
CONFIG += warn_off
|
||||||
|
|
||||||
INCLUDEPATH += include
|
INCLUDEPATH += include
|
||||||
INCLUDEPATH += src/base
|
INCLUDEPATH += src/base
|
||||||
INCLUDEPATH += src/ai
|
INCLUDEPATH += src/ai
|
||||||
INCLUDEPATH += src/game
|
INCLUDEPATH += src/game
|
||||||
INCLUDEPATH += src/ui/qt
|
INCLUDEPATH += src/ui/qt
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
src/game/millgame.cpp \
|
src/game/millgame.cpp \
|
||||||
src/main.cpp \
|
src/main.cpp \
|
||||||
src/base/thread.cpp \
|
src/base/thread.cpp \
|
||||||
src/ai/search.cpp \
|
src/ai/search.cpp \
|
||||||
src/ui/qt/gamewindow.cpp \
|
src/ui/qt/gamewindow.cpp \
|
||||||
src/ui/qt/pieceitem.cpp \
|
src/ui/qt/pieceitem.cpp \
|
||||||
src/ui/qt/server.cpp \
|
src/ui/qt/server.cpp \
|
||||||
src/ui/qt/boarditem.cpp \
|
src/ui/qt/boarditem.cpp \
|
||||||
src/ui/qt/gamecontroller.cpp \
|
src/ui/qt/gamecontroller.cpp \
|
||||||
src/ui/qt/gamescene.cpp \
|
src/ui/qt/gamescene.cpp \
|
||||||
src/ui/qt/gameview.cpp \
|
src/ui/qt/gameview.cpp \
|
||||||
src/ui/qt/client.cpp
|
src/ui/qt/client.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
include/config.h \
|
include/config.h \
|
||||||
include/version.h \
|
include/version.h \
|
||||||
include/version.h.template \
|
include/version.h.template \
|
||||||
src/base/HashNode.h \
|
src/base/HashNode.h \
|
||||||
src/base/hashMap.h \
|
src/base/hashMap.h \
|
||||||
src/base/MemoryPool.h \
|
src/base/MemoryPool.h \
|
||||||
src/base/MemoryPool.tcc \
|
src/base/MemoryPool.tcc \
|
||||||
src/base/stackalloc.h \
|
src/base/stackalloc.h \
|
||||||
src/base/thread.h \
|
src/base/thread.h \
|
||||||
src/ai/search.h \
|
src/ai/search.h \
|
||||||
src/ai/zobrist.h \
|
src/ai/zobrist.h \
|
||||||
src/game/millgame.h \
|
src/game/millgame.h \
|
||||||
src/ui/qt/client.h \
|
src/ui/qt/client.h \
|
||||||
src/ui/qt/gamecontroller.h \
|
src/ui/qt/gamecontroller.h \
|
||||||
src/ui/qt/gamescene.h \
|
src/ui/qt/gamescene.h \
|
||||||
src/ui/qt/gameview.h \
|
src/ui/qt/gameview.h \
|
||||||
src/ui/qt/gamewindow.h \
|
src/ui/qt/gamewindow.h \
|
||||||
src/ui/qt/graphicsconst.h \
|
src/ui/qt/graphicsconst.h \
|
||||||
src/ui/qt/pieceitem.h \
|
src/ui/qt/pieceitem.h \
|
||||||
src/ui/qt/manuallistview.h \
|
src/ui/qt/manuallistview.h \
|
||||||
src/ui/qt/server.h \
|
src/ui/qt/server.h \
|
||||||
src/ui/qt/boarditem.h
|
src/ui/qt/boarditem.h
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
gamewindow.ui
|
gamewindow.ui
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
gamewindow.qrc
|
gamewindow.qrc
|
||||||
|
|
||||||
DISTFILES += \
|
DISTFILES += \
|
||||||
MillGame.rc \
|
MillGame.rc \
|
||||||
version.sh
|
version.sh
|
||||||
|
|
||||||
RC_FILE += millgame.rc
|
RC_FILE += millgame.rc
|
||||||
|
|
||||||
# With C++17 support
|
# Mobile App support
|
||||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
#DEFINES += MOBILE_APP_UI
|
||||||
CONFIG += c++17
|
|
||||||
#QMAKE_CXXFLAGS += -O0 -g3 -fsanitize=leak -fno-omit-frame-pointer
|
# With C++17 support
|
||||||
#QMAKE_LFLAGS += -fsanitize=leak
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
} else {
|
CONFIG += c++17
|
||||||
QMAKE_CXXFLAGS += -std=c++0x
|
#QMAKE_CXXFLAGS += -O0 -g3 -fsanitize=leak -fno-omit-frame-pointer
|
||||||
}
|
#QMAKE_LFLAGS += -fsanitize=leak
|
||||||
|
} else {
|
||||||
|
QMAKE_CXXFLAGS += -std=c++0x
|
||||||
|
}
|
||||||
|
|
|
@ -324,6 +324,15 @@ void MillGameWindow::initialize()
|
||||||
#else /* MOBILE_APP_UI */
|
#else /* MOBILE_APP_UI */
|
||||||
int h = QApplication::desktop()->height();
|
int h = QApplication::desktop()->height();
|
||||||
this->resize(QSize(h * 3/4, h * 3/4));
|
this->resize(QSize(h * 3/4, h * 3/4));
|
||||||
|
|
||||||
|
ui.pushButton_back->setVisible(false);
|
||||||
|
ui.pushButton_option->setVisible(false);
|
||||||
|
ui.label_2->setVisible(false);
|
||||||
|
ui.label->setVisible(false);
|
||||||
|
ui.pushButton_newGame->setVisible(false);
|
||||||
|
ui.pushButton_giveUp->setVisible(false);
|
||||||
|
ui.pushButton_retractMove->setVisible(false);
|
||||||
|
ui.pushButton_hint->setVisible(false);
|
||||||
#endif /* MOBILE_APP_UI */
|
#endif /* MOBILE_APP_UI */
|
||||||
|
|
||||||
// 窗口最大化
|
// 窗口最大化
|
||||||
|
|
|
@ -30,11 +30,7 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#ifdef MOBILE_APP_UI
|
|
||||||
#include "ui_millwindow.h"
|
|
||||||
#else
|
|
||||||
#include "ui_gamewindow.h"
|
#include "ui_gamewindow.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
|
|
Loading…
Reference in New Issue