summaryrefslogtreecommitdiff
path: root/utils/wpseditor/gui/ui
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-08-29 21:08:38 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-08-29 21:08:38 +0000
commit5d22e3cbdd251819a4d2d07b9a12994d5aef778d (patch)
tree4c6a81187ccf065a5f296a903b9f7da88503e403 /utils/wpseditor/gui/ui
parentcc31b1fbdae455f975b69dd6bffc23d8bd021566 (diff)
downloadrockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.tar.gz
rockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.zip
Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. Closes FS#9327
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/wpseditor/gui/ui')
-rw-r--r--utils/wpseditor/gui/ui/mainwindow.ui290
-rw-r--r--utils/wpseditor/gui/ui/slider.ui43
2 files changed, 333 insertions, 0 deletions
diff --git a/utils/wpseditor/gui/ui/mainwindow.ui b/utils/wpseditor/gui/ui/mainwindow.ui
new file mode 100644
index 0000000000..cd3f52bd66
--- /dev/null
+++ b/utils/wpseditor/gui/ui/mainwindow.ui
@@ -0,0 +1,290 @@
1<ui version="4.0" >
2 <class>MainWindow</class>
3 <widget class="QMainWindow" name="MainWindow" >
4 <property name="geometry" >
5 <rect>
6 <x>0</x>
7 <y>0</y>
8 <width>882</width>
9 <height>669</height>
10 </rect>
11 </property>
12 <property name="windowTitle" >
13 <string>WPS Editor</string>
14 </property>
15 <widget class="QWidget" name="centralwidget" >
16 <property name="geometry" >
17 <rect>
18 <x>260</x>
19 <y>21</y>
20 <width>344</width>
21 <height>345</height>
22 </rect>
23 </property>
24 </widget>
25 <widget class="QMenuBar" name="menubar" >
26 <property name="geometry" >
27 <rect>
28 <x>0</x>
29 <y>0</y>
30 <width>882</width>
31 <height>21</height>
32 </rect>
33 </property>
34 <widget class="QMenu" name="menuFile" >
35 <property name="title" >
36 <string>File</string>
37 </property>
38 <addaction name="actOpenWps" />
39 <addaction name="actSetVolume" />
40 <addaction name="actSetProgress" />
41 <addaction name="actShowGrid" />
42 <addaction name="actClearLog" />
43 <addaction name="actVerboseLevel" />
44 <addaction name="actQuit" />
45 </widget>
46 <widget class="QMenu" name="menuPlay" >
47 <property name="title" >
48 <string>Play</string>
49 </property>
50 </widget>
51 <addaction name="menuFile" />
52 <addaction name="menuPlay" />
53 </widget>
54 <widget class="QStatusBar" name="statusbar" >
55 <property name="geometry" >
56 <rect>
57 <x>0</x>
58 <y>650</y>
59 <width>882</width>
60 <height>19</height>
61 </rect>
62 </property>
63 </widget>
64 <widget class="QDockWidget" name="dockPlainWps" >
65 <property name="geometry" >
66 <rect>
67 <x>0</x>
68 <y>370</y>
69 <width>882</width>
70 <height>280</height>
71 </rect>
72 </property>
73 <property name="minimumSize" >
74 <size>
75 <width>0</width>
76 <height>30</height>
77 </size>
78 </property>
79 <property name="windowTitle" >
80 <string>PlainWps</string>
81 </property>
82 <attribute name="dockWidgetArea" >
83 <number>8</number>
84 </attribute>
85 <widget class="QWidget" name="dockWidgetContents_3" >
86 <property name="geometry" >
87 <rect>
88 <x>0</x>
89 <y>22</y>
90 <width>882</width>
91 <height>258</height>
92 </rect>
93 </property>
94 <layout class="QGridLayout" name="gridLayout_2" >
95 <item rowspan="2" row="0" column="0" >
96 <widget class="QTextEdit" name="plainWpsEdit" >
97 <property name="autoFillBackground" >
98 <bool>false</bool>
99 </property>
100 <property name="readOnly" >
101 <bool>false</bool>
102 </property>
103 </widget>
104 </item>
105 <item row="0" column="1" >
106 <widget class="QPushButton" name="btnUpdatePlainWps" >
107 <property name="text" >
108 <string>Update WPS</string>
109 </property>
110 </widget>
111 </item>
112 <item row="1" column="1" >
113 <spacer name="verticalSpacer" >
114 <property name="orientation" >
115 <enum>Qt::Vertical</enum>
116 </property>
117 <property name="sizeHint" stdset="0" >
118 <size>
119 <width>20</width>
120 <height>211</height>
121 </size>
122 </property>
123 </spacer>
124 </item>
125 </layout>
126 </widget>
127 </widget>
128 <widget class="QDockWidget" name="m_dockWidget" >
129 <property name="geometry" >
130 <rect>
131 <x>0</x>
132 <y>21</y>
133 <width>256</width>
134 <height>345</height>
135 </rect>
136 </property>
137 <property name="windowTitle" >
138 <string>Property Editor</string>
139 </property>
140 <attribute name="dockWidgetArea" >
141 <number>1</number>
142 </attribute>
143 <widget class="QPropertyEditorWidget" name="m_propertyEditor" >
144 <property name="enabled" >
145 <bool>false</bool>
146 </property>
147 <property name="geometry" >
148 <rect>
149 <x>0</x>
150 <y>22</y>
151 <width>256</width>
152 <height>323</height>
153 </rect>
154 </property>
155 </widget>
156 </widget>
157 <widget class="QDockWidget" name="dockWidget" >
158 <property name="geometry" >
159 <rect>
160 <x>608</x>
161 <y>21</y>
162 <width>274</width>
163 <height>345</height>
164 </rect>
165 </property>
166 <property name="minimumSize" >
167 <size>
168 <width>0</width>
169 <height>30</height>
170 </size>
171 </property>
172 <property name="windowTitle" >
173 <string>Log</string>
174 </property>
175 <attribute name="dockWidgetArea" >
176 <number>2</number>
177 </attribute>
178 <widget class="QWidget" name="dockWidgetContents" >
179 <property name="geometry" >
180 <rect>
181 <x>0</x>
182 <y>22</y>
183 <width>274</width>
184 <height>323</height>
185 </rect>
186 </property>
187 <layout class="QGridLayout" name="gridLayout" >
188 <item row="0" column="0" >
189 <widget class="QTextEdit" name="logEdit" >
190 <property name="autoFillBackground" >
191 <bool>false</bool>
192 </property>
193 <property name="readOnly" >
194 <bool>true</bool>
195 </property>
196 </widget>
197 </item>
198 </layout>
199 </widget>
200 </widget>
201 <action name="actQuit" >
202 <property name="text" >
203 <string>Quit</string>
204 </property>
205 </action>
206 <action name="actOpenWps" >
207 <property name="text" >
208 <string>Open WPS</string>
209 </property>
210 </action>
211 <action name="actSetVolume" >
212 <property name="text" >
213 <string>Set Volume</string>
214 </property>
215 </action>
216 <action name="actSetProgress" >
217 <property name="text" >
218 <string>Set Progress</string>
219 </property>
220 </action>
221 <action name="actShowGrid" >
222 <property name="checkable" >
223 <bool>true</bool>
224 </property>
225 <property name="checked" >
226 <bool>false</bool>
227 </property>
228 <property name="text" >
229 <string>Show Grid</string>
230 </property>
231 </action>
232 <action name="actClearLog" >
233 <property name="text" >
234 <string>Clear Log</string>
235 </property>
236 </action>
237 <action name="actVerboseLevel" >
238 <property name="text" >
239 <string>Verbose Level</string>
240 </property>
241 </action>
242 <action name="actUpdatePlainWps" >
243 <property name="text" >
244 <string>Update WPS</string>
245 </property>
246 </action>
247 </widget>
248 <customwidgets>
249 <customwidget>
250 <class>QPropertyEditorWidget</class>
251 <extends>QTreeView</extends>
252 <header>QPropertyEditorWidget.h</header>
253 </customwidget>
254 </customwidgets>
255 <resources/>
256 <connections>
257 <connection>
258 <sender>btnUpdatePlainWps</sender>
259 <signal>clicked()</signal>
260 <receiver>actUpdatePlainWps</receiver>
261 <slot>trigger()</slot>
262 <hints>
263 <hint type="sourcelabel" >
264 <x>835</x>
265 <y>411</y>
266 </hint>
267 <hint type="destinationlabel" >
268 <x>-1</x>
269 <y>-1</y>
270 </hint>
271 </hints>
272 </connection>
273 <connection>
274 <sender>actQuit</sender>
275 <signal>triggered()</signal>
276 <receiver>MainWindow</receiver>
277 <slot>close()</slot>
278 <hints>
279 <hint type="sourcelabel" >
280 <x>-1</x>
281 <y>-1</y>
282 </hint>
283 <hint type="destinationlabel" >
284 <x>440</x>
285 <y>334</y>
286 </hint>
287 </hints>
288 </connection>
289 </connections>
290</ui>
diff --git a/utils/wpseditor/gui/ui/slider.ui b/utils/wpseditor/gui/ui/slider.ui
new file mode 100644
index 0000000000..24fff0bf23
--- /dev/null
+++ b/utils/wpseditor/gui/ui/slider.ui
@@ -0,0 +1,43 @@
1<ui version="4.0" >
2 <class>slider</class>
3 <widget class="QWidget" name="slider" >
4 <property name="geometry" >
5 <rect>
6 <x>0</x>
7 <y>0</y>
8 <width>295</width>
9 <height>37</height>
10 </rect>
11 </property>
12 <property name="windowTitle" >
13 <string>Value</string>
14 </property>
15 <widget class="QSlider" name="horslider" >
16 <property name="geometry" >
17 <rect>
18 <x>0</x>
19 <y>10</y>
20 <width>291</width>
21 <height>21</height>
22 </rect>
23 </property>
24 <property name="minimum" >
25 <number>-78</number>
26 </property>
27 <property name="maximum" >
28 <number>24</number>
29 </property>
30 <property name="singleStep" >
31 <number>1</number>
32 </property>
33 <property name="value" >
34 <number>-78</number>
35 </property>
36 <property name="orientation" >
37 <enum>Qt::Horizontal</enum>
38 </property>
39 </widget>
40 </widget>
41 <resources/>
42 <connections/>
43</ui>