src/eric7/CodeFormatting/BlackConfigurationDialog.ui

branch
eric7
changeset 9214
bd28e56047d7
child 9216
e89083501ce3
equal deleted inserted replaced
9213:2bf743848d2f 9214:bd28e56047d7
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>BlackConfigurationDialog</class>
4 <widget class="QDialog" name="BlackConfigurationDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>600</width>
10 <height>500</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Black Configuration</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QGridLayout" name="gridLayout_2">
20 <item row="0" column="0">
21 <widget class="QLabel" name="label">
22 <property name="text">
23 <string>Configuration Source:</string>
24 </property>
25 </widget>
26 </item>
27 <item row="0" column="1">
28 <widget class="QComboBox" name="sourceComboBox">
29 <property name="sizePolicy">
30 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
31 <horstretch>0</horstretch>
32 <verstretch>0</verstretch>
33 </sizepolicy>
34 </property>
35 <property name="toolTip">
36 <string>Select the configuration source.</string>
37 </property>
38 </widget>
39 </item>
40 <item row="1" column="0" colspan="2">
41 <widget class="QGroupBox" name="configurationGroup">
42 <property name="title">
43 <string>Configuration</string>
44 </property>
45 <layout class="QGridLayout" name="gridLayout">
46 <item row="0" column="0">
47 <widget class="QLabel" name="label_2">
48 <property name="text">
49 <string>Line Length:</string>
50 </property>
51 </widget>
52 </item>
53 <item row="0" column="1">
54 <widget class="QSpinBox" name="lineLengthSpinBox">
55 <property name="toolTip">
56 <string>Enter the allowed maximum line length.</string>
57 </property>
58 <property name="minimum">
59 <number>70</number>
60 </property>
61 <property name="maximum">
62 <number>120</number>
63 </property>
64 <property name="value">
65 <number>88</number>
66 </property>
67 </widget>
68 </item>
69 <item row="0" column="2" colspan="2">
70 <spacer name="horizontalSpacer">
71 <property name="orientation">
72 <enum>Qt::Horizontal</enum>
73 </property>
74 <property name="sizeHint" stdset="0">
75 <size>
76 <width>387</width>
77 <height>20</height>
78 </size>
79 </property>
80 </spacer>
81 </item>
82 <item row="1" column="0">
83 <widget class="QLabel" name="label_3">
84 <property name="text">
85 <string>Target Versions:</string>
86 </property>
87 <property name="alignment">
88 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
89 </property>
90 </widget>
91 </item>
92 <item row="1" column="1" rowspan="2" colspan="2">
93 <widget class="QListWidget" name="targetVersionsList">
94 <property name="toolTip">
95 <string>Select the python versions to be supported (none for auto-detection).</string>
96 </property>
97 <property name="alternatingRowColors">
98 <bool>true</bool>
99 </property>
100 <property name="selectionMode">
101 <enum>QAbstractItemView::NoSelection</enum>
102 </property>
103 </widget>
104 </item>
105 <item row="2" column="3">
106 <spacer name="horizontalSpacer_2">
107 <property name="orientation">
108 <enum>Qt::Horizontal</enum>
109 </property>
110 <property name="sizeHint" stdset="0">
111 <size>
112 <width>322</width>
113 <height>20</height>
114 </size>
115 </property>
116 </spacer>
117 </item>
118 <item row="3" column="0" colspan="4">
119 <widget class="QCheckBox" name="skipStringNormalCheckBox">
120 <property name="toolTip">
121 <string>Select to not normalize string quotes or prefixes.</string>
122 </property>
123 <property name="text">
124 <string>Skip string normalization</string>
125 </property>
126 </widget>
127 </item>
128 <item row="4" column="0" colspan="4">
129 <widget class="QCheckBox" name="skipMagicCommaCheckBox">
130 <property name="toolTip">
131 <string>Select to not use trailing commas as a reason to split lines.</string>
132 </property>
133 <property name="text">
134 <string>Skip magic trailing comma</string>
135 </property>
136 </widget>
137 </item>
138 <item row="5" column="0">
139 <widget class="QLabel" name="label_4">
140 <property name="text">
141 <string>Exclude:</string>
142 </property>
143 <property name="alignment">
144 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
145 </property>
146 </widget>
147 </item>
148 <item row="5" column="1" rowspan="2" colspan="3">
149 <widget class="QPlainTextEdit" name="excludeEdit">
150 <property name="toolTip">
151 <string>Enter a regular expression that matches files and directories that should be excluded in addition to the default exclusions.</string>
152 </property>
153 </widget>
154 </item>
155 <item row="6" column="0">
156 <widget class="QPushButton" name="validateButton">
157 <property name="toolTip">
158 <string>Press to validate the entered exclusion pattern.</string>
159 </property>
160 <property name="text">
161 <string>Validate</string>
162 </property>
163 </widget>
164 </item>
165 </layout>
166 </widget>
167 </item>
168 <item row="2" column="0" colspan="2">
169 <widget class="QDialogButtonBox" name="buttonBox">
170 <property name="orientation">
171 <enum>Qt::Horizontal</enum>
172 </property>
173 <property name="standardButtons">
174 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
175 </property>
176 </widget>
177 </item>
178 </layout>
179 </widget>
180 <tabstops>
181 <tabstop>sourceComboBox</tabstop>
182 <tabstop>lineLengthSpinBox</tabstop>
183 <tabstop>targetVersionsList</tabstop>
184 <tabstop>skipStringNormalCheckBox</tabstop>
185 <tabstop>skipMagicCommaCheckBox</tabstop>
186 <tabstop>excludeEdit</tabstop>
187 </tabstops>
188 <resources/>
189 <connections>
190 <connection>
191 <sender>buttonBox</sender>
192 <signal>accepted()</signal>
193 <receiver>BlackConfigurationDialog</receiver>
194 <slot>accept()</slot>
195 <hints>
196 <hint type="sourcelabel">
197 <x>248</x>
198 <y>254</y>
199 </hint>
200 <hint type="destinationlabel">
201 <x>157</x>
202 <y>274</y>
203 </hint>
204 </hints>
205 </connection>
206 <connection>
207 <sender>buttonBox</sender>
208 <signal>rejected()</signal>
209 <receiver>BlackConfigurationDialog</receiver>
210 <slot>reject()</slot>
211 <hints>
212 <hint type="sourcelabel">
213 <x>316</x>
214 <y>260</y>
215 </hint>
216 <hint type="destinationlabel">
217 <x>286</x>
218 <y>274</y>
219 </hint>
220 </hints>
221 </connection>
222 </connections>
223 </ui>

eric ide

mercurial