mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-28 09:58:15 +01:00
264 lines
7.2 KiB
XML
264 lines
7.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>NewGameDialog</class>
|
|
<widget class="QDialog" name="NewGameDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>600</width>
|
|
<height>459</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>_("New game")</string>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>_("Game type")</string>
|
|
</property>
|
|
<layout class="QHBoxLayout">
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>_("Mode:")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="spacing">
|
|
<number>4</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButtonDuplicate">
|
|
<property name="text">
|
|
<string>_("Duplicate")</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButtonFreeGame">
|
|
<property name="text">
|
|
<string>_("Free game")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButtonTraining">
|
|
<property name="text">
|
|
<string>_("Training")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButtonArbitration">
|
|
<property name="text">
|
|
<string>_("Arbitration (duplicate)")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButtonTopping">
|
|
<property name="text">
|
|
<string>_("Topping")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>16</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>_("Variant:")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxJoker">
|
|
<property name="text">
|
|
<string>_("Joker game")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxExplosive">
|
|
<property name="text">
|
|
<string>_("Explosive game")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBox7Among8">
|
|
<property name="text">
|
|
<string>_("7 among 8")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxPlayers">
|
|
<property name="title">
|
|
<string>_("Players")</string>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QTableWidget" name="tablePlayers"/>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="pushButtonAdd">
|
|
<property name="text">
|
|
<string>_("Add &player")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonAddFav">
|
|
<property name="text">
|
|
<string>_("Add &favorite players...")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<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="buttonUp">
|
|
<property name="toolTip">
|
|
<string>_("Move selection upwards")</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../eliot.qrc">
|
|
<normaloff>:/images/go-up.png</normaloff>:/images/go-up.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonDown">
|
|
<property name="toolTip">
|
|
<string>_("Move selection downwards")</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../eliot.qrc">
|
|
<normaloff>:/images/go-down.png</normaloff>:/images/go-down.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>radioButtonDuplicate</tabstop>
|
|
<tabstop>radioButtonFreeGame</tabstop>
|
|
<tabstop>radioButtonTraining</tabstop>
|
|
<tabstop>checkBoxJoker</tabstop>
|
|
<tabstop>checkBoxExplosive</tabstop>
|
|
<tabstop>checkBox7Among8</tabstop>
|
|
<tabstop>pushButtonAdd</tabstop>
|
|
<tabstop>buttonAddFav</tabstop>
|
|
<tabstop>tablePlayers</tabstop>
|
|
<tabstop>buttonBox</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../eliot.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>NewGameDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>194</x>
|
|
<y>309</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>173</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>NewGameDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>101</x>
|
|
<y>298</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>75</x>
|
|
<y>275</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|