1 Star 0 Fork 27

peterblass/Sanmill

forked from calcitem/直棋 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gamewindow.ui 43.66 KB
一键复制 编辑 原始数据 按行查看 历史
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MillGameWindowClass</class>
<widget class="QMainWindow" name="MillGameWindowClass">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>685</width>
<height>739</height>
</rect>
</property>
<property name="windowTitle">
<string>The Mill Game</string>
</property>
<widget class="QWidget" name="centralWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>3</horstretch>
<verstretch>3</verstretch>
</sizepolicy>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<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>Player:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>AI:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="GameView" name="gameView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>10</horstretch>
<verstretch>10</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>240</width>
<height>240</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-image: url(:/image/resources/image/background.png);</string>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="pushButton_newGame">
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 127);</string>
</property>
<property name="text">
<string>New Game</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_resign">
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 127);</string>
</property>
<property name="text">
<string>Resign</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>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(0, 0, 127);</string>
</property>
<property name="text">
<string>Undo Move</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>Arial</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>Hint</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>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>685</width>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menu_F">
<property name="title">
<string>File</string>
</property>
<addaction name="actionNew_N"/>
<addaction name="actionOpen_O"/>
<addaction name="actionSave_S"/>
<addaction name="actionSaveAs_A"/>
<addaction name="separator"/>
<addaction name="actionExit_X"/>
</widget>
<widget class="QMenu" name="menu_C">
<property name="title">
<string>Position</string>
</property>
<addaction name="actionEdit_E"/>
<addaction name="separator"/>
<addaction name="actionFlip_F"/>
<addaction name="actionMirror_M"/>
<addaction name="actionTurnRight_R"/>
<addaction name="actionTurnLeft_L"/>
<addaction name="actionInvert_I"/>
</widget>
<widget class="QMenu" name="menu_M">
<property name="title">
<string>Step</string>
</property>
<addaction name="actionBegin_S"/>
<addaction name="actionPrevious_B"/>
<addaction name="actionNext_F"/>
<addaction name="actionEnd_E"/>
<addaction name="actionAutoRun_A"/>
<addaction name="separator"/>
<addaction name="actionResign_G"/>
<addaction name="separator"/>
</widget>
<widget class="QMenu" name="menu_E">
<property name="title">
<string>Engines</string>
</property>
<addaction name="actionEngine_E"/>
<addaction name="actionLocal_L"/>
<addaction name="actionEngineFight_E"/>
<addaction name="actionInternet_I"/>
<addaction name="separator"/>
<addaction name="actionEngine1_T"/>
<addaction name="actionEngine2_R"/>
<addaction name="separator"/>
<addaction name="actionAutoChangeFirstMove_C"/>
</widget>
<widget class="QMenu" name="menu_O">
<property name="title">
<string>Options</string>
</property>
<addaction name="actionSetting_O"/>
<addaction name="separator"/>
<addaction name="actionFixWindowSize"/>
<addaction name="actionToolBar_T"/>
<addaction name="actionDockBar_D"/>
<addaction name="actionMusic_M"/>
<addaction name="separator"/>
<addaction name="actionSound_S"/>
<addaction name="actionAnimation_A"/>
<addaction name="separator"/>
<addaction name="actionResignIfMostLose_G"/>
<addaction name="actionAutoRestart_A"/>
<addaction name="actionShuffling_R"/>
<addaction name="separator"/>
<addaction name="actionDeveloperMode"/>
</widget>
<widget class="QMenu" name="menu_H">
<property name="title">
<string>Help</string>
</property>
<addaction name="actionViewHelp_V"/>
<addaction name="actionWeb_W"/>
<addaction name="actionAbout_A"/>
</widget>
<widget class="QMenu" name="menu_R">
<property name="title">
<string>Rules</string>
</property>
<addaction name="separator"/>
<addaction name="actionLimited_T"/>
<addaction name="separator"/>
</widget>
<widget class="QMenu" name="menu_A">
<property name="title">
<string>AI</string>
</property>
<addaction name="actionAlphaBetaAlgorithm"/>
<addaction name="actionPvsAlgorithm"/>
<addaction name="actionMtdfAlgorithm"/>
<addaction name="actionPerfect_AI"/>
<addaction name="separator"/>
<addaction name="actionDrawOnHumanExperience"/>
<addaction name="actionConsiderMobility"/>
<addaction name="actionIDS_I"/>
<addaction name="actionDepthExtension_D"/>
<addaction name="actionAiIsLazy"/>
<addaction name="actionOpeningBook_O"/>
<addaction name="actionLearnEndgame_E"/>
</widget>
<addaction name="menu_F"/>
<addaction name="menu_C"/>
<addaction name="menu_M"/>
<addaction name="menu_R"/>
<addaction name="menu_E"/>
<addaction name="menu_A"/>
<addaction name="menu_O"/>
<addaction name="menu_H"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<property name="windowTitle">
<string>Tool Bar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionNew_N"/>
<addaction name="actionOpen_O"/>
<addaction name="actionSave_S"/>
<addaction name="separator"/>
<addaction name="actionEdit_E"/>
<addaction name="separator"/>
<addaction name="actionBegin_S"/>
<addaction name="actionPrevious_B"/>
<addaction name="actionNext_F"/>
<addaction name="actionEnd_E"/>
<addaction name="actionAutoRun_A"/>
<addaction name="separator"/>
<addaction name="actionEngine1_T"/>
<addaction name="actionEngine2_R"/>
<addaction name="actionLocal_L"/>
<addaction name="actionInternet_I"/>
</widget>
<widget class="QDockWidget" name="dockWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">QLCDNumber {
color: lightgreen;
background-color: rgb(32, 32, 32);
}</string>
</property>
<property name="floating">
<bool>false</bool>
</property>
<property name="allowedAreas">
<set>Qt::AllDockWidgetAreas</set>
</property>
<property name="windowTitle">
<string>Move History</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QSplitter" name="splitter">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>1</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<widget class="QLabel" name="picLabel1">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/White.png</pixmap>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label1">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>3</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Player 1</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLCDNumber" name="lcdNumber_1">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>9</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
<property name="value" stdset="0">
<double>0.000000000000000</double>
</property>
<property name="intValue" stdset="0">
<number>0</number>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>1</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<widget class="QLabel" name="picLabel2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/Black.png</pixmap>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>3</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Player 2</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLCDNumber" name="lcdNumber_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>9</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
<property name="value" stdset="0">
<double>0.000000000000000</double>
</property>
<property name="intValue" stdset="0">
<number>0</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelGamesPlayed">
<property name="font">
<font>
<family>Arial</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Played:</string>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="scoreLcdNumber_GamesPlayed">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>5</number>
</property>
<property name="value" stdset="0">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelScore">
<property name="font">
<font>
<family>Arial</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Score:</string>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="scoreLcdNumber_1">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>5</number>
</property>
<property name="value" stdset="0">
<double>0.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="scoreLcdNumber_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="digitCount">
<number>5</number>
</property>
<property name="mode">
<enum>QLCDNumber::Dec</enum>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="scoreLcdNumber_draw">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>5</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelWinningRate">
<property name="font">
<font>
<family>Arial</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string>Win Rate:</string>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="winningRateLcdNumber_1">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>5</number>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="winningRateLcdNumber_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>5</number>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="winningRateLcdNumber_draw">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>5</number>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="labelInfo">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="gamewindow.qrc">:/icon/resources/icon/Help.png</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelRule">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>8</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>AmdtSymbols</family>
<pointsize>7</pointsize>
</font>
</property>
<property name="text">
<string>rule</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="MoveListView" name="listView">
<property name="font">
<font>
<pointsize>7</pointsize>
</font>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actionNew_N">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/DocumentHS.png</normaloff>:/icon/resources/icon/DocumentHS.png</iconset>
</property>
<property name="text">
<string>New Game</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionOpen_O">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/OpenHS.png</normaloff>:/icon/resources/icon/OpenHS.png</iconset>
</property>
<property name="text">
<string>Load Game...</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionSave_S">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
</property>
<property name="text">
<string>Save Game...</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="actionSaveAs_A">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/SaveHS.png</normaloff>:/icon/resources/icon/SaveHS.png</iconset>
</property>
<property name="text">
<string>Save Game As...</string>
</property>
</action>
<action name="actionExit_X">
<property name="text">
<string>Exit</string>
</property>
</action>
<action name="actionEdit_E">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/EditTableHS.png</normaloff>:/icon/resources/icon/EditTableHS.png</iconset>
</property>
<property name="text">
<string>Set-up a Position</string>
</property>
</action>
<action name="actionFlip_F">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/FlipVerticalHS.png</normaloff>:/icon/resources/icon/FlipVerticalHS.png</iconset>
</property>
<property name="text">
<string>Flip</string>
</property>
</action>
<action name="actionMirror_M">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/FlipHorizontalHS.png</normaloff>:/icon/resources/icon/FlipHorizontalHS.png</iconset>
</property>
<property name="text">
<string>Mirror</string>
</property>
</action>
<action name="actionTurnRight_R">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/RightHS.png</normaloff>:/icon/resources/icon/RightHS.png</iconset>
</property>
<property name="text">
<string>Turn Right</string>
</property>
<property name="toolTip">
<string>Turn Left</string>
</property>
</action>
<action name="actionTurnLeft_L">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/LeftHS.png</normaloff>:/icon/resources/icon/LeftHS.png</iconset>
</property>
<property name="text">
<string>Turn Left</string>
</property>
<property name="toolTip">
<string>Turn Left</string>
</property>
</action>
<action name="actionInvert_I">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Invert.png</normaloff>:/icon/resources/icon/Invert.png</iconset>
</property>
<property name="text">
<string>Invert</string>
</property>
</action>
<action name="actionBegin_S">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/First.png</normaloff>:/icon/resources/icon/First.png</iconset>
</property>
<property name="text">
<string>Back to Start</string>
</property>
<property name="toolTip">
<string>Back to Start</string>
</property>
<property name="shortcut">
<string>Ctrl+Up</string>
</property>
</action>
<action name="actionPrevious_B">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Previous.png</normaloff>:/icon/resources/icon/Previous.png</iconset>
</property>
<property name="text">
<string>Backward</string>
</property>
<property name="shortcut">
<string>Ctrl+Left</string>
</property>
</action>
<action name="actionNext_F">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Next.png</normaloff>:/icon/resources/icon/Next.png</iconset>
</property>
<property name="text">
<string>Forward</string>
</property>
<property name="toolTip">
<string>Forward</string>
</property>
<property name="shortcut">
<string>Ctrl+Right</string>
</property>
</action>
<action name="actionEnd_E">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Last.png</normaloff>:/icon/resources/icon/Last.png</iconset>
</property>
<property name="text">
<string>Forward to End</string>
</property>
<property name="shortcut">
<string>Ctrl+Down</string>
</property>
</action>
<action name="actionAutoRun_A">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Play.png</normaloff>:/icon/resources/icon/Play.png</iconset>
</property>
<property name="text">
<string>Replay</string>
</property>
<property name="toolTip">
<string>Replay</string>
</property>
</action>
<action name="actionResign_G">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/BreakpointHS.png</normaloff>:/icon/resources/icon/BreakpointHS.png</iconset>
</property>
<property name="text">
<string>Resign</string>
</property>
</action>
<action name="actionLimited_T">
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>Step/Time Control...</string>
</property>
<property name="toolTip">
<string>Step/Time Control</string>
</property>
</action>
<action name="actionLocal_L">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/FullScreenHS.png</normaloff>:/icon/resources/icon/FullScreenHS.png</iconset>
</property>
<property name="text">
<string>Play Locally</string>
</property>
<property name="toolTip">
<string>Play Locally</string>
</property>
</action>
<action name="actionInternet_I">
<property name="checkable">
<bool>true</bool>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Web.png</normaloff>:/icon/resources/icon/Web.png</iconset>
</property>
<property name="text">
<string>Play via Network</string>
</property>
<property name="toolTip">
<string>Play via Network</string>
</property>
</action>
<action name="actionEngine_E">
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/OptionsHS.png</normaloff>:/icon/resources/icon/OptionsHS.png</iconset>
</property>
<property name="text">
<string>...</string>
</property>
<property name="toolTip">
<string>Engine Settings</string>
</property>
</action>
<action name="actionEngine1_T">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/White.png</normaloff>:/icon/resources/icon/White.png</iconset>
</property>
<property name="text">
<string>AI Moves First</string>
</property>
<property name="toolTip">
<string>AI Moves First</string>
</property>
</action>
<action name="actionEngine2_R">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Black.png</normaloff>:/icon/resources/icon/Black.png</iconset>
</property>
<property name="text">
<string>AI Moves Second</string>
</property>
<property name="toolTip">
<string>AI Moves Second</string>
</property>
</action>
<action name="actionSetting_O">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/PrimaryKeyHS.png</normaloff>:/icon/resources/icon/PrimaryKeyHS.png</iconset>
</property>
<property name="text">
<string>Options...</string>
</property>
</action>
<action name="actionFixWindowSize">
<property name="checkable">
<bool>true</bool>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Fix Window Size</string>
</property>
</action>
<action name="actionToolBar_T">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Tool Bar</string>
</property>
</action>
<action name="actionDockBar_D">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Move History</string>
</property>
</action>
<action name="actionMusic_M">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Music</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
<action name="actionSound_S">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Sound</string>
</property>
</action>
<action name="actionAnimation_A">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Animation</string>
</property>
<property name="toolTip">
<string>Animation</string>
</property>
</action>
<action name="actionViewHelp_V">
<property name="enabled">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/Help.png</normaloff>:/icon/resources/icon/Help.png</iconset>
</property>
<property name="text">
<string>Help</string>
</property>
<property name="shortcut">
<string>F1</string>
</property>
</action>
<action name="actionWeb_W">
<property name="enabled">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="gamewindow.qrc">
<normaloff>:/icon/resources/icon/HomeHS.png</normaloff>:/icon/resources/icon/HomeHS.png</iconset>
</property>
<property name="text">
<string>Homepage</string>
</property>
<property name="toolTip">
<string>Homepage</string>
</property>
</action>
<action name="actionAbout_A">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>About...</string>
</property>
<property name="toolTip">
<string>About</string>
</property>
</action>
<action name="actionAutoRestart_A">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Auto Restart Game</string>
</property>
</action>
<action name="actionShuffling_R">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Shuffle</string>
</property>
</action>
<action name="actionResignIfMostLose_G">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>Auto Resign</string>
</property>
</action>
<action name="actionLearnEndgame_E">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>Endgame Learning (WIP)</string>
</property>
</action>
<action name="actionEngineFight_E">
<property name="text">
<string>Play via Shared Memory</string>
</property>
</action>
<action name="actionAutoChangeFirstMove_C">
<property name="checkable">
<bool>false</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Auto Change Who Play First (WIP)</string>
</property>
</action>
<action name="actionIDS_I">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>IDS</string>
</property>
</action>
<action name="actionDepthExtension_D">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Depth Extension</string>
</property>
</action>
<action name="actionOpeningBook_O">
<property name="checkable">
<bool>false</bool>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Opening Book (WIP)</string>
</property>
</action>
<action name="actionAlphaBetaAlgorithm">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>Alpha-Beta Algorithm </string>
</property>
</action>
<action name="actionPvsAlgorithm">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>PVS Algorithm</string>
</property>
</action>
<action name="actionMtdfAlgorithm">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>MTD(f) Algorithm</string>
</property>
</action>
<action name="actionPerfect_AI">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>Perfect AI</string>
</property>
</action>
<action name="actionAiIsLazy">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Lazy Mode</string>
</property>
</action>
<action name="actionDrawOnHumanExperience">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Draw On Human Experience</string>
</property>
</action>
<action name="actionConsiderMobility">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>Consider Mobility of Pieces</string>
</property>
</action>
<action name="actionDeveloperMode">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="text">
<string>Developer Mode</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>GameView</class>
<extends>QGraphicsView</extends>
<header>gameview.h</header>
</customwidget>
<customwidget>
<class>MoveListView</class>
<extends>QListView</extends>
<header>movelistview.h</header>
</customwidget>
</customwidgets>
<resources>
<include location="gamewindow.qrc"/>
</resources>
<connections>
<connection>
<sender>actionDockBar_D</sender>
<signal>toggled(bool)</signal>
<receiver>dockWidget</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>507</x>
<y>214</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionToolBar_T</sender>
<signal>toggled(bool)</signal>
<receiver>mainToolBar</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>289</x>
<y>28</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionExit_X</sender>
<signal>triggered()</signal>
<receiver>MillGameWindowClass</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>289</x>
<y>207</y>
</hint>
</hints>
</connection>
<connection>
<sender>mainToolBar</sender>
<signal>visibilityChanged(bool)</signal>
<receiver>actionToolBar_T</receiver>
<slot>setChecked(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>280</x>
<y>47</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>dockWidget</sender>
<signal>visibilityChanged(bool)</signal>
<receiver>actionDockBar_D</receiver>
<slot>setChecked(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>421</x>
<y>267</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
</connections>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/omg8966/Sanmill.git
git@gitee.com:omg8966/Sanmill.git
omg8966
Sanmill
Sanmill
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385