|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>CycloneDXConfigDialog</class> |
|
4 <widget class="QDialog" name="CycloneDXConfigDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>650</width> |
|
10 <height>338</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>SBOM Configuration</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
22 <item> |
|
23 <widget class="QLabel" name="label"> |
|
24 <property name="text"> |
|
25 <string>Environment:</string> |
|
26 </property> |
|
27 </widget> |
|
28 </item> |
|
29 <item> |
|
30 <widget class="QLabel" name="environmentLabel"> |
|
31 <property name="sizePolicy"> |
|
32 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
33 <horstretch>0</horstretch> |
|
34 <verstretch>0</verstretch> |
|
35 </sizepolicy> |
|
36 </property> |
|
37 <property name="wordWrap"> |
|
38 <bool>true</bool> |
|
39 </property> |
|
40 </widget> |
|
41 </item> |
|
42 </layout> |
|
43 </item> |
|
44 <item> |
|
45 <widget class="QGroupBox" name="groupBox"> |
|
46 <property name="title"> |
|
47 <string>Input</string> |
|
48 </property> |
|
49 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
50 <item> |
|
51 <widget class="QRadioButton" name="environmentButton"> |
|
52 <property name="toolTip"> |
|
53 <string>Select to build SBOM from environment</string> |
|
54 </property> |
|
55 <property name="text"> |
|
56 <string>Environment</string> |
|
57 </property> |
|
58 <property name="checked"> |
|
59 <bool>true</bool> |
|
60 </property> |
|
61 </widget> |
|
62 </item> |
|
63 <item> |
|
64 <widget class="QRadioButton" name="pipenvButton"> |
|
65 <property name="toolTip"> |
|
66 <string>Select to build SBOM from 'Pipfile.lock' file</string> |
|
67 </property> |
|
68 <property name="text"> |
|
69 <string>PipEnv</string> |
|
70 </property> |
|
71 </widget> |
|
72 </item> |
|
73 <item> |
|
74 <widget class="QRadioButton" name="poetryButton"> |
|
75 <property name="toolTip"> |
|
76 <string>Select to build SBOM from 'poetry.lock' file</string> |
|
77 </property> |
|
78 <property name="text"> |
|
79 <string>Poetry</string> |
|
80 </property> |
|
81 </widget> |
|
82 </item> |
|
83 <item> |
|
84 <widget class="QRadioButton" name="requirementsButton"> |
|
85 <property name="toolTip"> |
|
86 <string>Select to build SBOM from 'requirements.txt' file</string> |
|
87 </property> |
|
88 <property name="text"> |
|
89 <string>Requirements</string> |
|
90 </property> |
|
91 </widget> |
|
92 </item> |
|
93 </layout> |
|
94 </widget> |
|
95 </item> |
|
96 <item> |
|
97 <widget class="QGroupBox" name="groupBox_2"> |
|
98 <property name="title"> |
|
99 <string>SBOM Output</string> |
|
100 </property> |
|
101 <layout class="QGridLayout" name="gridLayout"> |
|
102 <item row="3" column="0"> |
|
103 <widget class="QLabel" name="label_3"> |
|
104 <property name="text"> |
|
105 <string>Schema Version:</string> |
|
106 </property> |
|
107 </widget> |
|
108 </item> |
|
109 <item row="4" column="0"> |
|
110 <widget class="QLabel" name="label_4"> |
|
111 <property name="text"> |
|
112 <string>File Name:</string> |
|
113 </property> |
|
114 </widget> |
|
115 </item> |
|
116 <item row="3" column="1"> |
|
117 <widget class="QComboBox" name="schemaVersionComboBox"> |
|
118 <property name="toolTip"> |
|
119 <string>Select the SBOM schema version of the SBOM file</string> |
|
120 </property> |
|
121 </widget> |
|
122 </item> |
|
123 <item row="2" column="2"> |
|
124 <spacer name="horizontalSpacer"> |
|
125 <property name="orientation"> |
|
126 <enum>Qt::Horizontal</enum> |
|
127 </property> |
|
128 <property name="sizeHint" stdset="0"> |
|
129 <size> |
|
130 <width>413</width> |
|
131 <height>20</height> |
|
132 </size> |
|
133 </property> |
|
134 </spacer> |
|
135 </item> |
|
136 <item row="2" column="1"> |
|
137 <widget class="QComboBox" name="fileFormatComboBox"> |
|
138 <property name="toolTip"> |
|
139 <string>Select the format of the SBOM file</string> |
|
140 </property> |
|
141 <item> |
|
142 <property name="text"> |
|
143 <string>JSON</string> |
|
144 </property> |
|
145 </item> |
|
146 <item> |
|
147 <property name="text"> |
|
148 <string>XML</string> |
|
149 </property> |
|
150 </item> |
|
151 </widget> |
|
152 </item> |
|
153 <item row="2" column="0"> |
|
154 <widget class="QLabel" name="label_2"> |
|
155 <property name="text"> |
|
156 <string>File Format:</string> |
|
157 </property> |
|
158 </widget> |
|
159 </item> |
|
160 <item row="4" column="1" colspan="2"> |
|
161 <widget class="EricPathPicker" name="filePicker" native="true"> |
|
162 <property name="focusPolicy"> |
|
163 <enum>Qt::StrongFocus</enum> |
|
164 </property> |
|
165 <property name="toolTip"> |
|
166 <string>Enter the file path for the SBOM file (leave empty for default)</string> |
|
167 </property> |
|
168 </widget> |
|
169 </item> |
|
170 <item row="0" column="0" colspan="3"> |
|
171 <widget class="QCheckBox" name="vulnerabilityCheckBox"> |
|
172 <property name="toolTip"> |
|
173 <string>Select to include vulnerability data in the generated SBOM (requires Schema 1.4 or newer)</string> |
|
174 </property> |
|
175 <property name="text"> |
|
176 <string>Include Vulnerability Information</string> |
|
177 </property> |
|
178 <property name="checked"> |
|
179 <bool>true</bool> |
|
180 </property> |
|
181 </widget> |
|
182 </item> |
|
183 <item row="1" column="0" colspan="3"> |
|
184 <widget class="QCheckBox" name="dependenciesCheckBox"> |
|
185 <property name="toolTip"> |
|
186 <string>Select to include dependency information in the generated SBOM</string> |
|
187 </property> |
|
188 <property name="text"> |
|
189 <string>Include Dependencies</string> |
|
190 </property> |
|
191 <property name="checked"> |
|
192 <bool>true</bool> |
|
193 </property> |
|
194 </widget> |
|
195 </item> |
|
196 </layout> |
|
197 </widget> |
|
198 </item> |
|
199 <item> |
|
200 <widget class="QDialogButtonBox" name="buttonBox"> |
|
201 <property name="orientation"> |
|
202 <enum>Qt::Horizontal</enum> |
|
203 </property> |
|
204 <property name="standardButtons"> |
|
205 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
206 </property> |
|
207 </widget> |
|
208 </item> |
|
209 </layout> |
|
210 </widget> |
|
211 <customwidgets> |
|
212 <customwidget> |
|
213 <class>EricPathPicker</class> |
|
214 <extends>QWidget</extends> |
|
215 <header>EricWidgets/EricPathPicker.h</header> |
|
216 <container>1</container> |
|
217 </customwidget> |
|
218 </customwidgets> |
|
219 <tabstops> |
|
220 <tabstop>environmentButton</tabstop> |
|
221 <tabstop>pipenvButton</tabstop> |
|
222 <tabstop>poetryButton</tabstop> |
|
223 <tabstop>requirementsButton</tabstop> |
|
224 <tabstop>vulnerabilityCheckBox</tabstop> |
|
225 <tabstop>dependenciesCheckBox</tabstop> |
|
226 <tabstop>fileFormatComboBox</tabstop> |
|
227 <tabstop>schemaVersionComboBox</tabstop> |
|
228 <tabstop>filePicker</tabstop> |
|
229 </tabstops> |
|
230 <resources/> |
|
231 <connections> |
|
232 <connection> |
|
233 <sender>buttonBox</sender> |
|
234 <signal>accepted()</signal> |
|
235 <receiver>CycloneDXConfigDialog</receiver> |
|
236 <slot>accept()</slot> |
|
237 <hints> |
|
238 <hint type="sourcelabel"> |
|
239 <x>248</x> |
|
240 <y>254</y> |
|
241 </hint> |
|
242 <hint type="destinationlabel"> |
|
243 <x>157</x> |
|
244 <y>274</y> |
|
245 </hint> |
|
246 </hints> |
|
247 </connection> |
|
248 <connection> |
|
249 <sender>buttonBox</sender> |
|
250 <signal>rejected()</signal> |
|
251 <receiver>CycloneDXConfigDialog</receiver> |
|
252 <slot>reject()</slot> |
|
253 <hints> |
|
254 <hint type="sourcelabel"> |
|
255 <x>316</x> |
|
256 <y>260</y> |
|
257 </hint> |
|
258 <hint type="destinationlabel"> |
|
259 <x>286</x> |
|
260 <y>274</y> |
|
261 </hint> |
|
262 </hints> |
|
263 </connection> |
|
264 </connections> |
|
265 </ui> |