eliot/qt/ui/main_window.ui
Olivier Teulière 9afebca0c2 - Allow sorting the training results
- Added auxiliary windows for the history and the external board
 - Gave a title to auxiliary windows and remember their position (more or less) and size
 - Auxiliary windows do not survive anymore after the main one
 - Preferences are now stored in a sensible place
2008-01-26 23:03:32 +00:00

227 lines
5.9 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>../../../bzr-cppdic/wxwin/eliot.xpm</iconset>
</property>
<widget class="QWidget" name="centralwidget" >
<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>29</height>
</rect>
</property>
<widget class="QMenu" name="menuFile" >
<property name="title" >
<string>_("&amp;Game")</string>
</property>
<addaction name="action_GameNew" />
<addaction name="action_GameLoad" />
<addaction name="separator" />
<addaction name="action_GameSaveAs" />
<addaction name="separator" />
<addaction name="action_GameQuit" />
</widget>
<widget class="QMenu" name="menuHelp" >
<property name="title" >
<string>&amp;Settings</string>
</property>
<addaction name="action_SettingsChooseDic" />
<addaction name="action_SettingsPreferences" />
</widget>
<widget class="QMenu" name="menu_Help" >
<property name="title" >
<string>_("&amp;Help")</string>
</property>
<addaction name="action_HelpAbout" />
<addaction name="separator" />
</widget>
<widget class="QMenu" name="menu_Windows" >
<property name="title" >
<string>_("&amp;Windows")</string>
</property>
<addaction name="action_WindowsBag" />
<addaction name="action_WindowsBoard" />
<addaction name="action_WindowsHistory" />
</widget>
<addaction name="menuFile" />
<addaction name="menuHelp" />
<addaction name="menu_Windows" />
<addaction name="menu_Help" />
</widget>
<widget class="QStatusBar" name="statusbar" />
<widget class="QToolBar" name="toolBar" >
<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>
</action>
<action name="action_HelpAbout" >
<property name="text" >
<string>_("&amp;About...")</string>
</property>
<property name="statusTip" >
<string>About Eliot</string>
</property>
</action>
<action name="action_GameQuit" >
<property name="text" >
<string>_("&amp;Quit")</string>
</property>
</action>
<action name="action_GameNew" >
<property name="text" >
<string>_("New...")</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>_("&amp;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="shortcut" >
<string>Ctrl+P</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="shortcut" >
<string>Ctrl+O</string>
</property>
</action>
<action name="action_GameSaveAs" >
<property name="text" >
<string>_("Save as...")</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>
</action>
<action name="action_WindowsHistory" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="text" >
<string>_("History")</string>
</property>
<property name="shortcut" >
<string>Ctrl+H</string>
</property>
</action>
</widget>
<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>