62 </sizepolicy> |
62 </sizepolicy> |
63 </property> |
63 </property> |
64 <property name="title"> |
64 <property name="title"> |
65 <string>Sorting</string> |
65 <string>Sorting</string> |
66 </property> |
66 </property> |
67 <layout class="QGridLayout" name="gridLayout"> |
67 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
68 <item row="0" column="0"> |
68 <item> |
69 <widget class="QLabel" name="label_14"> |
69 <layout class="QVBoxLayout" name="verticalLayout_3"> |
70 <property name="text"> |
70 <item> |
71 <string>Sort Order:</string> |
71 <layout class="QHBoxLayout" name="horizontalLayout"> |
72 </property> |
72 <item> |
73 </widget> |
73 <widget class="QLabel" name="label_14"> |
74 </item> |
74 <property name="text"> |
75 <item row="0" column="1"> |
75 <string>Sort Order:</string> |
76 <widget class="QComboBox" name="sortOrderComboBox"> |
76 </property> |
77 <property name="toolTip"> |
77 </widget> |
78 <string>Select the sort order (empty for default).</string> |
78 </item> |
79 </property> |
79 <item> |
80 </widget> |
80 <widget class="QComboBox" name="sortOrderComboBox"> |
81 </item> |
81 <property name="toolTip"> |
82 <item row="0" column="2"> |
82 <string>Select the sort order (empty for default).</string> |
83 <widget class="QLabel" name="label_15"> |
83 </property> |
84 <property name="sizePolicy"> |
84 </widget> |
85 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
85 </item> |
86 <horstretch>0</horstretch> |
86 </layout> |
87 <verstretch>0</verstretch> |
87 </item> |
88 </sizepolicy> |
88 <item> |
89 </property> |
89 <widget class="QLabel" name="label_15"> |
90 <property name="text"> |
90 <property name="sizePolicy"> |
91 <string><a href="https://pycqa.github.io/isort/docs/configuration/options.html#sort-order">Defined Sort Orders</a></string> |
91 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
92 </property> |
92 <horstretch>0</horstretch> |
93 <property name="openExternalLinks"> |
93 <verstretch>0</verstretch> |
94 <bool>true</bool> |
94 </sizepolicy> |
95 </property> |
95 </property> |
96 </widget> |
96 <property name="text"> |
97 </item> |
97 <string><a href="https://pycqa.github.io/isort/docs/configuration/options.html#sort-order">Defined Sort Orders</a></string> |
98 <item row="0" column="3"> |
98 </property> |
99 <widget class="QLabel" name="label_10"> |
99 <property name="openExternalLinks"> |
100 <property name="text"> |
100 <bool>true</bool> |
101 <string>Sections:</string> |
101 </property> |
102 </property> |
102 </widget> |
103 <property name="alignment"> |
103 </item> |
104 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
104 <item> |
105 </property> |
105 <widget class="QCheckBox" name="sortCaseSensitiveCheckBox"> |
106 </widget> |
106 <property name="toolTip"> |
107 </item> |
107 <string>Select to sort imports observing the case.</string> |
108 <item row="0" column="4" rowspan="5"> |
108 </property> |
109 <widget class="QPlainTextEdit" name="sectionsEdit"> |
109 <property name="text"> |
110 <property name="toolTip"> |
110 <string>Sort Case Sensitively</string> |
111 <string>Enter the order of sections (one per line).</string> |
111 </property> |
112 </property> |
112 </widget> |
113 </widget> |
113 </item> |
114 </item> |
114 <item> |
115 <item row="1" column="0" colspan="3"> |
115 <widget class="QCheckBox" name="sortIgnoreStyleCheckBox"> |
116 <widget class="QCheckBox" name="sortCaseSensitiveCheckBox"> |
116 <property name="toolTip"> |
117 <property name="toolTip"> |
117 <string>Select to sort the imports by module, independent of import style</string> |
118 <string>Select to sort imports observing the case.</string> |
118 </property> |
119 </property> |
119 <property name="text"> |
120 <property name="text"> |
120 <string>Sort Ignoring Style</string> |
121 <string>Sort Case Sensitively</string> |
121 </property> |
122 </property> |
122 </widget> |
123 </widget> |
123 </item> |
124 </item> |
124 <item> |
125 <item row="2" column="0" colspan="3"> |
125 <widget class="QCheckBox" name="sortFromFirstCheckBox"> |
126 <widget class="QCheckBox" name="sortIgnoreStyleCheckBox"> |
126 <property name="toolTip"> |
127 <property name="toolTip"> |
127 <string>Select to place from imports first then straight ones</string> |
128 <string>Select to sort the imports by module, independent of import style</string> |
128 </property> |
129 </property> |
129 <property name="text"> |
130 <property name="text"> |
130 <string>Sort From First</string> |
131 <string>Sort Ignoring Style</string> |
131 </property> |
132 </property> |
132 </widget> |
133 </widget> |
133 </item> |
134 </item> |
134 <item> |
135 <item row="3" column="0" colspan="3"> |
135 <spacer name="verticalSpacer"> |
136 <widget class="QCheckBox" name="sortFromFirstCheckBox"> |
136 <property name="orientation"> |
137 <property name="toolTip"> |
137 <enum>Qt::Vertical</enum> |
138 <string>Select to place from imports first then straight ones</string> |
138 </property> |
139 </property> |
139 <property name="sizeHint" stdset="0"> |
140 <property name="text"> |
140 <size> |
141 <string>Sort From First</string> |
141 <width>20</width> |
142 </property> |
142 <height>13</height> |
143 </widget> |
143 </size> |
144 </item> |
144 </property> |
145 <item row="4" column="0"> |
145 </spacer> |
146 <spacer name="verticalSpacer"> |
146 </item> |
147 <property name="orientation"> |
147 </layout> |
148 <enum>Qt::Vertical</enum> |
148 </item> |
149 </property> |
149 <item> |
150 <property name="sizeHint" stdset="0"> |
150 <layout class="QGridLayout" name="gridLayout_6"> |
151 <size> |
151 <item row="0" column="0"> |
152 <width>20</width> |
152 <widget class="QLabel" name="label_10"> |
153 <height>0</height> |
153 <property name="text"> |
154 </size> |
154 <string>Sections:</string> |
155 </property> |
155 </property> |
156 </spacer> |
156 <property name="alignment"> |
|
157 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
158 </property> |
|
159 </widget> |
|
160 </item> |
|
161 <item row="0" column="1"> |
|
162 <widget class="QLabel" name="label_17"> |
|
163 <property name="text"> |
|
164 <string>Known First Party Packages:</string> |
|
165 </property> |
|
166 </widget> |
|
167 </item> |
|
168 <item row="1" column="0"> |
|
169 <widget class="QPlainTextEdit" name="sectionsEdit"> |
|
170 <property name="toolTip"> |
|
171 <string>Enter the order of sections (one per line).</string> |
|
172 </property> |
|
173 </widget> |
|
174 </item> |
|
175 <item row="1" column="1"> |
|
176 <widget class="QPlainTextEdit" name="firstPartyEdit"> |
|
177 <property name="toolTip"> |
|
178 <string>Enter the known first party package names (one per line).</string> |
|
179 </property> |
|
180 </widget> |
|
181 </item> |
|
182 </layout> |
157 </item> |
183 </item> |
158 </layout> |
184 </layout> |
159 </widget> |
185 </widget> |
160 </item> |
186 </item> |
161 <item> |
187 <item> |
213 <string>Output</string> |
239 <string>Output</string> |
214 </property> |
240 </property> |
215 <layout class="QVBoxLayout" name="verticalLayout"> |
241 <layout class="QVBoxLayout" name="verticalLayout"> |
216 <item> |
242 <item> |
217 <layout class="QGridLayout" name="gridLayout_4"> |
243 <layout class="QGridLayout" name="gridLayout_4"> |
218 <item row="0" column="0"> |
244 <item row="2" column="1"> |
219 <widget class="QLabel" name="label_2"> |
245 <widget class="QComboBox" name="multiLineComboBox"> |
220 <property name="text"> |
246 <property name="toolTip"> |
221 <string>Profile:</string> |
247 <string>Select the type of multi line import statements (see isort documentation).</string> |
222 </property> |
248 </property> |
223 </widget> |
249 </widget> |
224 </item> |
250 </item> |
225 <item row="0" column="1"> |
251 <item row="0" column="1"> |
226 <widget class="QComboBox" name="profileComboBox"> |
252 <widget class="QComboBox" name="profileComboBox"> |
227 <property name="toolTip"> |
253 <property name="toolTip"> |
228 <string>Enter a profile to be used (empty for none) (see isort documentation).</string> |
254 <string>Enter a profile to be used (empty for none) (see isort documentation).</string> |
229 </property> |
255 </property> |
230 <property name="editable"> |
256 <property name="editable"> |
231 <bool>true</bool> |
257 <bool>true</bool> |
|
258 </property> |
|
259 </widget> |
|
260 </item> |
|
261 <item row="1" column="0"> |
|
262 <widget class="QLabel" name="label_3"> |
|
263 <property name="text"> |
|
264 <string>Target Version:</string> |
|
265 </property> |
|
266 </widget> |
|
267 </item> |
|
268 <item row="1" column="1"> |
|
269 <widget class="QComboBox" name="pythonComboBox"> |
|
270 <property name="toolTip"> |
|
271 <string>Select the target Python version.</string> |
232 </property> |
272 </property> |
233 </widget> |
273 </widget> |
234 </item> |
274 </item> |
235 <item row="0" column="2"> |
275 <item row="0" column="2"> |
236 <widget class="QLabel" name="label_13"> |
276 <widget class="QLabel" name="label_13"> |
551 </layout> |
577 </layout> |
552 </widget> |
578 </widget> |
553 <tabstops> |
579 <tabstops> |
554 <tabstop>sourceComboBox</tabstop> |
580 <tabstop>sourceComboBox</tabstop> |
555 <tabstop>sortOrderComboBox</tabstop> |
581 <tabstop>sortOrderComboBox</tabstop> |
556 <tabstop>sectionsEdit</tabstop> |
582 <tabstop>label_15</tabstop> |
557 <tabstop>sortCaseSensitiveCheckBox</tabstop> |
583 <tabstop>sortCaseSensitiveCheckBox</tabstop> |
558 <tabstop>sortIgnoreStyleCheckBox</tabstop> |
584 <tabstop>sortIgnoreStyleCheckBox</tabstop> |
559 <tabstop>sortFromFirstCheckBox</tabstop> |
585 <tabstop>sortFromFirstCheckBox</tabstop> |
|
586 <tabstop>sectionsEdit</tabstop> |
|
587 <tabstop>firstPartyEdit</tabstop> |
560 <tabstop>extensionsEdit</tabstop> |
588 <tabstop>extensionsEdit</tabstop> |
561 <tabstop>excludeEdit</tabstop> |
589 <tabstop>excludeEdit</tabstop> |
562 <tabstop>profileComboBox</tabstop> |
590 <tabstop>profileComboBox</tabstop> |
|
591 <tabstop>label_13</tabstop> |
563 <tabstop>pythonComboBox</tabstop> |
592 <tabstop>pythonComboBox</tabstop> |
564 <tabstop>multiLineComboBox</tabstop> |
593 <tabstop>multiLineComboBox</tabstop> |
|
594 <tabstop>label_12</tabstop> |
565 <tabstop>lineLengthSpinBox</tabstop> |
595 <tabstop>lineLengthSpinBox</tabstop> |
566 <tabstop>linesBeforeImportsSpinBox</tabstop> |
596 <tabstop>linesBeforeImportsSpinBox</tabstop> |
567 <tabstop>linesAfterImportsSpinBox</tabstop> |
597 <tabstop>linesAfterImportsSpinBox</tabstop> |
568 <tabstop>linesBetweenSectionsSpinBox</tabstop> |
598 <tabstop>linesBetweenSectionsSpinBox</tabstop> |
569 <tabstop>linesBetweenTypesSpinBox</tabstop> |
599 <tabstop>linesBetweenTypesSpinBox</tabstop> |
570 <tabstop>trailingCommaCheckBox</tabstop> |
600 <tabstop>trailingCommaCheckBox</tabstop> |
571 <tabstop>parenthesesCheckBox</tabstop> |
601 <tabstop>parenthesesCheckBox</tabstop> |
|
602 <tabstop>combineAsCheckBox</tabstop> |
572 </tabstops> |
603 </tabstops> |
573 <resources/> |
604 <resources/> |
574 <connections> |
605 <connections> |
575 <connection> |
606 <connection> |
576 <sender>buttonBox</sender> |
607 <sender>buttonBox</sender> |