Tue, 16 Jul 2013 02:06:30 +0300
Added actions for saving all files, closing and closing all files
330
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
2 | <ui version="4.0"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
3 | <class>EditRawUI</class> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
4 | <widget class="QDialog" name="EditRawUI"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
5 | <property name="geometry"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
6 | <rect> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
7 | <x>0</x> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
8 | <y>0</y> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
9 | <width>400</width> |
334
bb3a0e5ebe53
Added missing what's this in edit raw prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
330
diff
changeset
|
10 | <height>87</height> |
330
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
11 | </rect> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
12 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
13 | <property name="windowTitle"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
14 | <string>Edit LDraw Code</string> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
15 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
16 | <layout class="QVBoxLayout" name="verticalLayout"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
17 | <item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
18 | <widget class="QLabel" name="label"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
19 | <property name="text"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
20 | <string>LDraw code:</string> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
21 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
22 | </widget> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
23 | </item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
24 | <item> |
334
bb3a0e5ebe53
Added missing what's this in edit raw prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
330
diff
changeset
|
25 | <widget class="QLineEdit" name="code"> |
bb3a0e5ebe53
Added missing what's this in edit raw prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
330
diff
changeset
|
26 | <property name="whatsThis"> |
bb3a0e5ebe53
Added missing what's this in edit raw prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
330
diff
changeset
|
27 | <string><html><head/><body><p>The LDraw code of this object. The code written here is expected to be valid LDraw code, invalid code here results the object being turned into an error object. Please do refer to the <a href="http://www.ldraw.org/article/218.html"><span style=" text-decoration: underline; color:#0057ae;">official file format standard</span></a> for further information.</p></body></html></string> |
bb3a0e5ebe53
Added missing what's this in edit raw prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
330
diff
changeset
|
28 | </property> |
bb3a0e5ebe53
Added missing what's this in edit raw prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
330
diff
changeset
|
29 | </widget> |
330
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
30 | </item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
31 | <item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
32 | <layout class="QHBoxLayout" name="horizontalLayout"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
33 | <item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
34 | <widget class="QLabel" name="errorIcon"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
35 | <property name="maximumSize"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
36 | <size> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
37 | <width>16</width> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
38 | <height>16</height> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
39 | </size> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
40 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
41 | <property name="text"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
42 | <string/> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
43 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
44 | <property name="pixmap"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
45 | <pixmap resource="../../ldforge.qrc">:/icons/error.png</pixmap> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
46 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
47 | <property name="scaledContents"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
48 | <bool>true</bool> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
49 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
50 | </widget> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
51 | </item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
52 | <item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
53 | <widget class="QLabel" name="errorDescription"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
54 | <property name="enabled"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
55 | <bool>true</bool> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
56 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
57 | <property name="styleSheet"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
58 | <string notr="true">color: #900</string> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
59 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
60 | <property name="text"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
61 | <string>Error description</string> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
62 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
63 | </widget> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
64 | </item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
65 | <item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
66 | <widget class="QDialogButtonBox" name="buttonBox"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
67 | <property name="orientation"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
68 | <enum>Qt::Horizontal</enum> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
69 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
70 | <property name="standardButtons"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
71 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
72 | </property> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
73 | </widget> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
74 | </item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
75 | </layout> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
76 | </item> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
77 | </layout> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
78 | </widget> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
79 | <resources> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
80 | <include location="../../ldforge.qrc"/> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
81 | </resources> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
82 | <connections> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
83 | <connection> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
84 | <sender>buttonBox</sender> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
85 | <signal>accepted()</signal> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
86 | <receiver>EditRawUI</receiver> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
87 | <slot>accept()</slot> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
88 | <hints> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
89 | <hint type="sourcelabel"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
90 | <x>248</x> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
91 | <y>254</y> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
92 | </hint> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
93 | <hint type="destinationlabel"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
94 | <x>157</x> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
95 | <y>274</y> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
96 | </hint> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
97 | </hints> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
98 | </connection> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
99 | <connection> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
100 | <sender>buttonBox</sender> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
101 | <signal>rejected()</signal> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
102 | <receiver>EditRawUI</receiver> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
103 | <slot>reject()</slot> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
104 | <hints> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
105 | <hint type="sourcelabel"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
106 | <x>316</x> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
107 | <y>260</y> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
108 | </hint> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
109 | <hint type="destinationlabel"> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
110 | <x>286</x> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
111 | <y>274</y> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
112 | </hint> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
113 | </hints> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
114 | </connection> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
115 | </connections> |
76505a9c7b56
converted the raw edit prompt
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
116 | </ui> |