2011-08-27 20:00:37 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
2008-01-20 19:40:12 +01:00
|
|
|
<class>NewGameDialog</class>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QDialog" name="NewGameDialog">
|
|
|
|
<property name="geometry">
|
2008-01-20 19:40:12 +01:00
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2012-04-05 07:46:23 +02:00
|
|
|
<width>600</width>
|
2012-12-30 16:14:13 +01:00
|
|
|
<height>471</height>
|
2008-01-20 19:40:12 +01:00
|
|
|
</rect>
|
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="windowTitle">
|
|
|
|
<string>_("New game")</string>
|
2008-01-20 19:40:12 +01:00
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="modal">
|
2008-01-20 19:40:12 +01:00
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2008-01-20 19:40:12 +01:00
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>_("Game type")</string>
|
2008-01-20 19:40:12 +01:00
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<layout class="QHBoxLayout">
|
|
|
|
<property name="topMargin">
|
2009-01-15 19:33:32 +01:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="bottomMargin">
|
2009-01-15 19:33:32 +01:00
|
|
|
<number>4</number>
|
|
|
|
</property>
|
2008-01-20 19:40:12 +01:00
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Mode:")</string>
|
2008-01-20 19:40:12 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>4</number>
|
|
|
|
</property>
|
2008-01-20 19:40:12 +01:00
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QRadioButton" name="radioButtonDuplicate">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Duplicate")</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2008-01-20 19:40:12 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QRadioButton" name="radioButtonFreeGame">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Free game")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2008-01-20 19:40:12 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QRadioButton" name="radioButtonTraining">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Training")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2008-01-20 19:40:12 +01:00
|
|
|
</item>
|
2012-03-05 01:27:56 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButtonArbitration">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Arbitration (duplicate)")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2012-12-25 17:30:03 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="radioButtonTopping">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Topping")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-08-27 20:00:37 +02:00
|
|
|
</layout>
|
2008-01-20 19:40:12 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="orientation">
|
2008-01-20 19:40:12 +01:00
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="sizeHint" stdset="0">
|
2008-01-20 19:40:12 +01:00
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>26</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Variant:")</string>
|
2008-01-20 19:40:12 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-01-15 19:33:32 +01:00
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<property name="spacing">
|
2009-01-15 19:33:32 +01:00
|
|
|
<number>2</number>
|
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="topMargin">
|
2009-01-15 19:33:32 +01:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QCheckBox" name="checkBoxJoker">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Joker game")</string>
|
2009-01-15 19:33:32 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QCheckBox" name="checkBoxExplosive">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Explosive game")</string>
|
2009-01-15 19:33:32 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-08-27 19:21:26 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBox7Among8">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("7 among 8")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-01-15 19:33:32 +01:00
|
|
|
</layout>
|
|
|
|
</item>
|
2008-01-20 19:40:12 +01:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2012-12-30 16:14:13 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBoxMaster">
|
|
|
|
<property name="title">
|
|
|
|
<string>_("Master game")</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBoxUseMaster">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Use a master game")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widgetMasterControls" native="true">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Saved game to use:")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="lineEditMaster"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="buttonBrowseMaster">
|
|
|
|
<property name="text">
|
|
|
|
<string>_("Browse...")</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2008-01-20 19:40:12 +01:00
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QGroupBox" name="groupBoxPlayers">
|
|
|
|
<property name="title">
|
|
|
|
<string>_("Players")</string>
|
2008-01-20 19:40:12 +01:00
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<layout class="QVBoxLayout">
|
2008-01-20 19:40:12 +01:00
|
|
|
<item>
|
2012-02-16 21:59:01 +01:00
|
|
|
<widget class="QTableWidget" name="tablePlayers"/>
|
2008-01-20 19:40:12 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<layout class="QHBoxLayout">
|
2008-01-20 19:40:12 +01:00
|
|
|
<item>
|
2012-02-18 00:36:36 +01:00
|
|
|
<widget class="QPushButton" name="pushButtonAdd">
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="text">
|
2012-04-05 07:46:23 +02:00
|
|
|
<string>_("Add &player")</string>
|
2008-09-03 19:28:27 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2008-01-20 19:40:12 +01:00
|
|
|
<item>
|
2012-02-18 00:36:36 +01:00
|
|
|
<widget class="QPushButton" name="buttonAddFav">
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="text">
|
2012-04-05 07:46:23 +02:00
|
|
|
<string>_("Add &favorite players...")</string>
|
2008-01-20 19:40:12 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="orientation">
|
2008-01-20 19:40:12 +01:00
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="sizeHint" stdset="0">
|
2008-01-20 19:40:12 +01:00
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2012-12-29 17:29:36 +01:00
|
|
|
<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>
|
2008-01-20 19:40:12 +01:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-08-27 20:00:37 +02:00
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
2008-01-20 19:40:12 +01:00
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
2011-08-27 20:00:37 +02:00
|
|
|
<property name="standardButtons">
|
2008-08-31 13:48:11 +02:00
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
2008-01-20 19:40:12 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2012-02-18 00:36:36 +01:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>radioButtonDuplicate</tabstop>
|
|
|
|
<tabstop>radioButtonFreeGame</tabstop>
|
|
|
|
<tabstop>radioButtonTraining</tabstop>
|
2012-12-30 16:14:13 +01:00
|
|
|
<tabstop>radioButtonArbitration</tabstop>
|
|
|
|
<tabstop>radioButtonTopping</tabstop>
|
2012-02-18 00:36:36 +01:00
|
|
|
<tabstop>checkBoxJoker</tabstop>
|
|
|
|
<tabstop>checkBoxExplosive</tabstop>
|
|
|
|
<tabstop>checkBox7Among8</tabstop>
|
2012-12-30 16:14:13 +01:00
|
|
|
<tabstop>checkBoxUseMaster</tabstop>
|
|
|
|
<tabstop>lineEditMaster</tabstop>
|
|
|
|
<tabstop>buttonBrowseMaster</tabstop>
|
2012-02-18 00:36:36 +01:00
|
|
|
<tabstop>pushButtonAdd</tabstop>
|
|
|
|
<tabstop>buttonAddFav</tabstop>
|
2012-12-30 16:14:13 +01:00
|
|
|
<tabstop>buttonUp</tabstop>
|
|
|
|
<tabstop>buttonDown</tabstop>
|
2012-02-18 00:36:36 +01:00
|
|
|
<tabstop>tablePlayers</tabstop>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
2012-12-29 17:29:36 +01:00
|
|
|
<resources>
|
|
|
|
<include location="../eliot.qrc"/>
|
|
|
|
</resources>
|
2008-01-20 19:40:12 +01:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>NewGameDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
2011-08-27 20:00:37 +02:00
|
|
|
<hint type="sourcelabel">
|
2012-12-30 16:14:13 +01:00
|
|
|
<x>203</x>
|
|
|
|
<y>461</y>
|
2008-01-20 19:40:12 +01:00
|
|
|
</hint>
|
2011-08-27 20:00:37 +02:00
|
|
|
<hint type="destinationlabel">
|
2008-01-20 19:40:12 +01:00
|
|
|
<x>173</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>NewGameDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
2011-08-27 20:00:37 +02:00
|
|
|
<hint type="sourcelabel">
|
2012-12-30 16:14:13 +01:00
|
|
|
<x>110</x>
|
|
|
|
<y>461</y>
|
2008-01-20 19:40:12 +01:00
|
|
|
</hint>
|
2011-08-27 20:00:37 +02:00
|
|
|
<hint type="destinationlabel">
|
2008-01-20 19:40:12 +01:00
|
|
|
<x>75</x>
|
|
|
|
<y>275</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|