src/ui/editraw.ui

changeset 491
7d1b5ecd76c0
parent 486
25747c37c7be
child 492
e964085e6913
child 664
e3a32a79a10a
equal deleted inserted replaced
486:25747c37c7be 491:7d1b5ecd76c0
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>EditRawUI</class>
4 <widget class="QDialog" name="EditRawUI">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>400</width>
10 <height>87</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Edit LDraw Code</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QLabel" name="label">
19 <property name="text">
20 <string>LDraw code:</string>
21 </property>
22 </widget>
23 </item>
24 <item>
25 <widget class="QLineEdit" name="code">
26 <property name="whatsThis">
27 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;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 &lt;a href=&quot;http://www.ldraw.org/article/218.html&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0057ae;&quot;&gt;official file format standard&lt;/span&gt;&lt;/a&gt; for further information.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
28 </property>
29 </widget>
30 </item>
31 <item>
32 <layout class="QHBoxLayout" name="horizontalLayout">
33 <item>
34 <widget class="QLabel" name="errorIcon">
35 <property name="maximumSize">
36 <size>
37 <width>16</width>
38 <height>16</height>
39 </size>
40 </property>
41 <property name="text">
42 <string/>
43 </property>
44 <property name="pixmap">
45 <pixmap resource="../../ldforge.qrc">:/icons/error.png</pixmap>
46 </property>
47 <property name="scaledContents">
48 <bool>true</bool>
49 </property>
50 </widget>
51 </item>
52 <item>
53 <widget class="QLabel" name="errorDescription">
54 <property name="enabled">
55 <bool>true</bool>
56 </property>
57 <property name="styleSheet">
58 <string notr="true">color: #900</string>
59 </property>
60 <property name="text">
61 <string>Error description</string>
62 </property>
63 </widget>
64 </item>
65 <item>
66 <widget class="QDialogButtonBox" name="buttonBox">
67 <property name="orientation">
68 <enum>Qt::Horizontal</enum>
69 </property>
70 <property name="standardButtons">
71 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
72 </property>
73 </widget>
74 </item>
75 </layout>
76 </item>
77 </layout>
78 </widget>
79 <resources>
80 <include location="../../ldforge.qrc"/>
81 </resources>
82 <connections>
83 <connection>
84 <sender>buttonBox</sender>
85 <signal>accepted()</signal>
86 <receiver>EditRawUI</receiver>
87 <slot>accept()</slot>
88 <hints>
89 <hint type="sourcelabel">
90 <x>248</x>
91 <y>254</y>
92 </hint>
93 <hint type="destinationlabel">
94 <x>157</x>
95 <y>274</y>
96 </hint>
97 </hints>
98 </connection>
99 <connection>
100 <sender>buttonBox</sender>
101 <signal>rejected()</signal>
102 <receiver>EditRawUI</receiver>
103 <slot>reject()</slot>
104 <hints>
105 <hint type="sourcelabel">
106 <x>316</x>
107 <y>260</y>
108 </hint>
109 <hint type="destinationlabel">
110 <x>286</x>
111 <y>274</y>
112 </hint>
113 </hints>
114 </connection>
115 </connections>
116 </ui>

mercurial