eric7/CycloneDXInterface/CycloneDXConfigDialog.ui

branch
eric7
changeset 9117
c6afba2049cf
child 9119
5bcdef5207f6
equal deleted inserted replaced
9116:698660ef7350 9117:c6afba2049cf
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>278</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="0" column="0">
103 <widget class="QLabel" name="label_2">
104 <property name="text">
105 <string>File Format:</string>
106 </property>
107 </widget>
108 </item>
109 <item row="0" column="1">
110 <widget class="QComboBox" name="fileFormatComboBox">
111 <property name="toolTip">
112 <string>Select the format of the SBOM file</string>
113 </property>
114 <item>
115 <property name="text">
116 <string>JSON</string>
117 </property>
118 </item>
119 <item>
120 <property name="text">
121 <string>XML</string>
122 </property>
123 </item>
124 </widget>
125 </item>
126 <item row="0" column="2">
127 <spacer name="horizontalSpacer">
128 <property name="orientation">
129 <enum>Qt::Horizontal</enum>
130 </property>
131 <property name="sizeHint" stdset="0">
132 <size>
133 <width>413</width>
134 <height>20</height>
135 </size>
136 </property>
137 </spacer>
138 </item>
139 <item row="1" column="0">
140 <widget class="QLabel" name="label_3">
141 <property name="text">
142 <string>Schema Version:</string>
143 </property>
144 </widget>
145 </item>
146 <item row="1" column="1">
147 <widget class="QComboBox" name="schemaVersionComboBox">
148 <property name="toolTip">
149 <string>Select the SBOM schema version of the SBOM file</string>
150 </property>
151 </widget>
152 </item>
153 <item row="2" column="0">
154 <widget class="QLabel" name="label_4">
155 <property name="text">
156 <string>File Name:</string>
157 </property>
158 </widget>
159 </item>
160 <item row="2" 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 </layout>
171 </widget>
172 </item>
173 <item>
174 <widget class="QDialogButtonBox" name="buttonBox">
175 <property name="orientation">
176 <enum>Qt::Horizontal</enum>
177 </property>
178 <property name="standardButtons">
179 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
180 </property>
181 </widget>
182 </item>
183 </layout>
184 </widget>
185 <customwidgets>
186 <customwidget>
187 <class>EricPathPicker</class>
188 <extends>QWidget</extends>
189 <header>EricWidgets/EricPathPicker.h</header>
190 <container>1</container>
191 </customwidget>
192 </customwidgets>
193 <resources/>
194 <connections>
195 <connection>
196 <sender>buttonBox</sender>
197 <signal>accepted()</signal>
198 <receiver>CycloneDXConfigDialog</receiver>
199 <slot>accept()</slot>
200 <hints>
201 <hint type="sourcelabel">
202 <x>248</x>
203 <y>254</y>
204 </hint>
205 <hint type="destinationlabel">
206 <x>157</x>
207 <y>274</y>
208 </hint>
209 </hints>
210 </connection>
211 <connection>
212 <sender>buttonBox</sender>
213 <signal>rejected()</signal>
214 <receiver>CycloneDXConfigDialog</receiver>
215 <slot>reject()</slot>
216 <hints>
217 <hint type="sourcelabel">
218 <x>316</x>
219 <y>260</y>
220 </hint>
221 <hint type="destinationlabel">
222 <x>286</x>
223 <y>274</y>
224 </hint>
225 </hints>
226 </connection>
227 </connections>
228 </ui>

eric ide

mercurial