src/eric7/CycloneDXInterface/CycloneDXConfigDialog.ui

branch
eric7
changeset 11282
dc23e5ac706a
parent 9509
c06561080e32
equal deleted inserted replaced
11281:a2529214787a 11282:dc23e5ac706a
5 <property name="geometry"> 5 <property name="geometry">
6 <rect> 6 <rect>
7 <x>0</x> 7 <x>0</x>
8 <y>0</y> 8 <y>0</y>
9 <width>650</width> 9 <width>650</width>
10 <height>368</height> 10 <height>330</height>
11 </rect> 11 </rect>
12 </property> 12 </property>
13 <property name="windowTitle"> 13 <property name="windowTitle">
14 <string>SBOM Configuration</string> 14 <string>SBOM Configuration</string>
15 </property> 15 </property>
16 <property name="sizeGripEnabled"> 16 <property name="sizeGripEnabled">
17 <bool>true</bool> 17 <bool>true</bool>
18 </property> 18 </property>
19 <layout class="QVBoxLayout" name="verticalLayout"> 19 <layout class="QVBoxLayout" name="verticalLayout_2">
20 <item> 20 <item>
21 <layout class="QHBoxLayout" name="horizontalLayout_2"> 21 <layout class="QHBoxLayout" name="horizontalLayout_2">
22 <item> 22 <item>
23 <widget class="QLabel" name="label"> 23 <widget class="QLabel" name="label">
24 <property name="text"> 24 <property name="text">
44 <item> 44 <item>
45 <widget class="QGroupBox" name="groupBox"> 45 <widget class="QGroupBox" name="groupBox">
46 <property name="title"> 46 <property name="title">
47 <string>Input</string> 47 <string>Input</string>
48 </property> 48 </property>
49 <layout class="QHBoxLayout" name="horizontalLayout"> 49 <layout class="QVBoxLayout" name="verticalLayout">
50 <item> 50 <item>
51 <widget class="QRadioButton" name="environmentButton"> 51 <layout class="QHBoxLayout" name="horizontalLayout_3">
52 <property name="toolTip"> 52 <item>
53 <string>Select to build SBOM from environment</string> 53 <widget class="QRadioButton" name="environmentButton">
54 </property> 54 <property name="toolTip">
55 <property name="text"> 55 <string>Select to build SBOM from environment</string>
56 <string>Environment</string> 56 </property>
57 </property> 57 <property name="text">
58 <property name="checked"> 58 <string>Environment</string>
59 <bool>true</bool> 59 </property>
60 </property> 60 <property name="checked">
61 </widget> 61 <bool>true</bool>
62 </property>
63 </widget>
64 </item>
65 <item>
66 <widget class="QRadioButton" name="pipenvButton">
67 <property name="toolTip">
68 <string>Select to build SBOM from 'Pipfile.lock' file</string>
69 </property>
70 <property name="text">
71 <string>PipEnv</string>
72 </property>
73 </widget>
74 </item>
75 <item>
76 <widget class="QRadioButton" name="poetryButton">
77 <property name="toolTip">
78 <string>Select to build SBOM from 'poetry.lock' file</string>
79 </property>
80 <property name="text">
81 <string>Poetry</string>
82 </property>
83 </widget>
84 </item>
85 <item>
86 <widget class="QRadioButton" name="requirementsButton">
87 <property name="toolTip">
88 <string>Select to build SBOM from 'requirements.txt' file</string>
89 </property>
90 <property name="text">
91 <string>Requirements</string>
92 </property>
93 </widget>
94 </item>
95 </layout>
62 </item> 96 </item>
63 <item> 97 <item>
64 <widget class="QRadioButton" name="pipenvButton"> 98 <layout class="QHBoxLayout" name="horizontalLayout">
65 <property name="toolTip"> 99 <item>
66 <string>Select to build SBOM from 'Pipfile.lock' file</string> 100 <widget class="QLabel" name="pyprojectLabel">
67 </property> 101 <property name="text">
68 <property name="text"> 102 <string>pyproject.toml File:</string>
69 <string>PipEnv</string> 103 </property>
70 </property> 104 </widget>
71 </widget> 105 </item>
106 <item>
107 <widget class="EricPathPicker" name="pyprojectFilePicker" native="true">
108 <property name="sizePolicy">
109 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
110 <horstretch>0</horstretch>
111 <verstretch>0</verstretch>
112 </sizepolicy>
113 </property>
114 <property name="focusPolicy">
115 <enum>Qt::FocusPolicy::StrongFocus</enum>
116 </property>
117 <property name="toolTip">
118 <string>Enter the file path for the SBOM file (leave empty for default)</string>
119 </property>
120 </widget>
121 </item>
122 </layout>
72 </item> 123 </item>
73 <item> 124 <item>
74 <widget class="QRadioButton" name="poetryButton"> 125 <layout class="QHBoxLayout" name="horizontalLayout_4">
75 <property name="toolTip"> 126 <item>
76 <string>Select to build SBOM from 'poetry.lock' file</string> 127 <widget class="QLabel" name="label_5">
77 </property> 128 <property name="text">
78 <property name="text"> 129 <string>Main Component Type:</string>
79 <string>Poetry</string> 130 </property>
80 </property> 131 </widget>
81 </widget> 132 </item>
82 </item> 133 <item>
83 <item> 134 <widget class="QComboBox" name="mainComponentTypeComboBox">
84 <widget class="QRadioButton" name="requirementsButton"> 135 <property name="toolTip">
85 <property name="toolTip"> 136 <string>Select the type of the main component</string>
86 <string>Select to build SBOM from 'requirements.txt' file</string> 137 </property>
87 </property> 138 </widget>
88 <property name="text"> 139 </item>
89 <string>Requirements</string> 140 <item>
90 </property> 141 <spacer name="horizontalSpacer_2">
91 </widget> 142 <property name="orientation">
143 <enum>Qt::Orientation::Horizontal</enum>
144 </property>
145 <property name="sizeHint" stdset="0">
146 <size>
147 <width>40</width>
148 <height>20</height>
149 </size>
150 </property>
151 </spacer>
152 </item>
153 </layout>
92 </item> 154 </item>
93 </layout> 155 </layout>
94 </widget> 156 </widget>
95 </item> 157 </item>
96 <item> 158 <item>
97 <widget class="QGroupBox" name="groupBox_2"> 159 <widget class="QGroupBox" name="groupBox_2">
98 <property name="title"> 160 <property name="title">
99 <string>SBOM Output</string> 161 <string>SBOM Output</string>
100 </property> 162 </property>
101 <layout class="QGridLayout" name="gridLayout"> 163 <layout class="QGridLayout" name="gridLayout">
102 <item row="2" column="1"> 164 <item row="0" column="2">
103 <widget class="QComboBox" name="fileFormatComboBox">
104 <property name="toolTip">
105 <string>Select the format of the SBOM file</string>
106 </property>
107 <item>
108 <property name="text">
109 <string>JSON</string>
110 </property>
111 </item>
112 <item>
113 <property name="text">
114 <string>XML</string>
115 </property>
116 </item>
117 </widget>
118 </item>
119 <item row="0" column="0" colspan="3">
120 <widget class="QCheckBox" name="vulnerabilityCheckBox">
121 <property name="toolTip">
122 <string>Select to include vulnerability data in the generated SBOM (requires Schema 1.4 or newer)</string>
123 </property>
124 <property name="text">
125 <string>Include Vulnerability Information</string>
126 </property>
127 <property name="checked">
128 <bool>true</bool>
129 </property>
130 </widget>
131 </item>
132 <item row="1" column="0" colspan="3">
133 <widget class="QCheckBox" name="dependenciesCheckBox">
134 <property name="toolTip">
135 <string>Select to include dependency information in the generated SBOM</string>
136 </property>
137 <property name="text">
138 <string>Include Dependencies</string>
139 </property>
140 <property name="checked">
141 <bool>true</bool>
142 </property>
143 </widget>
144 </item>
145 <item row="2" column="0">
146 <widget class="QLabel" name="label_2">
147 <property name="text">
148 <string>File Format:</string>
149 </property>
150 </widget>
151 </item>
152 <item row="3" column="1">
153 <widget class="QComboBox" name="schemaVersionComboBox">
154 <property name="toolTip">
155 <string>Select the SBOM schema version of the SBOM file</string>
156 </property>
157 </widget>
158 </item>
159 <item row="2" column="2">
160 <spacer name="horizontalSpacer"> 165 <spacer name="horizontalSpacer">
161 <property name="orientation"> 166 <property name="orientation">
162 <enum>Qt::Horizontal</enum> 167 <enum>Qt::Orientation::Horizontal</enum>
163 </property> 168 </property>
164 <property name="sizeHint" stdset="0"> 169 <property name="sizeHint" stdset="0">
165 <size> 170 <size>
166 <width>413</width> 171 <width>413</width>
167 <height>20</height> 172 <height>20</height>
168 </size> 173 </size>
169 </property> 174 </property>
170 </spacer> 175 </spacer>
171 </item> 176 </item>
172 <item row="5" column="1" colspan="2"> 177 <item row="2" column="0">
173 <widget class="EricPathPicker" name="filePicker" native="true">
174 <property name="focusPolicy">
175 <enum>Qt::StrongFocus</enum>
176 </property>
177 <property name="toolTip">
178 <string>Enter the file path for the SBOM file (leave empty for default)</string>
179 </property>
180 </widget>
181 </item>
182 <item row="5" column="0">
183 <widget class="QLabel" name="label_4"> 178 <widget class="QLabel" name="label_4">
184 <property name="text"> 179 <property name="text">
185 <string>File Name:</string> 180 <string>File Name:</string>
186 </property> 181 </property>
187 </widget> 182 </widget>
188 </item> 183 </item>
189 <item row="3" column="0"> 184 <item row="1" column="0">
190 <widget class="QLabel" name="label_3"> 185 <widget class="QLabel" name="label_3">
191 <property name="text"> 186 <property name="text">
192 <string>Schema Version:</string> 187 <string>Spec Version:</string>
193 </property> 188 </property>
194 </widget> 189 </widget>
195 </item> 190 </item>
196 <item row="4" column="0" colspan="3"> 191 <item row="2" column="1" colspan="2">
197 <widget class="QCheckBox" name="readableCheckBox"> 192 <widget class="EricPathPicker" name="outputFilePicker" native="true">
193 <property name="focusPolicy">
194 <enum>Qt::FocusPolicy::StrongFocus</enum>
195 </property>
198 <property name="toolTip"> 196 <property name="toolTip">
199 <string>Select to generate non-compact, readable output</string> 197 <string>Enter the file path for the SBOM file (leave empty for default)</string>
200 </property> 198 </property>
199 </widget>
200 </item>
201 <item row="0" column="1">
202 <widget class="QComboBox" name="fileFormatComboBox">
203 <property name="toolTip">
204 <string>Select the format of the SBOM file</string>
205 </property>
206 <item>
207 <property name="text">
208 <string>JSON</string>
209 </property>
210 </item>
211 <item>
212 <property name="text">
213 <string>XML</string>
214 </property>
215 </item>
216 </widget>
217 </item>
218 <item row="0" column="0">
219 <widget class="QLabel" name="label_2">
201 <property name="text"> 220 <property name="text">
202 <string>Generate Readable Output</string> 221 <string>File Format:</string>
222 </property>
223 </widget>
224 </item>
225 <item row="1" column="1">
226 <widget class="QComboBox" name="specVersionComboBox">
227 <property name="toolTip">
228 <string>Select the SBOM spec version of the SBOM file</string>
203 </property> 229 </property>
204 </widget> 230 </widget>
205 </item> 231 </item>
206 </layout> 232 </layout>
207 </widget> 233 </widget>
208 </item> 234 </item>
209 <item> 235 <item>
210 <widget class="QDialogButtonBox" name="buttonBox"> 236 <widget class="QDialogButtonBox" name="buttonBox">
211 <property name="orientation"> 237 <property name="orientation">
212 <enum>Qt::Horizontal</enum> 238 <enum>Qt::Orientation::Horizontal</enum>
213 </property> 239 </property>
214 <property name="standardButtons"> 240 <property name="standardButtons">
215 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 241 <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
216 </property> 242 </property>
217 </widget> 243 </widget>
218 </item> 244 </item>
219 </layout> 245 </layout>
220 </widget> 246 </widget>
229 <tabstops> 255 <tabstops>
230 <tabstop>environmentButton</tabstop> 256 <tabstop>environmentButton</tabstop>
231 <tabstop>pipenvButton</tabstop> 257 <tabstop>pipenvButton</tabstop>
232 <tabstop>poetryButton</tabstop> 258 <tabstop>poetryButton</tabstop>
233 <tabstop>requirementsButton</tabstop> 259 <tabstop>requirementsButton</tabstop>
234 <tabstop>vulnerabilityCheckBox</tabstop> 260 <tabstop>pyprojectFilePicker</tabstop>
235 <tabstop>dependenciesCheckBox</tabstop> 261 <tabstop>mainComponentTypeComboBox</tabstop>
236 <tabstop>fileFormatComboBox</tabstop> 262 <tabstop>fileFormatComboBox</tabstop>
237 <tabstop>schemaVersionComboBox</tabstop> 263 <tabstop>specVersionComboBox</tabstop>
238 <tabstop>readableCheckBox</tabstop> 264 <tabstop>outputFilePicker</tabstop>
239 <tabstop>filePicker</tabstop>
240 </tabstops> 265 </tabstops>
241 <resources/> 266 <resources/>
242 <connections> 267 <connections>
243 <connection> 268 <connection>
244 <sender>buttonBox</sender> 269 <sender>buttonBox</sender>

eric ide

mercurial