124 lines
3.4 KiB
XML
124 lines
3.4 KiB
XML
<ui version="4.0" >
|
|
<class>OptionDlg</class>
|
|
<widget class="QWidget" name="OptionDlg" >
|
|
<property name="windowModality" >
|
|
<enum>Qt::ApplicationModal</enum>
|
|
</property>
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>373</width>
|
|
<height>227</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Options</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout" >
|
|
<item row="0" column="0" colspan="2" >
|
|
<widget class="QGroupBox" name="groupBox" >
|
|
<property name="title" >
|
|
<string>Opponent</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2" >
|
|
<item>
|
|
<widget class="QRadioButton" name="rb_mode1" >
|
|
<property name="text" >
|
|
<string>Human vs. Human</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="rb_mode2" >
|
|
<property name="text" >
|
|
<string>Human vs. Computer</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="rb_mode3" >
|
|
<property name="text" >
|
|
<string>Computer vs. Human</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="rb_mode4" >
|
|
<property name="text" >
|
|
<string>Computer vs. Computer</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" >
|
|
<property name="sizeConstraint" >
|
|
<enum>QLayout::SetMinimumSize</enum>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Computer strength (recursion depth)</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>sb_aiStrength</cstring>
|
|
</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="QSpinBox" name="sb_aiStrength" >
|
|
<property name="alignment" >
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="minimum" >
|
|
<number>2</number>
|
|
</property>
|
|
<property name="maximum" >
|
|
<number>7</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QDialogButtonBox" name="buttonBox" >
|
|
<property name="standardButtons" >
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>rb_mode1</tabstop>
|
|
<tabstop>rb_mode2</tabstop>
|
|
<tabstop>rb_mode3</tabstop>
|
|
<tabstop>rb_mode4</tabstop>
|
|
<tabstop>sb_aiStrength</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|