2011-07-28 22:55:48 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
2008-01-25 19:42:59 +01:00
<class>PrefsDialog</class>
2011-07-28 22:55:48 +02:00
<widget class="QDialog" name="PrefsDialog">
<property name="geometry">
2009-01-22 19:30:22 +01:00
<rect>
<x>0</x>
<y>0</y>
2012-01-26 20:57:43 +01:00
<width>443</width>
2012-04-27 20:21:58 +02:00
<height>784</height>
2009-01-22 19:30:22 +01:00
</rect>
</property>
2011-07-28 22:55:48 +02:00
<property name="windowTitle">
<string>_("Preferences")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<layout class="QVBoxLayout">
2008-01-25 19:42:59 +01:00
<item>
2011-07-28 22:55:48 +02:00
<widget class="QGroupBox" name="groupBoxInterface">
<property name="title">
<string>_("Interface")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<layout class="QVBoxLayout" name="verticalLayout_2">
2008-01-26 17:58:46 +01:00
<item>
2011-07-28 22:55:48 +02:00
<layout class="QHBoxLayout">
2008-01-26 17:58:46 +01:00
<item>
2011-07-28 22:55:48 +02:00
<widget class="QLabel" name="label_4">
<property name="text">
<string>_("Dictionary path:")</string>
2008-01-26 17:58:46 +01:00
</property>
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<widget class="QLineEdit" name="lineEditIntfDicPath">
<property name="minimumSize">
2008-09-05 23:31:30 +02:00
<size>
2009-01-04 18:39:27 +01:00
<width>140</width>
2008-09-05 23:31:30 +02:00
<height>0</height>
</size>
</property>
2011-07-28 22:55:48 +02:00
<property name="toolTip">
<string>_("Enter the dictionary path (mandatory to start a game)")</string>
2008-01-26 17:58:46 +01:00
</property>
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<widget class="QPushButton" name="pushButtonIntfDicBrowse">
<property name="toolTip">
<string>_("Open a browser window to choose the dictionary")</string>
2008-01-26 17:58:46 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="text">
<string>_("Browse...")</string>
2008-01-26 17:58:46 +01:00
</property>
</widget>
</item>
</layout>
</item>
2009-01-04 18:39:27 +01:00
<item>
2011-07-28 22:55:48 +02:00
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>_("Definitions site:")</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEditDefSite"/>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="checkBoxIntfShowPoints">
<property name="toolTip">
<string>_("Show/hide the tiles points on the board.")</string>
2009-01-04 18:39:27 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="text">
<string>_("Display tiles points")</string>
2009-01-04 18:39:27 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="checked">
2009-01-04 18:39:27 +01:00
<bool>true</bool>
</property>
</widget>
</item>
2008-01-25 19:42:59 +01:00
<item>
2011-07-28 22:55:48 +02:00
<widget class="QCheckBox" name="checkBoxIntfAlignHistory">
<property name="toolTip">
<string>_("If checked, the game and player histories will display the rack and the corresponding solution on the same line")</string>
2008-01-26 17:58:46 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="text">
<string>_("Align the rack and the solution in history")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="checked">
2008-01-25 19:42:59 +01:00
<bool>true</bool>
</property>
2008-12-08 22:37:02 +01:00
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<widget class="QCheckBox" name="checkBoxIntfWarnReplayTurn">
<property name="toolTip">
<string>_("If checked, a confirmation will be requested before replaying the game from a given turn. If unchecked, the action is performed without confirmation.")</string>
2008-12-14 14:20:38 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="text">
<string>_("Warn before replaying a turn")</string>
2008-12-08 22:37:02 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="checked">
2008-12-08 22:37:02 +01:00
<bool>true</bool>
</property>
2008-01-25 19:42:59 +01:00
</widget>
</item>
2011-12-30 19:33:48 +01:00
<item>
2012-01-26 20:57:43 +01:00
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>_("Timer total duration (in seconds):")</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>_("Timer alert (in seconds):")</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinBoxTimerTotal">
<property name="maximum">
<number>999</number>
</property>
<property name="value">
<number>180</number>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="spinBoxTimerAlert">
<property name="minimum">
<number>-1</number>
</property>
<property name="maximum">
<number>999</number>
</property>
<property name="value">
<number>30</number>
</property>
</widget>
2012-04-19 08:31:31 +02:00
</item>
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="checkBoxTimerBeeps">
<property name="text">
<string>_("Timer beeps")</string>
</property>
</widget>
2012-01-26 20:57:43 +01:00
</item>
2012-04-27 20:21:58 +02:00
<item row="1" column="2">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2011-12-30 19:33:48 +01:00
</layout>
</item>
2008-01-25 19:42:59 +01:00
</layout>
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<widget class="QGroupBox" name="groupBoxDuplicate">
<property name="title">
<string>_("Duplicate mode")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<layout class="QGridLayout" name="gridLayout">
2011-12-30 19:33:48 +01:00
<item row="0" column="0" colspan="3">
2011-07-28 22:55:48 +02:00
<widget class="QCheckBox" name="checkBoxDuplRefuseInvalid">
<property name="toolTip">
<string>_("If checked, playing an invalid or misplaced word will not be possible. If unchecked, you will get 0 point and lose your turn")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="text">
<string>_("Refuse to play invalid moves")</string>
2008-01-25 19:42:59 +01:00
</property>
</widget>
</item>
2011-07-28 22:55:48 +02:00
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>_("Min. players for a solo:")</string>
2009-01-04 18:39:27 +01:00
</property>
</widget>
2008-01-25 19:42:59 +01:00
</item>
2011-07-28 22:55:48 +02:00
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>_("Solo value:")</string>
2009-01-04 18:39:27 +01:00
</property>
</widget>
</item>
2011-07-28 22:55:48 +02:00
<item row="3" column="1">
<widget class="QSpinBox" name="spinBoxDuplSoloValue">
<property name="toolTip">
<string>_("Value of the solo bonus. Set it to 0 if you don't want solo bonus")</string>
2009-01-04 18:39:27 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="value">
2009-01-04 18:39:27 +01:00
<number>10</number>
</property>
</widget>
</item>
2011-07-28 22:55:48 +02:00
<item row="2" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
2009-01-04 18:39:27 +01:00
<enum>Qt::Horizontal</enum>
</property>
2011-07-28 22:55:48 +02:00
<property name="sizeHint" stdset="0">
2009-01-04 18:39:27 +01:00
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2011-07-28 22:55:48 +02:00
<item row="2" column="1">
<widget class="QSpinBox" name="spinBoxDuplSoloPlayers">
<property name="toolTip">
<string>_("Minimum number of players needed to take into account the solo bonus")</string>
2009-01-04 18:39:27 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="value">
2009-01-04 18:39:27 +01:00
<number>16</number>
</property>
</widget>
2008-01-25 19:42:59 +01:00
</item>
</layout>
2009-01-04 18:39:27 +01:00
<zorder>checkBoxDuplRefuseInvalid</zorder>
<zorder>label_2</zorder>
<zorder>label_3</zorder>
<zorder>spinBoxDuplSoloValue</zorder>
<zorder>horizontalSpacer</zorder>
<zorder>spinBoxDuplSoloPlayers</zorder>
2008-01-25 19:42:59 +01:00
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<widget class="QGroupBox" name="groupBoxFreeGame">
<property name="title">
<string>_("Free game mode")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<layout class="QVBoxLayout">
2008-01-25 19:42:59 +01:00
<item>
2011-07-28 22:55:48 +02:00
<widget class="QCheckBox" name="checkBoxFreeRefuseInvalid">
<property name="toolTip">
<string>_("If checked, playing an invalid or misplaced word will not be possible. If unchecked, you will get 0 point and lose your turn")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<property name="text">
<string>_("Refuse to play invalid moves")</string>
2008-01-25 19:42:59 +01:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<widget class="QGroupBox" name="groupBoxTraining">
<property name="title">
<string>_("Training mode")</string>
2008-01-25 19:42:59 +01:00
</property>
2011-07-28 22:55:48 +02:00
<layout class="QVBoxLayout" name="verticalLayout">
2009-01-22 19:30:22 +01:00
<item>
2011-07-28 22:55:48 +02:00
<layout class="QHBoxLayout" name="horizontalLayout">
2009-01-22 19:30:22 +01:00
<item>
2011-07-28 22:55:48 +02:00
<widget class="QLabel" name="label">
<property name="text">
<string>_("Search results limit:")</string>
2009-01-22 19:30:22 +01:00
</property>
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<widget class="QSpinBox" name="spinBoxTrainSearchLimit">
<property name="maximum">
2009-01-22 19:30:22 +01:00
<number>100000</number>
</property>
2011-07-28 22:55:48 +02:00
<property name="value">
2009-01-22 19:30:22 +01:00
<number>100</number>
</property>
</widget>
</item>
<item>
2011-07-28 22:55:48 +02:00
<spacer name="horizontalSpacer_2">
<property name="orientation">
2009-01-22 19:30:22 +01:00
<enum>Qt::Horizontal</enum>
</property>
2011-07-28 22:55:48 +02:00
<property name="sizeHint" stdset="0">
2009-01-22 19:30:22 +01:00
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
2008-01-25 19:42:59 +01:00
</layout>
</widget>
</item>
2012-03-05 01:27:56 +01:00
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>_("Arbitration mode")</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="checkBoxArbitAutoMaster">
<property name="text">
<string>_("Choose a Master move automatically")</string>
</property>
</widget>
</item>
2012-04-16 23:02:11 +02:00
<item>
<widget class="QCheckBox" name="checkBoxArbitFillRack">
<property name="text">
<string>_("Propose a new rack automatically")</string>
</property>
</widget>
</item>
2012-03-05 01:27:56 +01:00
<item>
<widget class="QCheckBox" name="checkBoxArbitLink7P1">
<property name="toolTip">
<string>_("If checked, any change to the player rack in training mode will update the 'Plus 1' tab of the 'Dictionary tools' window")</string>
</property>
<property name="text">
<string>_("Copy rack to the 'Plus 1' dictionary tool")</string>
</property>
</widget>
</item>
2012-03-05 22:15:42 +01:00
<item>
2012-03-24 22:35:13 +01:00
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
2012-03-05 22:15:42 +01:00
<widget class="QLabel" name="label_9">
<property name="text">
<string>_("Search results limit:")</string>
</property>
</widget>
</item>
2012-03-24 22:35:13 +01:00
<item row="0" column="2">
2012-03-05 22:15:42 +01:00
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2012-03-24 22:35:13 +01:00
<item row="0" column="1">
<widget class="QSpinBox" name="spinBoxArbitSearchLimit">
<property name="maximum">
<number>100000</number>
</property>
<property name="value">
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>_("Default penalty value:")</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="spinBoxArbitDefPenalty">
<property name="toolTip">
<string>_("Default number of points for a penalty")</string>
</property>
<property name="maximum">
<number>100000</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</item>
2012-03-05 22:15:42 +01:00
</layout>
</item>
2012-03-05 01:27:56 +01:00
</layout>
</widget>
</item>
2008-01-25 19:42:59 +01:00
<item>
2011-07-28 22:55:48 +02:00
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
2008-01-25 19:42:59 +01:00
<enum>Qt::Horizontal</enum>
</property>
2011-07-28 22:55:48 +02:00
<property name="standardButtons">
2008-08-31 13:48:11 +02:00
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
2008-01-25 19:42:59 +01:00
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
2009-01-04 18:39:27 +01:00
<tabstop>lineEditIntfDicPath</tabstop>
<tabstop>pushButtonIntfDicBrowse</tabstop>
2011-07-28 22:55:48 +02:00
<tabstop>lineEditDefSite</tabstop>
2009-01-04 18:39:27 +01:00
<tabstop>checkBoxIntfShowPoints</tabstop>
2008-01-25 19:42:59 +01:00
<tabstop>checkBoxIntfAlignHistory</tabstop>
2009-01-04 18:39:27 +01:00
<tabstop>checkBoxIntfWarnReplayTurn</tabstop>
2012-01-26 20:57:43 +01:00
<tabstop>spinBoxTimerTotal</tabstop>
<tabstop>spinBoxTimerAlert</tabstop>
2008-01-25 19:42:59 +01:00
<tabstop>checkBoxDuplRefuseInvalid</tabstop>
<tabstop>spinBoxDuplSoloPlayers</tabstop>
<tabstop>spinBoxDuplSoloValue</tabstop>
<tabstop>checkBoxFreeRefuseInvalid</tabstop>
2011-07-28 22:55:48 +02:00
<tabstop>spinBoxTrainSearchLimit</tabstop>
2012-03-05 22:15:42 +01:00
<tabstop>checkBoxArbitAutoMaster</tabstop>
<tabstop>checkBoxArbitLink7P1</tabstop>
2008-01-25 19:42:59 +01:00
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>PrefsDialog</receiver>
<slot>accept()</slot>
<hints>
2011-07-28 22:55:48 +02:00
<hint type="sourcelabel">
2012-03-24 22:35:13 +01:00
<x>266</x>
<y>746</y>
2008-01-25 19:42:59 +01:00
</hint>
2011-07-28 22:55:48 +02:00
<hint type="destinationlabel">
2008-01-25 19:42:59 +01:00
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>PrefsDialog</receiver>
<slot>reject()</slot>
<hints>
2011-07-28 22:55:48 +02:00
<hint type="sourcelabel">
2012-03-24 22:35:13 +01:00
<x>334</x>
<y>746</y>
2008-01-25 19:42:59 +01:00
</hint>
2011-07-28 22:55:48 +02:00
<hint type="destinationlabel">
2008-01-25 19:42:59 +01:00
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>