|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>CycloneDXMetaDataDialog</class> |
|
4 <widget class="QDialog" name="CycloneDXMetaDataDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>600</width> |
|
10 <height>600</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>SBOM Meta Data</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
20 <item> |
|
21 <widget class="QGroupBox" name="groupBox"> |
|
22 <property name="title"> |
|
23 <string>Component</string> |
|
24 </property> |
|
25 <layout class="QFormLayout" name="formLayout"> |
|
26 <item row="0" column="0"> |
|
27 <widget class="QLabel" name="nameLabel"> |
|
28 <property name="text"> |
|
29 <string>Name:</string> |
|
30 </property> |
|
31 <property name="buddy"> |
|
32 <cstring>nameEdit</cstring> |
|
33 </property> |
|
34 </widget> |
|
35 </item> |
|
36 <item row="0" column="1"> |
|
37 <widget class="QLineEdit" name="nameEdit"> |
|
38 <property name="toolTip"> |
|
39 <string>Enter the component name</string> |
|
40 </property> |
|
41 <property name="clearButtonEnabled"> |
|
42 <bool>true</bool> |
|
43 </property> |
|
44 </widget> |
|
45 </item> |
|
46 <item row="1" column="0"> |
|
47 <widget class="QLabel" name="label"> |
|
48 <property name="text"> |
|
49 <string>Type:</string> |
|
50 </property> |
|
51 </widget> |
|
52 </item> |
|
53 <item row="1" column="1"> |
|
54 <widget class="QComboBox" name="typeComboBox"> |
|
55 <property name="toolTip"> |
|
56 <string>Select the component type</string> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item row="2" column="0"> |
|
61 <widget class="QLabel" name="label_2"> |
|
62 <property name="text"> |
|
63 <string>Version:</string> |
|
64 </property> |
|
65 </widget> |
|
66 </item> |
|
67 <item row="2" column="1"> |
|
68 <widget class="QLineEdit" name="versionEdit"> |
|
69 <property name="toolTip"> |
|
70 <string>Enter the version number</string> |
|
71 </property> |
|
72 <property name="clearButtonEnabled"> |
|
73 <bool>true</bool> |
|
74 </property> |
|
75 </widget> |
|
76 </item> |
|
77 <item row="3" column="0"> |
|
78 <widget class="QLabel" name="descriptionLabel"> |
|
79 <property name="text"> |
|
80 <string>Description:</string> |
|
81 </property> |
|
82 <property name="alignment"> |
|
83 <set>Qt::AlignTop</set> |
|
84 </property> |
|
85 <property name="buddy"> |
|
86 <cstring>descriptionEdit</cstring> |
|
87 </property> |
|
88 </widget> |
|
89 </item> |
|
90 <item row="3" column="1"> |
|
91 <widget class="EricSpellCheckedTextEdit" name="descriptionEdit"> |
|
92 <property name="toolTip"> |
|
93 <string>Enter a description of the component</string> |
|
94 </property> |
|
95 <property name="tabChangesFocus"> |
|
96 <bool>true</bool> |
|
97 </property> |
|
98 <property name="acceptRichText"> |
|
99 <bool>false</bool> |
|
100 </property> |
|
101 </widget> |
|
102 </item> |
|
103 </layout> |
|
104 </widget> |
|
105 </item> |
|
106 <item> |
|
107 <widget class="QGroupBox" name="groupBox_2"> |
|
108 <property name="title"> |
|
109 <string>Author</string> |
|
110 </property> |
|
111 <layout class="QFormLayout" name="formLayout_2"> |
|
112 <item row="0" column="0"> |
|
113 <widget class="QLabel" name="authorLabel"> |
|
114 <property name="text"> |
|
115 <string>Name:</string> |
|
116 </property> |
|
117 <property name="buddy"> |
|
118 <cstring>authorEdit</cstring> |
|
119 </property> |
|
120 </widget> |
|
121 </item> |
|
122 <item row="0" column="1"> |
|
123 <widget class="QLineEdit" name="authorEdit"> |
|
124 <property name="toolTip"> |
|
125 <string>Enter author's name</string> |
|
126 </property> |
|
127 <property name="clearButtonEnabled"> |
|
128 <bool>true</bool> |
|
129 </property> |
|
130 </widget> |
|
131 </item> |
|
132 <item row="1" column="0"> |
|
133 <widget class="QLabel" name="emailLabel"> |
|
134 <property name="text"> |
|
135 <string>Email:</string> |
|
136 </property> |
|
137 <property name="buddy"> |
|
138 <cstring>emailEdit</cstring> |
|
139 </property> |
|
140 </widget> |
|
141 </item> |
|
142 <item row="1" column="1"> |
|
143 <widget class="QLineEdit" name="emailEdit"> |
|
144 <property name="toolTip"> |
|
145 <string>Enter author's email</string> |
|
146 </property> |
|
147 <property name="clearButtonEnabled"> |
|
148 <bool>true</bool> |
|
149 </property> |
|
150 </widget> |
|
151 </item> |
|
152 </layout> |
|
153 </widget> |
|
154 </item> |
|
155 <item> |
|
156 <widget class="QGroupBox" name="groupBox_3"> |
|
157 <property name="title"> |
|
158 <string>License</string> |
|
159 </property> |
|
160 <layout class="QVBoxLayout" name="verticalLayout"> |
|
161 <item> |
|
162 <widget class="QComboBox" name="licenseComboBox"> |
|
163 <property name="sizePolicy"> |
|
164 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
165 <horstretch>0</horstretch> |
|
166 <verstretch>0</verstretch> |
|
167 </sizepolicy> |
|
168 </property> |
|
169 <property name="toolTip"> |
|
170 <string>Enter or select the license</string> |
|
171 </property> |
|
172 <property name="editable"> |
|
173 <bool>true</bool> |
|
174 </property> |
|
175 </widget> |
|
176 </item> |
|
177 </layout> |
|
178 </widget> |
|
179 </item> |
|
180 <item> |
|
181 <widget class="QGroupBox" name="groupBox_4"> |
|
182 <property name="title"> |
|
183 <string>Various</string> |
|
184 </property> |
|
185 <layout class="QFormLayout" name="formLayout_3"> |
|
186 <item row="0" column="0"> |
|
187 <widget class="QLabel" name="label_3"> |
|
188 <property name="text"> |
|
189 <string>Manufacturer:</string> |
|
190 </property> |
|
191 </widget> |
|
192 </item> |
|
193 <item row="0" column="1"> |
|
194 <widget class="QLineEdit" name="manufacturerEdit"> |
|
195 <property name="toolTip"> |
|
196 <string>Enter the name of the manufacturer</string> |
|
197 </property> |
|
198 <property name="clearButtonEnabled"> |
|
199 <bool>true</bool> |
|
200 </property> |
|
201 </widget> |
|
202 </item> |
|
203 <item row="1" column="0"> |
|
204 <widget class="QLabel" name="label_4"> |
|
205 <property name="text"> |
|
206 <string>Supplier:</string> |
|
207 </property> |
|
208 </widget> |
|
209 </item> |
|
210 <item row="1" column="1"> |
|
211 <widget class="QLineEdit" name="supplierEdit"> |
|
212 <property name="toolTip"> |
|
213 <string>Enter the name of the supplier</string> |
|
214 </property> |
|
215 <property name="clearButtonEnabled"> |
|
216 <bool>true</bool> |
|
217 </property> |
|
218 </widget> |
|
219 </item> |
|
220 </layout> |
|
221 </widget> |
|
222 </item> |
|
223 <item> |
|
224 <widget class="QDialogButtonBox" name="buttonBox"> |
|
225 <property name="orientation"> |
|
226 <enum>Qt::Horizontal</enum> |
|
227 </property> |
|
228 <property name="standardButtons"> |
|
229 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
230 </property> |
|
231 </widget> |
|
232 </item> |
|
233 </layout> |
|
234 </widget> |
|
235 <customwidgets> |
|
236 <customwidget> |
|
237 <class>EricSpellCheckedTextEdit</class> |
|
238 <extends>QTextEdit</extends> |
|
239 <header>EricWidgets/EricSpellCheckedTextEdit.h</header> |
|
240 </customwidget> |
|
241 </customwidgets> |
|
242 <tabstops> |
|
243 <tabstop>nameEdit</tabstop> |
|
244 <tabstop>typeComboBox</tabstop> |
|
245 <tabstop>versionEdit</tabstop> |
|
246 <tabstop>descriptionEdit</tabstop> |
|
247 <tabstop>authorEdit</tabstop> |
|
248 <tabstop>emailEdit</tabstop> |
|
249 <tabstop>licenseComboBox</tabstop> |
|
250 <tabstop>manufacturerEdit</tabstop> |
|
251 <tabstop>supplierEdit</tabstop> |
|
252 </tabstops> |
|
253 <resources/> |
|
254 <connections> |
|
255 <connection> |
|
256 <sender>buttonBox</sender> |
|
257 <signal>accepted()</signal> |
|
258 <receiver>CycloneDXMetaDataDialog</receiver> |
|
259 <slot>accept()</slot> |
|
260 <hints> |
|
261 <hint type="sourcelabel"> |
|
262 <x>248</x> |
|
263 <y>254</y> |
|
264 </hint> |
|
265 <hint type="destinationlabel"> |
|
266 <x>157</x> |
|
267 <y>274</y> |
|
268 </hint> |
|
269 </hints> |
|
270 </connection> |
|
271 <connection> |
|
272 <sender>buttonBox</sender> |
|
273 <signal>rejected()</signal> |
|
274 <receiver>CycloneDXMetaDataDialog</receiver> |
|
275 <slot>reject()</slot> |
|
276 <hints> |
|
277 <hint type="sourcelabel"> |
|
278 <x>316</x> |
|
279 <y>260</y> |
|
280 </hint> |
|
281 <hint type="destinationlabel"> |
|
282 <x>286</x> |
|
283 <y>274</y> |
|
284 </hint> |
|
285 </hints> |
|
286 </connection> |
|
287 </connections> |
|
288 </ui> |