summaryrefslogtreecommitdiff
path: root/noncore/games/chess/mainwindow.ui
Side-by-side diff
Diffstat (limited to 'noncore/games/chess/mainwindow.ui') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/chess/mainwindow.ui220
1 files changed, 220 insertions, 0 deletions
diff --git a/noncore/games/chess/mainwindow.ui b/noncore/games/chess/mainwindow.ui
new file mode 100644
index 0000000..dc3ae0f
--- a/dev/null
+++ b/noncore/games/chess/mainwindow.ui
@@ -0,0 +1,220 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>MainWindow</class>
+<widget class="QMainWindow">
+ <property name="name">
+ <cstring>MainWindow</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>256</width>
+ <height>338</height>
+ </rect>
+ </property>
+ <property name="caption">
+ <string>Chess</string>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>TextLabel1</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>236</y>
+ <width>221</width>
+ <height>31</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>TextLabel1</string>
+ </property>
+ </widget>
+ <widget class="BoardView">
+ <property name="name">
+ <cstring>ChessBoard</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>10</y>
+ <width>224</width>
+ <height>224</height>
+ </rect>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>1</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>224</width>
+ <height>224</height>
+ </size>
+ </property>
+ </widget>
+</widget>
+<menubar>
+ <property name="name">
+ <cstring>menubar</cstring>
+ </property>
+ <item text="Game" name="PopupMenu_2">
+ <action name="newGame"/>
+ <action name="annotateGame"/>
+ </item>
+ <item text="Position" name="PopupMenu_3">
+ <action name="swapSides"/>
+ <action name="undo"/>
+ </item>
+</menubar>
+<toolbars>
+</toolbars>
+<customwidgets>
+ <customwidget>
+ <class>BoardView</class>
+ <header location="global">/home/luke/depot/qpe/chess/chess.h</header>
+ <sizehint>
+ <width>-1</width>
+ <height>-1</height>
+ </sizehint>
+ <container>0</container>
+ <sizepolicy>
+ <hordata>5</hordata>
+ <verdata>5</verdata>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ <pixmap>image0</pixmap>
+ <signal>showMessage(const QString&amp;)</signal>
+ <slot access="public" specifier="">newGame()</slot>
+ <slot access="public" specifier="">swapSides()</slot>
+ <slot access="public" specifier="">setTheme(QString)</slot>
+ <slot access="public" specifier="">undo()</slot>
+ <slot access="public" specifier="">annotateGame()</slot>
+ </customwidget>
+</customwidgets>
+<actions>
+ <actiongroup>
+ <property name="name">
+ <cstring>gameActions</cstring>
+ </property>
+ <property name="text">
+ <string>ActionGroup</string>
+ </property>
+ <property name="usesDropDown">
+ <bool>false</bool>
+ </property>
+ <action>
+ <property name="name">
+ <cstring>newGame</cstring>
+ </property>
+ <property name="iconSet">
+ <iconset>new.png</iconset>
+ </property>
+ <property name="text">
+ <string>New Game</string>
+ </property>
+ <property name="menuText">
+ <string>New Game</string>
+ </property>
+ <property name="toolTip">
+ <string>New Game</string>
+ </property>
+ </action>
+ <action>
+ <property name="name">
+ <cstring>swapSides</cstring>
+ </property>
+ <property name="iconSet">
+ <iconset>repeat.png</iconset>
+ </property>
+ <property name="text">
+ <string>Swap sides</string>
+ </property>
+ <property name="toolTip">
+ <string>Swap sides</string>
+ </property>
+ </action>
+ <action>
+ <property name="name">
+ <cstring>annotateGame</cstring>
+ </property>
+ <property name="iconSet">
+ <iconset>txt.png</iconset>
+ </property>
+ <property name="text">
+ <string>Annotate game</string>
+ </property>
+ <property name="toolTip">
+ <string>Annotate game</string>
+ </property>
+ </action>
+ <action>
+ <property name="name">
+ <cstring>undo</cstring>
+ </property>
+ <property name="iconSet">
+ <iconset>back.png</iconset>
+ </property>
+ <property name="text">
+ <string>Undo move</string>
+ </property>
+ <property name="toolTip">
+ <string>Undo move</string>
+ </property>
+ </action>
+ <action>
+ <property name="name">
+ <cstring>saveGame</cstring>
+ </property>
+ <property name="text">
+ <string>Action</string>
+ </property>
+ </action>
+ </actiongroup>
+</actions>
+<images>
+ <image name="image0">
+ <data format="XPM.GZ" length="3456">789ce5d35d5313491406e07b7e458abea3b68e99cfccd4d65ee0079ac8a720a2d65ef474cf2424229004152dffbba7cf795941182a59bcd8aa6548524fbafb9d9ed3278fd63a47bb5b9db5472bb3b99d1fbb8e1bd96967cd5f9c9c5cbefffbaf6f2bab49dce1ff5eaf13affeb1b24aa6e33aa62b7f620fa7b01517ec423c850bb571b0c3f8bbe0a8db7591ae1fa9c3257e0aa7b0ac8f0ab6aeefc305bc073b783d38ee462ed6f5953a5ce20d38859f894b7629de820bb519c20ee3af829328764924be50275d7806a76a732c2ed9ba7e08176a33811d2cf548a3c4a59a97a9d3aedad4708af153b1655bf14bb880bfc00e3e0fcee2ac9be9f926629b65998eefc21e3e0acee3cce73affb33acfe037ff58e737629b97f026ece128b897e4be9788bfaa7b119cc319fc445cb12bf1215caa8d813d2cfd59243d5fe8faaeb82ab242d7d770097f803d2ce751a66554a6e28f70a636d24fa5633b191fc325fc1cf6f049b04d6d6435ef139cc16fc5ce5aabf3b7e11ade09ae525b573a7f5f5dc5f00bb1aff2ca8b07b0559b315c63fc20d86555ed32f15ced62f812ce61e95fe7d99a67610b3770ada65eb0e776f1bafe4c5cb36bf16bd8c245709dd7719d8b5371cddfc8b821d8aa290e6e78b4d1f9a5ba89e1c7e2a6b14d13bc37879b2bdf7f91b9fffadf65d8df90519123ffc08c9a1a1ad2a86d3ff767d0318d69421fe8843ed229a72c9d4167742ef79ed28ce69c7471f713b567d027beef675ea733bfd0257da5f5bb52da32e8313de18ca7f48c67add30657f539bde07df597c818d04bdae41a84593557654a5bb44d3bb44b7bbfeea53563c2ab467c1a61569f77123e5fd13e1d704a7533a535e3351dd21b3afa65dfeb9cf09677f86ec19a7679e64cea71f3daa788ebb45846cccf93dcaae1942bbb793be38e339ff2b34f28e5f7ab6f4e29e33a8c68f3f6dd5a320cdf29a7deb58c824aeeb31d434b64f48de1351b5736b6fd17d192e1a9321577d5cfe73e5c32c31ac79db16dfccf3e30f55219533e8b53634c73bd3bcc90e285332cf7f21177f51977d9f046775d2e9e6146fc8bbdabcab816c89872270f1e98e1f909c6b4c5cf7f71f5e2f7637e9fe9e742f5e8d3399feb3e0dcc9877744083f613693d174b23befbcc4ccc84b2f0fa1719d7d37c783d28a3b58affd18cef7faefc007d894af5</data>
+ </image>
+</images>
+<connections>
+ <connection>
+ <sender>newGame</sender>
+ <signal>activated()</signal>
+ <receiver>ChessBoard</receiver>
+ <slot>newGame()</slot>
+ </connection>
+ <connection>
+ <sender>swapSides</sender>
+ <signal>activated()</signal>
+ <receiver>ChessBoard</receiver>
+ <slot>swapSides()</slot>
+ </connection>
+ <connection>
+ <sender>annotateGame</sender>
+ <signal>activated()</signal>
+ <receiver>ChessBoard</receiver>
+ <slot>annotateGame()</slot>
+ </connection>
+ <connection>
+ <sender>undo</sender>
+ <signal>activated()</signal>
+ <receiver>ChessBoard</receiver>
+ <slot>undo()</slot>
+ </connection>
+ <connection>
+ <sender>ChessBoard</sender>
+ <signal>showMessage(const QString&amp;)</signal>
+ <receiver>TextLabel1</receiver>
+ <slot>setText(const QString&amp;)</slot>
+ </connection>
+</connections>
+<pixmapinproject/>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>