You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/kspaceduel/general.ui

338 lines
12 KiB

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>General</class>
<widget class="TQWidget">
<property name="name">
<cstring>General</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>512</width>
<height>488</height>
</rect>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>groupBox3</cstring>
</property>
<property name="frameShape">
<enum>GroupBoxPanel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="title">
<string>Hit Points</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLCDNumber" row="1" column="2">
<property name="name">
<cstring>lCDNumber2</cstring>
</property>
<property name="numDigits">
<number>2</number>
</property>
<property name="value" stdset="0">
<number>99</number>
</property>
</widget>
<widget class="TQLCDNumber" row="0" column="2">
<property name="name">
<cstring>lCDNumber1</cstring>
</property>
<property name="numDigits">
<number>2</number>
</property>
<property name="value" stdset="0">
<number>99</number>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Red player:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Blue player:</string>
</property>
</widget>
<widget class="TQSlider" row="1" column="1">
<property name="name">
<cstring>kcfg_StartHitPoints1</cstring>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="TQSlider" row="0" column="1">
<property name="name">
<cstring>kcfg_StartHitPoints0</cstring>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>groupBox4</cstring>
</property>
<property name="title">
<string>Graphics</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel5</cstring>
</property>
<property name="text">
<string>Refresh time:</string>
</property>
</widget>
<widget class="TQSlider">
<property name="name">
<cstring>kcfg_RefreshTime</cstring>
</property>
<property name="minValue">
<number>10</number>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="value">
<number>33</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="TQLCDNumber">
<property name="name">
<cstring>lCDNumber3</cstring>
</property>
<property name="numDigits">
<number>3</number>
</property>
<property name="value" stdset="0">
<number>33</number>
</property>
</widget>
</hbox>
</widget>
<spacer row="3" column="1">
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>91</height>
</size>
</property>
</spacer>
<widget class="TQGroupBox" row="2" column="0">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Red Player</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_Player0IsAi</cstring>
</property>
<property name="text">
<string>Player is AI</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Difficulty:</string>
</property>
</widget>
<widget class="TQComboBox" row="1" column="1">
<item>
<property name="text">
<string>Trainee</string>
</property>
</item>
<item>
<property name="text">
<string>Normal</string>
</property>
</item>
<item>
<property name="text">
<string>Hard</string>
</property>
</item>
<item>
<property name="text">
<string>Insane</string>
</property>
</item>
<property name="name">
<cstring>kcfg_AiDifficulty0</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="currentItem">
<number>1</number>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="2" column="1">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Blue Player</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_Player1IsAi</cstring>
</property>
<property name="text">
<string>Player is AI</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Difficulty:</string>
</property>
</widget>
<widget class="TQComboBox" row="1" column="1">
<item>
<property name="text">
<string>Trainee</string>
</property>
</item>
<item>
<property name="text">
<string>Normal</string>
</property>
</item>
<item>
<property name="text">
<string>Hard</string>
</property>
</item>
<item>
<property name="text">
<string>Insane</string>
</property>
</item>
<property name="name">
<cstring>kcfg_AiDifficulty1</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="currentItem">
<number>1</number>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>kcfg_StartHitPoints0</sender>
<signal>valueChanged(int)</signal>
<receiver>lCDNumber1</receiver>
<slot>display(int)</slot>
</connection>
<connection>
<sender>kcfg_StartHitPoints1</sender>
<signal>valueChanged(int)</signal>
<receiver>lCDNumber2</receiver>
<slot>display(int)</slot>
</connection>
<connection>
<sender>kcfg_RefreshTime</sender>
<signal>valueChanged(int)</signal>
<receiver>lCDNumber3</receiver>
<slot>display(int)</slot>
</connection>
<connection>
<sender>kcfg_Player0IsAi</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel1</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_Player0IsAi</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_AiDifficulty0</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_Player1IsAi</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_Player1IsAi</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_AiDifficulty1</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>