Sun, 08 Sep 2013 16:14:58 +0300
Use the cfg:: namespace system I made up a while ago instead of using QSettings directly, it's unsafe
12 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ui version="4.0"> | |
3 | <class>UnknownVersion</class> | |
4 | <widget class="QDialog" name="UnknownVersion"> | |
5 | <property name="geometry"> | |
6 | <rect> | |
7 | <x>0</x> | |
8 | <y>0</y> | |
9 | <width>400</width> | |
10 | <height>246</height> | |
11 | </rect> | |
12 | </property> | |
13 | <property name="windowTitle"> | |
14 | <string>Unknown Zandronum Version</string> | |
15 | </property> | |
19
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
12
diff
changeset
|
16 | <property name="windowIcon"> |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
12
diff
changeset
|
17 | <iconset resource="../../zandemo.qrc"> |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
12
diff
changeset
|
18 | <normaloff>:/icons/zandemo.ico</normaloff>:/icons/zandemo.ico</iconset> |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
12
diff
changeset
|
19 | </property> |
12 | 20 | <layout class="QVBoxLayout" name="verticalLayout"> |
21 | <item> | |
22 | <widget class="QLabel" name="m_description"> | |
23 | <property name="text"> | |
24 | <string>The demo <DEMO> has been recorded with unknown version <VERSION>. You can add this to the list of known Zandronum versions and specify a binary for it here.</string> | |
25 | </property> | |
26 | <property name="wordWrap"> | |
27 | <bool>true</bool> | |
28 | </property> | |
29 | </widget> | |
30 | </item> | |
31 | <item> | |
32 | <widget class="Line" name="line"> | |
33 | <property name="orientation"> | |
34 | <enum>Qt::Horizontal</enum> | |
35 | </property> | |
36 | </widget> | |
37 | </item> | |
38 | <item> | |
39 | <layout class="QVBoxLayout" name="verticalLayout_2"> | |
40 | <item> | |
41 | <widget class="QLabel" name="label_2"> | |
42 | <property name="text"> | |
43 | <string>Zandronum binary path:</string> | |
44 | </property> | |
45 | </widget> | |
46 | </item> | |
47 | <item> | |
48 | <layout class="QHBoxLayout" name="horizontalLayout"> | |
49 | <item> | |
50 | <widget class="QLineEdit" name="m_binaryPath"/> | |
51 | </item> | |
52 | <item> | |
53 | <widget class="QPushButton" name="m_findBinary"> | |
54 | <property name="text"> | |
55 | <string>...</string> | |
56 | </property> | |
57 | </widget> | |
58 | </item> | |
59 | </layout> | |
60 | </item> | |
61 | </layout> | |
62 | </item> | |
63 | <item> | |
64 | <widget class="Line" name="line_2"> | |
65 | <property name="orientation"> | |
66 | <enum>Qt::Horizontal</enum> | |
67 | </property> | |
68 | </widget> | |
69 | </item> | |
70 | <item> | |
71 | <widget class="QCommandLinkButton" name="m_addVersion"> | |
72 | <property name="text"> | |
73 | <string>Add Zandronum version and launch the demo</string> | |
74 | </property> | |
75 | </widget> | |
76 | </item> | |
77 | <item> | |
78 | <widget class="QCommandLinkButton" name="m_cancel"> | |
79 | <property name="text"> | |
80 | <string>Cancel and exit</string> | |
81 | </property> | |
82 | <property name="description"> | |
83 | <string/> | |
84 | </property> | |
85 | </widget> | |
86 | </item> | |
87 | </layout> | |
88 | </widget> | |
19
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
12
diff
changeset
|
89 | <resources> |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
12
diff
changeset
|
90 | <include location="../../zandemo.qrc"/> |
c9b6dd9dd4cd
Added infurnus' application icon
Teemu Piippo <crimsondusk64@gmail.com>
parents:
12
diff
changeset
|
91 | </resources> |
12 | 92 | <connections> |
93 | <connection> | |
94 | <sender>m_cancel</sender> | |
95 | <signal>clicked()</signal> | |
96 | <receiver>UnknownVersion</receiver> | |
97 | <slot>reject()</slot> | |
98 | <hints> | |
99 | <hint type="sourcelabel"> | |
100 | <x>118</x> | |
101 | <y>210</y> | |
102 | </hint> | |
103 | <hint type="destinationlabel"> | |
104 | <x>394</x> | |
105 | <y>73</y> | |
106 | </hint> | |
107 | </hints> | |
108 | </connection> | |
109 | </connections> | |
110 | </ui> |