summaryrefslogtreecommitdiff
path: root/noncore/games/chess/mainwindow.ui
Unidiff
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 @@
1<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2<class>MainWindow</class>
3<widget class="QMainWindow">
4 <property name="name">
5 <cstring>MainWindow</cstring>
6 </property>
7 <property name="geometry">
8 <rect>
9 <x>0</x>
10 <y>0</y>
11 <width>256</width>
12 <height>338</height>
13 </rect>
14 </property>
15 <property name="caption">
16 <string>Chess</string>
17 </property>
18 <widget class="QLabel">
19 <property name="name">
20 <cstring>TextLabel1</cstring>
21 </property>
22 <property name="geometry">
23 <rect>
24 <x>10</x>
25 <y>236</y>
26 <width>221</width>
27 <height>31</height>
28 </rect>
29 </property>
30 <property name="text">
31 <string>TextLabel1</string>
32 </property>
33 </widget>
34 <widget class="BoardView">
35 <property name="name">
36 <cstring>ChessBoard</cstring>
37 </property>
38 <property name="geometry">
39 <rect>
40 <x>10</x>
41 <y>10</y>
42 <width>224</width>
43 <height>224</height>
44 </rect>
45 </property>
46 <property name="sizePolicy">
47 <sizepolicy>
48 <hsizetype>1</hsizetype>
49 <vsizetype>1</vsizetype>
50 <horstretch>0</horstretch>
51 <verstretch>0</verstretch>
52 </sizepolicy>
53 </property>
54 <property name="minimumSize">
55 <size>
56 <width>224</width>
57 <height>224</height>
58 </size>
59 </property>
60 </widget>
61</widget>
62<menubar>
63 <property name="name">
64 <cstring>menubar</cstring>
65 </property>
66 <item text="Game" name="PopupMenu_2">
67 <action name="newGame"/>
68 <action name="annotateGame"/>
69 </item>
70 <item text="Position" name="PopupMenu_3">
71 <action name="swapSides"/>
72 <action name="undo"/>
73 </item>
74</menubar>
75<toolbars>
76</toolbars>
77<customwidgets>
78 <customwidget>
79 <class>BoardView</class>
80 <header location="global">/home/luke/depot/qpe/chess/chess.h</header>
81 <sizehint>
82 <width>-1</width>
83 <height>-1</height>
84 </sizehint>
85 <container>0</container>
86 <sizepolicy>
87 <hordata>5</hordata>
88 <verdata>5</verdata>
89 <horstretch>0</horstretch>
90 <verstretch>0</verstretch>
91 </sizepolicy>
92 <pixmap>image0</pixmap>
93 <signal>showMessage(const QString&amp;)</signal>
94 <slot access="public" specifier="">newGame()</slot>
95 <slot access="public" specifier="">swapSides()</slot>
96 <slot access="public" specifier="">setTheme(QString)</slot>
97 <slot access="public" specifier="">undo()</slot>
98 <slot access="public" specifier="">annotateGame()</slot>
99 </customwidget>
100</customwidgets>
101<actions>
102 <actiongroup>
103 <property name="name">
104 <cstring>gameActions</cstring>
105 </property>
106 <property name="text">
107 <string>ActionGroup</string>
108 </property>
109 <property name="usesDropDown">
110 <bool>false</bool>
111 </property>
112 <action>
113 <property name="name">
114 <cstring>newGame</cstring>
115 </property>
116 <property name="iconSet">
117 <iconset>new.png</iconset>
118 </property>
119 <property name="text">
120 <string>New Game</string>
121 </property>
122 <property name="menuText">
123 <string>New Game</string>
124 </property>
125 <property name="toolTip">
126 <string>New Game</string>
127 </property>
128 </action>
129 <action>
130 <property name="name">
131 <cstring>swapSides</cstring>
132 </property>
133 <property name="iconSet">
134 <iconset>repeat.png</iconset>
135 </property>
136 <property name="text">
137 <string>Swap sides</string>
138 </property>
139 <property name="toolTip">
140 <string>Swap sides</string>
141 </property>
142 </action>
143 <action>
144 <property name="name">
145 <cstring>annotateGame</cstring>
146 </property>
147 <property name="iconSet">
148 <iconset>txt.png</iconset>
149 </property>
150 <property name="text">
151 <string>Annotate game</string>
152 </property>
153 <property name="toolTip">
154 <string>Annotate game</string>
155 </property>
156 </action>
157 <action>
158 <property name="name">
159 <cstring>undo</cstring>
160 </property>
161 <property name="iconSet">
162 <iconset>back.png</iconset>
163 </property>
164 <property name="text">
165 <string>Undo move</string>
166 </property>
167 <property name="toolTip">
168 <string>Undo move</string>
169 </property>
170 </action>
171 <action>
172 <property name="name">
173 <cstring>saveGame</cstring>
174 </property>
175 <property name="text">
176 <string>Action</string>
177 </property>
178 </action>
179 </actiongroup>
180</actions>
181<images>
182 <image name="image0">
183 <data format="XPM.GZ" length="3456">789ce5d35d5313491406e07b7e458abea3b68e99cfccd4d65ee0079ac8a720a2d65ef474cf2424229004152dffbba7cf795941182a59bcd8aa6548524fbafb9d9ed3278fd63a47bb5b9db5472bb3b99d1fbb8e1bd96967cd5f9c9c5cbefffbaf6f2bab49dce1ff5eaf13affeb1b24aa6e33aa62b7f620fa7b01517ec423c850bb571b0c3f8bbe0a8db7591ae1fa9c3257e0aa7b0ac8f0ab6aeefc305bc073b783d38ee462ed6f5953a5ce20d38859f894b7629de820bb519c20ee3af829328764924be50275d7806a76a732c2ed9ba7e08176a33811d2cf548a3c4a59a97a9d3aedad4708af153b1655bf14bb880bfc00e3e0fcee2ac9be9f926629b65998eefc21e3e0acee3cce73affb33acfe037ff58e737629b97f026ece128b897e4be9788bfaa7b119cc319fc445cb12bf1215caa8d813d2cfd59243d5fe8faaeb82ab242d7d770097f803d2ce751a66554a6e28f70a636d24fa5633b191fc325fc1cf6f049b04d6d6435ef139cc16fc5ce5aabf3b7e11ade09ae525b573a7f5f5dc5f00bb1aff2ca8b07b0559b315c63fc20d86555ed32f15ced62f812ce61e95fe7d99a67610b3770ada65eb0e776f1bafe4c5cb36bf16bd8c245709dd7719d8b5371cddfc8b821d8aa290e6e78b4d1f9a5ba89e1c7e2a6b14d13bc37879b2bdf7f91b9fffadf65d8df90519123ffc08c9a1a1ad2a86d3ff767d0318d69421fe8843ed229a72c9d4167742ef79ed28ce69c7471f713b567d027beef675ea733bfd0257da5f5bb52da32e8313de18ca7f48c67add30657f539bde07df597c818d04bdae41a84593557654a5bb44d3bb44b7bbfeea53563c2ab467c1a61569f77123e5fd13e1d704a7533a535e3351dd21b3afa65dfeb9cf09677f86ec19a7679e64cea71f3daa788ebb45846cccf93dcaae1942bbb793be38e339ff2b34f28e5f7ab6f4e29e33a8c68f3f6dd5a320cdf29a7deb58c824aeeb31d434b64f48de1351b5736b6fd17d192e1a9321577d5cfe73e5c32c31ac79db16dfccf3e30f55219533e8b53634c73bd3bcc90e285332cf7f21177f51977d9f046775d2e9e6146fc8bbdabcab816c89872270f1e98e1f909c6b4c5cf7f71f5e2f7637e9fe9e742f5e8d3399feb3e0dcc9877744083f613693d174b23befbcc4ccc84b2f0fa1719d7d37c783d28a3b58affd18cef7faefc007d894af5</data>
184 </image>
185</images>
186<connections>
187 <connection>
188 <sender>newGame</sender>
189 <signal>activated()</signal>
190 <receiver>ChessBoard</receiver>
191 <slot>newGame()</slot>
192 </connection>
193 <connection>
194 <sender>swapSides</sender>
195 <signal>activated()</signal>
196 <receiver>ChessBoard</receiver>
197 <slot>swapSides()</slot>
198 </connection>
199 <connection>
200 <sender>annotateGame</sender>
201 <signal>activated()</signal>
202 <receiver>ChessBoard</receiver>
203 <slot>annotateGame()</slot>
204 </connection>
205 <connection>
206 <sender>undo</sender>
207 <signal>activated()</signal>
208 <receiver>ChessBoard</receiver>
209 <slot>undo()</slot>
210 </connection>
211 <connection>
212 <sender>ChessBoard</sender>
213 <signal>showMessage(const QString&amp;)</signal>
214 <receiver>TextLabel1</receiver>
215 <slot>setText(const QString&amp;)</slot>
216 </connection>
217</connections>
218<pixmapinproject/>
219<layoutdefaults spacing="6" margin="11"/>
220</UI>