1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <author>Jimmy Christensen</author>
4 <class>MainWindow</class>
5 <widget class="QMainWindow" name="MainWindow">
6  <property name="geometry">
7   <rect>
8    <x>0</x>
9    <y>0</y>
10    <width>465</width>
11    <height>587</height>
12   </rect>
13  </property>
14  <property name="sizePolicy">
15   <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
16    <horstretch>1</horstretch>
17    <verstretch>1</verstretch>
18   </sizepolicy>
19  </property>
20  <property name="windowTitle">
21   <string>OldSkoolGravityGame - Launcher</string>
22  </property>
23  <property name="windowIcon">
24   <iconset resource="std.qrc">
25    <normaloff>:/icon/icon.png</normaloff>:/icon/icon.png</iconset>
26  </property>
27  <widget class="QWidget" name="centralwidget">
28   <property name="sizePolicy">
29    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
30     <horstretch>0</horstretch>
31     <verstretch>0</verstretch>
32    </sizepolicy>
33   </property>
34   <layout class="QGridLayout" name="gridLayout_3">
35    <property name="margin">
36     <number>0</number>
37    </property>
38    <item row="0" column="0">
39     <layout class="QVBoxLayout" name="verticalLayout">
40      <property name="sizeConstraint">
41       <enum>QLayout::SetMinAndMaxSize</enum>
42      </property>
43      <item>
44       <widget class="QTabWidget" name="tabWidget">
45        <property name="sizePolicy">
46         <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
47          <horstretch>0</horstretch>
48          <verstretch>0</verstretch>
49         </sizepolicy>
50        </property>
51        <property name="currentIndex">
52         <number>2</number>
53        </property>
54        <widget class="QWidget" name="gameTab">
55         <attribute name="title">
56          <string>Game</string>
57         </attribute>
58         <widget class="QGroupBox" name="groupBox_2">
59          <property name="geometry">
60           <rect>
61            <x>210</x>
62            <y>70</y>
63            <width>181</width>
64            <height>51</height>
65           </rect>
66          </property>
67          <property name="title">
68           <string>Sound</string>
69          </property>
70          <widget class="QCheckBox" name="chSound">
71           <property name="geometry">
72            <rect>
73             <x>10</x>
74             <y>20</y>
75             <width>81</width>
76             <height>21</height>
77            </rect>
78           </property>
79           <property name="toolTip">
80            <string>Enable in-game sound effects</string>
81           </property>
82           <property name="text">
83            <string>Sound On</string>
84           </property>
85           <property name="checked">
86            <bool>true</bool>
87           </property>
88          </widget>
89         </widget>
90         <widget class="QGroupBox" name="groupBox_3">
91          <property name="geometry">
92           <rect>
93            <x>210</x>
94            <y>0</y>
95            <width>181</width>
96            <height>71</height>
97           </rect>
98          </property>
99          <property name="title">
100           <string>Gameplay</string>
101          </property>
102          <widget class="QCheckBox" name="chIs">
103           <property name="geometry">
104            <rect>
105             <x>10</x>
106             <y>20</y>
107             <width>81</width>
108             <height>24</height>
109            </rect>
110           </property>
111           <property name="sizePolicy">
112            <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
113             <horstretch>0</horstretch>
114             <verstretch>0</verstretch>
115            </sizepolicy>
116           </property>
117           <property name="baseSize">
118            <size>
119             <width>0</width>
120             <height>0</height>
121            </size>
122           </property>
123           <property name="toolTip">
124            <string>Save progress automatically when you land on a base</string>
125           </property>
126           <property name="text">
127            <string>Intermediate Save</string>
128           </property>
129          </widget>
130          <widget class="QCheckBox" name="chEditor">
131           <property name="geometry">
132            <rect>
133             <x>10</x>
134             <y>40</y>
135             <width>91</width>
136             <height>24</height>
137            </rect>
138           </property>
139           <property name="toolTip">
140            <string>Start in level-editor mode</string>
141           </property>
142           <property name="text">
143            <string>Level Editor</string>
144           </property>
145          </widget>
146         </widget>
147         <widget class="QGroupBox" name="groupBox">
148          <property name="geometry">
149           <rect>
150            <x>10</x>
151            <y>60</y>
152            <width>191</width>
153            <height>91</height>
154           </rect>
155          </property>
156          <property name="title">
157           <string>Screen</string>
158          </property>
159          <widget class="QLabel" name="label">
160           <property name="geometry">
161            <rect>
162             <x>10</x>
163             <y>60</y>
164             <width>101</width>
165             <height>21</height>
166            </rect>
167           </property>
168           <property name="text">
169            <string>Background color:</string>
170           </property>
171          </widget>
172          <widget class="QToolButton" name="btnSelectBgColor">
173           <property name="geometry">
174            <rect>
175             <x>120</x>
176             <y>60</y>
177             <width>51</width>
178             <height>24</height>
179            </rect>
180           </property>
181           <property name="toolTip">
182            <string/>
183           </property>
184           <property name="styleSheet">
185            <string notr="true">background-color: rgb(0, 0, 0);</string>
186           </property>
187           <property name="text">
188            <string>...</string>
189           </property>
190          </widget>
191          <widget class="QCheckBox" name="chVsync">
192           <property name="geometry">
193            <rect>
194             <x>10</x>
195             <y>40</y>
196             <width>61</width>
197             <height>21</height>
198            </rect>
199           </property>
200           <property name="toolTip">
201            <string>Turn on Vsync for smooth gameplay.</string>
202           </property>
203           <property name="text">
204            <string>vsync</string>
205           </property>
206           <property name="checked">
207            <bool>true</bool>
208           </property>
209          </widget>
210          <widget class="QCheckBox" name="chShowFps">
211           <property name="geometry">
212            <rect>
213             <x>120</x>
214             <y>20</y>
215             <width>71</width>
216             <height>21</height>
217            </rect>
218           </property>
219           <property name="toolTip">
220            <string>Show how many fps the game runs at, this value should be close to 60 for optimal play.</string>
221           </property>
222           <property name="text">
223            <string>showfps</string>
224           </property>
225           <property name="checked">
226            <bool>false</bool>
227           </property>
228          </widget>
229          <widget class="QCheckBox" name="chFullScreen">
230           <property name="geometry">
231            <rect>
232             <x>10</x>
233             <y>20</y>
234             <width>80</width>
235             <height>24</height>
236            </rect>
237           </property>
238           <property name="toolTip">
239            <string>Run game in fullscreen mode</string>
240           </property>
241           <property name="text">
242            <string>Fullscreen</string>
243           </property>
244          </widget>
245         </widget>
246         <widget class="QPushButton" name="btnStart">
247          <property name="geometry">
248           <rect>
249            <x>10</x>
250            <y>10</y>
251            <width>191</width>
252            <height>51</height>
253           </rect>
254          </property>
255          <property name="toolTip">
256           <string>Start the game!</string>
257          </property>
258          <property name="text">
259           <string>Start Osgg!</string>
260          </property>
261          <property name="icon">
262           <iconset resource="std.qrc">
263            <normaloff>:/icon/icon.png</normaloff>:/icon/icon.png</iconset>
264          </property>
265          <property name="iconSize">
266           <size>
267            <width>32</width>
268            <height>32</height>
269           </size>
270          </property>
271         </widget>
272         <widget class="QGroupBox" name="groupBoxLevels">
273          <property name="geometry">
274           <rect>
275            <x>10</x>
276            <y>150</y>
277            <width>381</width>
278            <height>291</height>
279           </rect>
280          </property>
281          <property name="title">
282           <string>Levels</string>
283          </property>
284          <widget class="QTabWidget" name="tabLvl">
285           <property name="geometry">
286            <rect>
287             <x>10</x>
288             <y>20</y>
289             <width>151</width>
290             <height>261</height>
291            </rect>
292           </property>
293           <property name="currentIndex">
294            <number>0</number>
295           </property>
296           <widget class="QWidget" name="tab">
297            <attribute name="title">
298             <string>Standard</string>
299            </attribute>
300            <widget class="QLabel" name="label_2">
301             <property name="geometry">
302              <rect>
303               <x>10</x>
304               <y>10</y>
305               <width>81</width>
306               <height>18</height>
307              </rect>
308             </property>
309             <property name="text">
310              <string>Starting Level:</string>
311             </property>
312            </widget>
313            <widget class="QSpinBox" name="numStartLevel">
314             <property name="geometry">
315              <rect>
316               <x>90</x>
317               <y>0</y>
318               <width>51</width>
319               <height>31</height>
320              </rect>
321             </property>
322            </widget>
323            <widget class="QListWidget" name="lstStdLvl">
324             <property name="geometry">
325              <rect>
326               <x>0</x>
327               <y>30</y>
328               <width>141</width>
329               <height>201</height>
330              </rect>
331             </property>
332             <property name="sortingEnabled">
333              <bool>false</bool>
334             </property>
335            </widget>
336           </widget>
337           <widget class="QWidget" name="tab_2">
338            <attribute name="title">
339             <string>Custom</string>
340            </attribute>
341            <widget class="QPushButton" name="btnRemoveCustom">
342             <property name="geometry">
343              <rect>
344               <x>90</x>
345               <y>200</y>
346               <width>51</width>
347               <height>31</height>
348              </rect>
349             </property>
350             <property name="text">
351              <string>Remove</string>
352             </property>
353            </widget>
354            <widget class="QPushButton" name="btnAddCustom">
355             <property name="geometry">
356              <rect>
357               <x>0</x>
358               <y>200</y>
359               <width>51</width>
360               <height>31</height>
361              </rect>
362             </property>
363             <property name="text">
364              <string>Add</string>
365             </property>
366            </widget>
367            <widget class="QPushButton" name="btnShare">
368             <property name="geometry">
369              <rect>
370               <x>60</x>
371               <y>0</y>
372               <width>51</width>
373               <height>31</height>
374              </rect>
375             </property>
376             <property name="text">
377              <string>Share</string>
378             </property>
379            </widget>
380            <widget class="QListWidget" name="lstCustomLvl">
381             <property name="geometry">
382              <rect>
383               <x>0</x>
384               <y>30</y>
385               <width>141</width>
386               <height>171</height>
387              </rect>
388             </property>
389            </widget>
390            <widget class="QPushButton" name="btnCreate">
391             <property name="geometry">
392              <rect>
393               <x>0</x>
394               <y>0</y>
395               <width>51</width>
396               <height>31</height>
397              </rect>
398             </property>
399             <property name="text">
400              <string>Create</string>
401             </property>
402            </widget>
403           </widget>
404          </widget>
405          <widget class="QGraphicsView" name="lvlPreview">
406           <property name="geometry">
407            <rect>
408             <x>170</x>
409             <y>20</y>
410             <width>201</width>
411             <height>181</height>
412            </rect>
413           </property>
414           <property name="sizePolicy">
415            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
416             <horstretch>1</horstretch>
417             <verstretch>1</verstretch>
418            </sizepolicy>
419           </property>
420          </widget>
421          <widget class="QLabel" name="txtBestTime">
422           <property name="geometry">
423            <rect>
424             <x>170</x>
425             <y>200</y>
426             <width>141</width>
427             <height>21</height>
428            </rect>
429           </property>
430           <property name="text">
431            <string>besttime</string>
432           </property>
433          </widget>
434          <widget class="QLabel" name="txtTimesPlayed">
435           <property name="geometry">
436            <rect>
437             <x>170</x>
438             <y>220</y>
439             <width>141</width>
440             <height>21</height>
441            </rect>
442           </property>
443           <property name="text">
444            <string>timesplayed</string>
445           </property>
446          </widget>
447          <widget class="QLabel" name="txtTimesCompleted">
448           <property name="geometry">
449            <rect>
450             <x>170</x>
451             <y>240</y>
452             <width>131</width>
453             <height>21</height>
454            </rect>
455           </property>
456           <property name="text">
457            <string>timescompleted</string>
458           </property>
459          </widget>
460          <widget class="QLabel" name="txtTimesDead">
461           <property name="geometry">
462            <rect>
463             <x>170</x>
464             <y>260</y>
465             <width>141</width>
466             <height>21</height>
467            </rect>
468           </property>
469           <property name="text">
470            <string>timeddead</string>
471           </property>
472          </widget>
473         </widget>
474        </widget>
475        <widget class="QWidget" name="demoTab">
476         <attribute name="title">
477          <string>Demoes</string>
478         </attribute>
479        </widget>
480        <widget class="QWidget" name="tab_3">
481         <property name="sizePolicy">
482          <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
483           <horstretch>0</horstretch>
484           <verstretch>0</verstretch>
485          </sizepolicy>
486         </property>
487         <attribute name="title">
488          <string>Settings</string>
489         </attribute>
490         <widget class="QWidget" name="gridLayoutWidget_2">
491          <property name="geometry">
492           <rect>
493            <x>10</x>
494            <y>10</y>
495            <width>421</width>
496            <height>351</height>
497           </rect>
498          </property>
499          <layout class="QGridLayout" name="gridLayout_2">
500           <item row="0" column="0">
501            <widget class="QLabel" name="label_4">
502             <property name="text">
503              <string>osgg executable:</string>
504             </property>
505            </widget>
506           </item>
507           <item row="0" column="1">
508            <widget class="QLineEdit" name="txtExecPath"/>
509           </item>
510           <item row="0" column="2">
511            <widget class="QToolButton" name="btnBrowseExecPath">
512             <property name="text">
513              <string comment="Browse for the executable">...</string>
514             </property>
515            </widget>
516           </item>
517           <item row="1" column="0">
518            <widget class="QLabel" name="label_3">
519             <property name="text">
520              <string>osgg data path:</string>
521             </property>
522            </widget>
523           </item>
524           <item row="1" column="1">
525            <widget class="QLineEdit" name="txtDataDir"/>
526           </item>
527           <item row="1" column="2">
528            <widget class="QToolButton" name="btnBrowseDataDir">
529             <property name="text">
530              <string comment="Browse for the data directory">...</string>
531             </property>
532            </widget>
533           </item>
534          </layout>
535         </widget>
536        </widget>
537       </widget>
538      </item>
539     </layout>
540    </item>
541   </layout>
542   <zorder>verticalLayoutWidget</zorder>
543   <zorder>tabWidget</zorder>
544   <zorder>tabWidget</zorder>
545  </widget>
546  <widget class="QStatusBar" name="statusbar"/>
547 </widget>
548 <resources>
549  <include location="std.qrc"/>
550 </resources>
551 <connections>
552  <connection>
553   <sender>lstStdLvl</sender>
554   <signal>currentRowChanged(int)</signal>
555   <receiver>numStartLevel</receiver>
556   <slot>setValue(int)</slot>
557   <hints>
558    <hint type="sourcelabel">
559     <x>139</x>
560     <y>367</y>
561    </hint>
562    <hint type="destinationlabel">
563     <x>149</x>
564     <y>257</y>
565    </hint>
566   </hints>
567  </connection>
568 </connections>
569</ui>
570