mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-05 11:01:42 +01:00
f5bde7fb4e
- Display the Eliot icon - Improved printing - Allow changing the level of computer players - Generate automatically a default name for players - Translate Qt's own strings (only works on Linux at the moment)
313 lines
8.1 KiB
XML
313 lines
8.1 KiB
XML
<ui version="4.0" >
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>747</width>
|
|
<height>617</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Eliot</string>
|
|
</property>
|
|
<property name="windowIcon" >
|
|
<iconset resource="../eliot.qrc" >
|
|
<normaloff>:/images/eliot.xpm</normaloff>:/images/eliot.xpm</iconset>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>37</y>
|
|
<width>747</width>
|
|
<height>557</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxTest" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title" >
|
|
<string>_("Board")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxHistory" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title" >
|
|
<string>_("History")</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxPlayers" >
|
|
<property name="title" >
|
|
<string>_("Players")</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" />
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>747</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile" >
|
|
<property name="title" >
|
|
<string>_("Game")</string>
|
|
</property>
|
|
<addaction name="action_GameNew" />
|
|
<addaction name="separator" />
|
|
<addaction name="action_GameLoad" />
|
|
<addaction name="action_GameSaveAs" />
|
|
<addaction name="separator" />
|
|
<addaction name="action_GamePrint" />
|
|
<addaction name="separator" />
|
|
<addaction name="action_GameQuit" />
|
|
</widget>
|
|
<widget class="QMenu" name="menuHelp" >
|
|
<property name="title" >
|
|
<string>_("Settings")</string>
|
|
</property>
|
|
<addaction name="action_SettingsChooseDic" />
|
|
<addaction name="action_SettingsPreferences" />
|
|
</widget>
|
|
<widget class="QMenu" name="menu_Help" >
|
|
<property name="title" >
|
|
<string>_("Help")</string>
|
|
</property>
|
|
<addaction name="action_HelpAbout" />
|
|
<addaction name="separator" />
|
|
</widget>
|
|
<widget class="QMenu" name="menu_Windows" >
|
|
<property name="title" >
|
|
<string>_("Windows")</string>
|
|
</property>
|
|
<addaction name="action_WindowsBag" />
|
|
<addaction name="action_WindowsBoard" />
|
|
<addaction name="action_WindowsHistory" />
|
|
<addaction name="action_WindowsDicTools" />
|
|
</widget>
|
|
<addaction name="menuFile" />
|
|
<addaction name="menuHelp" />
|
|
<addaction name="menu_Windows" />
|
|
<addaction name="menu_Help" />
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>594</y>
|
|
<width>747</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBar" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>26</y>
|
|
<width>747</width>
|
|
<height>11</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>toolBar</string>
|
|
</property>
|
|
<attribute name="toolBarArea" >
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak" >
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
<action name="action_SettingsChooseDic" >
|
|
<property name="text" >
|
|
<string>_("Choose dictionary...")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Select a new dictionary")</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_HelpAbout" >
|
|
<property name="text" >
|
|
<string>_("About...")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("About Eliot")</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_GameQuit" >
|
|
<property name="text" >
|
|
<string>_("Quit")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Quit Eliot")</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_GameNew" >
|
|
<property name="text" >
|
|
<string>_("New...")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Start a new game")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_WindowsBag" >
|
|
<property name="checkable" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>_("Bag")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Show/hide the remaining tiles in the bag")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+B</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_SettingsPreferences" >
|
|
<property name="text" >
|
|
<string>_("Preferences...")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Edit the preferences")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+F</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_GameSave" >
|
|
<property name="text" >
|
|
<string>_("Save")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_GameLoad" >
|
|
<property name="text" >
|
|
<string>_("Load...")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Load an existing game")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+O</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_GameSaveAs" >
|
|
<property name="text" >
|
|
<string>_("Save as...")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Save the current game")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_WindowsBoard" >
|
|
<property name="checkable" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>_("External board")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Show/hide the external board")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+E</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_WindowsHistory" >
|
|
<property name="checkable" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>_("History")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Show/hide the game history")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+H</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_GamePrint" >
|
|
<property name="text" >
|
|
<string>_("Print...")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Print the current game")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_WindowsDicTools" >
|
|
<property name="checkable" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>_("Dictionary tools")</string>
|
|
</property>
|
|
<property name="statusTip" >
|
|
<string>_("Show/hide the dictionary tools")</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+D</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources>
|
|
<include location="../eliot.qrc" />
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>action_GameQuit</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>260</x>
|
|
<y>215</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|