1/********************************************************************************
2** Form generated from reading UI file 'formattergeneralwidget.ui'
3**
4** Created by: Qt User Interface Compiler version 5.15.3
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_FORMATTERGENERALWIDGET_H
10#define UI_FORMATTERGENERALWIDGET_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QButtonGroup>
15#include <QtWidgets/QCheckBox>
16#include <QtWidgets/QComboBox>
17#include <QtWidgets/QGridLayout>
18#include <QtWidgets/QGroupBox>
19#include <QtWidgets/QHBoxLayout>
20#include <QtWidgets/QLabel>
21#include <QtWidgets/QRadioButton>
22#include <QtWidgets/QSpacerItem>
23#include <QtWidgets/QSpinBox>
24#include <QtWidgets/QTabWidget>
25#include <QtWidgets/QVBoxLayout>
26#include <QtWidgets/QWidget>
27#include <editor.h>
28
29QT_BEGIN_NAMESPACE
30
31class Ui_FormatterGeneralWidget
32{
33public:
34 QVBoxLayout *verticalLayout_2;
35 QWidget *widget;
36 QHBoxLayout *horizontalLayout;
37 QLabel *label;
38 QComboBox *cbBraceStyle;
39 QSpacerItem *horizontalSpacer;
40 QLabel *lblBraceStyle;
41 QTabWidget *tabWidget;
42 QWidget *tab;
43 QVBoxLayout *verticalLayout_3;
44 QGroupBox *groupBox_2;
45 QVBoxLayout *verticalLayout;
46 QCheckBox *chkAttachNamespaces;
47 QCheckBox *chkAttachClasses;
48 QCheckBox *chkAttachInline;
49 QCheckBox *chkAttachExternC;
50 QCheckBox *chkAttachClosingWhile;
51 QCheckBox *chkConvertTabs;
52 QWidget *tab_3;
53 QVBoxLayout *verticalLayout_4;
54 QGroupBox *groupBox;
55 QHBoxLayout *horizontalLayout_2;
56 QRadioButton *rbIndentSpaces;
57 QRadioButton *rbIndentTabs;
58 QWidget *widget_2;
59 QGridLayout *gridLayout_2;
60 QLabel *label_2;
61 QSpacerItem *horizontalSpacer_2;
62 QSpinBox *spinTabSize;
63 QWidget *widget_3;
64 QHBoxLayout *horizontalLayout_3;
65 QLabel *label_3;
66 QSpinBox *spinIndentContinuation;
67 QSpacerItem *horizontalSpacer_3;
68 QWidget *widget_4;
69 QHBoxLayout *horizontalLayout_4;
70 QLabel *label_4;
71 QSpinBox *spinMinConditionalIndent;
72 QSpacerItem *horizontalSpacer_4;
73 QWidget *widget_5;
74 QHBoxLayout *horizontalLayout_5;
75 QLabel *label_5;
76 QSpinBox *spinMaxContinuationIndent;
77 QSpacerItem *horizontalSpacer_5;
78 QWidget *tab_2;
79 QGridLayout *gridLayout;
80 QCheckBox *chkIndentLabels;
81 QCheckBox *chkIndentClasses;
82 QCheckBox *chkIndentNamespaces;
83 QCheckBox *chkIndentModifiers;
84 QCheckBox *chkIndentAfterParens;
85 QCheckBox *chkIndentPreprocCond;
86 QCheckBox *chkIndentPreprocDefine;
87 QCheckBox *chkIndentCol1Comments;
88 QCheckBox *chkIndentPreprocBlock;
89 QCheckBox *chkIndentSwiches;
90 QCheckBox *chkIndentCases;
91 QWidget *tab_4;
92 QGridLayout *gridLayout_3;
93 QCheckBox *chkPadOper;
94 QCheckBox *chkPadComma;
95 QCheckBox *chkPadHeader;
96 QCheckBox *chkPadParenOut;
97 QCheckBox *chkPadParenIn;
98 QCheckBox *chkBreakBlocks;
99 QCheckBox *chkBreakBlocksAll;
100 QCheckBox *chkPadFirstParenOut;
101 QCheckBox *chkPadParen;
102 QWidget *tab_5;
103 QGridLayout *gridLayout_4;
104 QCheckBox *chkDeleteEmptyLines;
105 QLabel *label_6;
106 QCheckBox *chkDeleteMultipleEmptyLines;
107 QRadioButton *rbAlignReferenceType;
108 QRadioButton *rbAlignPointType;
109 QSpacerItem *horizontalSpacer_6;
110 QRadioButton *rbAlignReferenceMiddle;
111 QCheckBox *chkFillEmptyLines;
112 QRadioButton *rbAlignReferenceName;
113 QRadioButton *rbAlignPointerMiddle;
114 QRadioButton *rbAlignPointerName;
115 QCheckBox *chkUnpadParen;
116 QLabel *label_7;
117 QRadioButton *rbAlignPointNone;
118 QRadioButton *rbAlignReferenceNone;
119 QWidget *tab_6;
120 QGridLayout *gridLayout_5;
121 QCheckBox *chkBreakOneLineHeaders;
122 QCheckBox *chkAddOneLineBraces;
123 QCheckBox *chkBreakClosingBraces;
124 QCheckBox *chkRemoveBraces;
125 QCheckBox *chkBreakElseIf;
126 QCheckBox *chkAddBraces;
127 QWidget *tab_7;
128 QGridLayout *gridLayout_6;
129 QCheckBox *chkBreakReturnType;
130 QCheckBox *chkKeepOneLineBlocks;
131 QCheckBox *chkAttachReturnType;
132 QCheckBox *chkKeepOneLineStatements;
133 QCheckBox *chkBreakReturnTypeDecl;
134 QCheckBox *chkAttachReturnTypeDecl;
135 QWidget *tab_8;
136 QGridLayout *gridLayout_7;
137 QWidget *widget_6;
138 QHBoxLayout *horizontalLayout_6;
139 QCheckBox *chkBreakMaxCodeLength;
140 QSpinBox *spinMaxCodeLength;
141 QSpacerItem *horizontalSpacer_7;
142 QSpacerItem *verticalSpacer;
143 QCheckBox *chkRemoveCommentPrefix;
144 QCheckBox *chkCloseTemplates;
145 QCheckBox *chkBreakAfterLogical;
146 Editor *editDemo;
147 QButtonGroup *referenceBtnGroup;
148 QButtonGroup *pointerBtnGroup;
149
150 void setupUi(QWidget *FormatterGeneralWidget)
151 {
152 if (FormatterGeneralWidget->objectName().isEmpty())
153 FormatterGeneralWidget->setObjectName(QString::fromUtf8("FormatterGeneralWidget"));
154 FormatterGeneralWidget->resize(881, 754);
155 verticalLayout_2 = new QVBoxLayout(FormatterGeneralWidget);
156 verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
157 widget = new QWidget(FormatterGeneralWidget);
158 widget->setObjectName(QString::fromUtf8("widget"));
159 horizontalLayout = new QHBoxLayout(widget);
160 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
161 horizontalLayout->setContentsMargins(0, 0, 0, 0);
162 label = new QLabel(widget);
163 label->setObjectName(QString::fromUtf8("label"));
164
165 horizontalLayout->addWidget(label);
166
167 cbBraceStyle = new QComboBox(widget);
168 cbBraceStyle->setObjectName(QString::fromUtf8("cbBraceStyle"));
169
170 horizontalLayout->addWidget(cbBraceStyle);
171
172 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
173
174 horizontalLayout->addItem(horizontalSpacer);
175
176
177 verticalLayout_2->addWidget(widget);
178
179 lblBraceStyle = new QLabel(FormatterGeneralWidget);
180 lblBraceStyle->setObjectName(QString::fromUtf8("lblBraceStyle"));
181 lblBraceStyle->setFrameShape(QFrame::StyledPanel);
182 lblBraceStyle->setWordWrap(true);
183
184 verticalLayout_2->addWidget(lblBraceStyle);
185
186 tabWidget = new QTabWidget(FormatterGeneralWidget);
187 tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
188 tab = new QWidget();
189 tab->setObjectName(QString::fromUtf8("tab"));
190 verticalLayout_3 = new QVBoxLayout(tab);
191 verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
192 groupBox_2 = new QGroupBox(tab);
193 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
194 verticalLayout = new QVBoxLayout(groupBox_2);
195 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
196 chkAttachNamespaces = new QCheckBox(groupBox_2);
197 chkAttachNamespaces->setObjectName(QString::fromUtf8("chkAttachNamespaces"));
198
199 verticalLayout->addWidget(chkAttachNamespaces);
200
201 chkAttachClasses = new QCheckBox(groupBox_2);
202 chkAttachClasses->setObjectName(QString::fromUtf8("chkAttachClasses"));
203
204 verticalLayout->addWidget(chkAttachClasses);
205
206 chkAttachInline = new QCheckBox(groupBox_2);
207 chkAttachInline->setObjectName(QString::fromUtf8("chkAttachInline"));
208
209 verticalLayout->addWidget(chkAttachInline);
210
211 chkAttachExternC = new QCheckBox(groupBox_2);
212 chkAttachExternC->setObjectName(QString::fromUtf8("chkAttachExternC"));
213
214 verticalLayout->addWidget(chkAttachExternC);
215
216 chkAttachClosingWhile = new QCheckBox(groupBox_2);
217 chkAttachClosingWhile->setObjectName(QString::fromUtf8("chkAttachClosingWhile"));
218
219 verticalLayout->addWidget(chkAttachClosingWhile);
220
221
222 verticalLayout_3->addWidget(groupBox_2);
223
224 chkConvertTabs = new QCheckBox(tab);
225 chkConvertTabs->setObjectName(QString::fromUtf8("chkConvertTabs"));
226
227 verticalLayout_3->addWidget(chkConvertTabs);
228
229 tabWidget->addTab(tab, QString());
230 tab_3 = new QWidget();
231 tab_3->setObjectName(QString::fromUtf8("tab_3"));
232 verticalLayout_4 = new QVBoxLayout(tab_3);
233 verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
234 groupBox = new QGroupBox(tab_3);
235 groupBox->setObjectName(QString::fromUtf8("groupBox"));
236 horizontalLayout_2 = new QHBoxLayout(groupBox);
237 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
238 horizontalLayout_2->setContentsMargins(-1, 5, 11, 5);
239 rbIndentSpaces = new QRadioButton(groupBox);
240 rbIndentSpaces->setObjectName(QString::fromUtf8("rbIndentSpaces"));
241
242 horizontalLayout_2->addWidget(rbIndentSpaces);
243
244 rbIndentTabs = new QRadioButton(groupBox);
245 rbIndentTabs->setObjectName(QString::fromUtf8("rbIndentTabs"));
246
247 horizontalLayout_2->addWidget(rbIndentTabs);
248
249
250 verticalLayout_4->addWidget(groupBox);
251
252 widget_2 = new QWidget(tab_3);
253 widget_2->setObjectName(QString::fromUtf8("widget_2"));
254 gridLayout_2 = new QGridLayout(widget_2);
255 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
256 gridLayout_2->setContentsMargins(0, 0, 0, 0);
257 label_2 = new QLabel(widget_2);
258 label_2->setObjectName(QString::fromUtf8("label_2"));
259
260 gridLayout_2->addWidget(label_2, 0, 0, 1, 1);
261
262 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
263
264 gridLayout_2->addItem(horizontalSpacer_2, 0, 2, 1, 1);
265
266 spinTabSize = new QSpinBox(widget_2);
267 spinTabSize->setObjectName(QString::fromUtf8("spinTabSize"));
268 spinTabSize->setMinimum(1);
269 spinTabSize->setMaximum(8);
270 spinTabSize->setValue(4);
271
272 gridLayout_2->addWidget(spinTabSize, 0, 1, 1, 1);
273
274
275 verticalLayout_4->addWidget(widget_2);
276
277 widget_3 = new QWidget(tab_3);
278 widget_3->setObjectName(QString::fromUtf8("widget_3"));
279 horizontalLayout_3 = new QHBoxLayout(widget_3);
280 horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
281 horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
282 label_3 = new QLabel(widget_3);
283 label_3->setObjectName(QString::fromUtf8("label_3"));
284
285 horizontalLayout_3->addWidget(label_3);
286
287 spinIndentContinuation = new QSpinBox(widget_3);
288 spinIndentContinuation->setObjectName(QString::fromUtf8("spinIndentContinuation"));
289 spinIndentContinuation->setMaximum(4);
290 spinIndentContinuation->setValue(1);
291
292 horizontalLayout_3->addWidget(spinIndentContinuation);
293
294 horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
295
296 horizontalLayout_3->addItem(horizontalSpacer_3);
297
298
299 verticalLayout_4->addWidget(widget_3);
300
301 widget_4 = new QWidget(tab_3);
302 widget_4->setObjectName(QString::fromUtf8("widget_4"));
303 horizontalLayout_4 = new QHBoxLayout(widget_4);
304 horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
305 horizontalLayout_4->setContentsMargins(0, 0, 0, 0);
306 label_4 = new QLabel(widget_4);
307 label_4->setObjectName(QString::fromUtf8("label_4"));
308
309 horizontalLayout_4->addWidget(label_4);
310
311 spinMinConditionalIndent = new QSpinBox(widget_4);
312 spinMinConditionalIndent->setObjectName(QString::fromUtf8("spinMinConditionalIndent"));
313
314 horizontalLayout_4->addWidget(spinMinConditionalIndent);
315
316 horizontalSpacer_4 = new QSpacerItem(187, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
317
318 horizontalLayout_4->addItem(horizontalSpacer_4);
319
320
321 verticalLayout_4->addWidget(widget_4);
322
323 widget_5 = new QWidget(tab_3);
324 widget_5->setObjectName(QString::fromUtf8("widget_5"));
325 horizontalLayout_5 = new QHBoxLayout(widget_5);
326 horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
327 horizontalLayout_5->setContentsMargins(0, 0, 0, 0);
328 label_5 = new QLabel(widget_5);
329 label_5->setObjectName(QString::fromUtf8("label_5"));
330
331 horizontalLayout_5->addWidget(label_5);
332
333 spinMaxContinuationIndent = new QSpinBox(widget_5);
334 spinMaxContinuationIndent->setObjectName(QString::fromUtf8("spinMaxContinuationIndent"));
335
336 horizontalLayout_5->addWidget(spinMaxContinuationIndent);
337
338 horizontalSpacer_5 = new QSpacerItem(427, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
339
340 horizontalLayout_5->addItem(horizontalSpacer_5);
341
342
343 verticalLayout_4->addWidget(widget_5);
344
345 tabWidget->addTab(tab_3, QString());
346 tab_2 = new QWidget();
347 tab_2->setObjectName(QString::fromUtf8("tab_2"));
348 gridLayout = new QGridLayout(tab_2);
349 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
350 chkIndentLabels = new QCheckBox(tab_2);
351 chkIndentLabels->setObjectName(QString::fromUtf8("chkIndentLabels"));
352
353 gridLayout->addWidget(chkIndentLabels, 5, 0, 1, 1);
354
355 chkIndentClasses = new QCheckBox(tab_2);
356 chkIndentClasses->setObjectName(QString::fromUtf8("chkIndentClasses"));
357
358 gridLayout->addWidget(chkIndentClasses, 0, 0, 1, 1);
359
360 chkIndentNamespaces = new QCheckBox(tab_2);
361 chkIndentNamespaces->setObjectName(QString::fromUtf8("chkIndentNamespaces"));
362
363 gridLayout->addWidget(chkIndentNamespaces, 4, 0, 1, 1);
364
365 chkIndentModifiers = new QCheckBox(tab_2);
366 chkIndentModifiers->setObjectName(QString::fromUtf8("chkIndentModifiers"));
367
368 gridLayout->addWidget(chkIndentModifiers, 0, 1, 1, 1);
369
370 chkIndentAfterParens = new QCheckBox(tab_2);
371 chkIndentAfterParens->setObjectName(QString::fromUtf8("chkIndentAfterParens"));
372
373 gridLayout->addWidget(chkIndentAfterParens, 4, 1, 1, 1);
374
375 chkIndentPreprocCond = new QCheckBox(tab_2);
376 chkIndentPreprocCond->setObjectName(QString::fromUtf8("chkIndentPreprocCond"));
377
378 gridLayout->addWidget(chkIndentPreprocCond, 8, 0, 1, 1);
379
380 chkIndentPreprocDefine = new QCheckBox(tab_2);
381 chkIndentPreprocDefine->setObjectName(QString::fromUtf8("chkIndentPreprocDefine"));
382
383 gridLayout->addWidget(chkIndentPreprocDefine, 8, 1, 1, 1);
384
385 chkIndentCol1Comments = new QCheckBox(tab_2);
386 chkIndentCol1Comments->setObjectName(QString::fromUtf8("chkIndentCol1Comments"));
387
388 gridLayout->addWidget(chkIndentCol1Comments, 10, 0, 1, 1);
389
390 chkIndentPreprocBlock = new QCheckBox(tab_2);
391 chkIndentPreprocBlock->setObjectName(QString::fromUtf8("chkIndentPreprocBlock"));
392
393 gridLayout->addWidget(chkIndentPreprocBlock, 5, 1, 1, 1);
394
395 chkIndentSwiches = new QCheckBox(tab_2);
396 chkIndentSwiches->setObjectName(QString::fromUtf8("chkIndentSwiches"));
397
398 gridLayout->addWidget(chkIndentSwiches, 2, 0, 1, 1);
399
400 chkIndentCases = new QCheckBox(tab_2);
401 chkIndentCases->setObjectName(QString::fromUtf8("chkIndentCases"));
402
403 gridLayout->addWidget(chkIndentCases, 2, 1, 1, 1);
404
405 tabWidget->addTab(tab_2, QString());
406 tab_4 = new QWidget();
407 tab_4->setObjectName(QString::fromUtf8("tab_4"));
408 gridLayout_3 = new QGridLayout(tab_4);
409 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
410 chkPadOper = new QCheckBox(tab_4);
411 chkPadOper->setObjectName(QString::fromUtf8("chkPadOper"));
412
413 gridLayout_3->addWidget(chkPadOper, 2, 1, 1, 1);
414
415 chkPadComma = new QCheckBox(tab_4);
416 chkPadComma->setObjectName(QString::fromUtf8("chkPadComma"));
417
418 gridLayout_3->addWidget(chkPadComma, 0, 1, 1, 1);
419
420 chkPadHeader = new QCheckBox(tab_4);
421 chkPadHeader->setObjectName(QString::fromUtf8("chkPadHeader"));
422
423 gridLayout_3->addWidget(chkPadHeader, 11, 0, 1, 2);
424
425 chkPadParenOut = new QCheckBox(tab_4);
426 chkPadParenOut->setObjectName(QString::fromUtf8("chkPadParenOut"));
427
428 gridLayout_3->addWidget(chkPadParenOut, 5, 0, 1, 1);
429
430 chkPadParenIn = new QCheckBox(tab_4);
431 chkPadParenIn->setObjectName(QString::fromUtf8("chkPadParenIn"));
432
433 gridLayout_3->addWidget(chkPadParenIn, 4, 0, 1, 1);
434
435 chkBreakBlocks = new QCheckBox(tab_4);
436 chkBreakBlocks->setObjectName(QString::fromUtf8("chkBreakBlocks"));
437
438 gridLayout_3->addWidget(chkBreakBlocks, 0, 0, 1, 1);
439
440 chkBreakBlocksAll = new QCheckBox(tab_4);
441 chkBreakBlocksAll->setObjectName(QString::fromUtf8("chkBreakBlocksAll"));
442
443 gridLayout_3->addWidget(chkBreakBlocksAll, 2, 0, 1, 1);
444
445 chkPadFirstParenOut = new QCheckBox(tab_4);
446 chkPadFirstParenOut->setObjectName(QString::fromUtf8("chkPadFirstParenOut"));
447
448 gridLayout_3->addWidget(chkPadFirstParenOut, 10, 0, 1, 2);
449
450 chkPadParen = new QCheckBox(tab_4);
451 chkPadParen->setObjectName(QString::fromUtf8("chkPadParen"));
452
453 gridLayout_3->addWidget(chkPadParen, 4, 1, 1, 1);
454
455 tabWidget->addTab(tab_4, QString());
456 tab_5 = new QWidget();
457 tab_5->setObjectName(QString::fromUtf8("tab_5"));
458 gridLayout_4 = new QGridLayout(tab_5);
459 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
460 chkDeleteEmptyLines = new QCheckBox(tab_5);
461 chkDeleteEmptyLines->setObjectName(QString::fromUtf8("chkDeleteEmptyLines"));
462
463 gridLayout_4->addWidget(chkDeleteEmptyLines, 1, 0, 1, 6);
464
465 label_6 = new QLabel(tab_5);
466 label_6->setObjectName(QString::fromUtf8("label_6"));
467
468 gridLayout_4->addWidget(label_6, 4, 0, 1, 1);
469
470 chkDeleteMultipleEmptyLines = new QCheckBox(tab_5);
471 chkDeleteMultipleEmptyLines->setObjectName(QString::fromUtf8("chkDeleteMultipleEmptyLines"));
472
473 gridLayout_4->addWidget(chkDeleteMultipleEmptyLines, 2, 0, 1, 6);
474
475 rbAlignReferenceType = new QRadioButton(tab_5);
476 referenceBtnGroup = new QButtonGroup(FormatterGeneralWidget);
477 referenceBtnGroup->setObjectName(QString::fromUtf8("referenceBtnGroup"));
478 referenceBtnGroup->addButton(rbAlignReferenceType);
479 rbAlignReferenceType->setObjectName(QString::fromUtf8("rbAlignReferenceType"));
480
481 gridLayout_4->addWidget(rbAlignReferenceType, 5, 2, 1, 1);
482
483 rbAlignPointType = new QRadioButton(tab_5);
484 pointerBtnGroup = new QButtonGroup(FormatterGeneralWidget);
485 pointerBtnGroup->setObjectName(QString::fromUtf8("pointerBtnGroup"));
486 pointerBtnGroup->addButton(rbAlignPointType);
487 rbAlignPointType->setObjectName(QString::fromUtf8("rbAlignPointType"));
488
489 gridLayout_4->addWidget(rbAlignPointType, 4, 2, 1, 1);
490
491 horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
492
493 gridLayout_4->addItem(horizontalSpacer_6, 4, 5, 1, 1);
494
495 rbAlignReferenceMiddle = new QRadioButton(tab_5);
496 referenceBtnGroup->addButton(rbAlignReferenceMiddle);
497 rbAlignReferenceMiddle->setObjectName(QString::fromUtf8("rbAlignReferenceMiddle"));
498
499 gridLayout_4->addWidget(rbAlignReferenceMiddle, 5, 3, 1, 1);
500
501 chkFillEmptyLines = new QCheckBox(tab_5);
502 chkFillEmptyLines->setObjectName(QString::fromUtf8("chkFillEmptyLines"));
503
504 gridLayout_4->addWidget(chkFillEmptyLines, 3, 0, 1, 6);
505
506 rbAlignReferenceName = new QRadioButton(tab_5);
507 referenceBtnGroup->addButton(rbAlignReferenceName);
508 rbAlignReferenceName->setObjectName(QString::fromUtf8("rbAlignReferenceName"));
509
510 gridLayout_4->addWidget(rbAlignReferenceName, 5, 4, 1, 1);
511
512 rbAlignPointerMiddle = new QRadioButton(tab_5);
513 pointerBtnGroup->addButton(rbAlignPointerMiddle);
514 rbAlignPointerMiddle->setObjectName(QString::fromUtf8("rbAlignPointerMiddle"));
515
516 gridLayout_4->addWidget(rbAlignPointerMiddle, 4, 3, 1, 1);
517
518 rbAlignPointerName = new QRadioButton(tab_5);
519 pointerBtnGroup->addButton(rbAlignPointerName);
520 rbAlignPointerName->setObjectName(QString::fromUtf8("rbAlignPointerName"));
521
522 gridLayout_4->addWidget(rbAlignPointerName, 4, 4, 1, 1);
523
524 chkUnpadParen = new QCheckBox(tab_5);
525 chkUnpadParen->setObjectName(QString::fromUtf8("chkUnpadParen"));
526
527 gridLayout_4->addWidget(chkUnpadParen, 0, 0, 1, 6);
528
529 label_7 = new QLabel(tab_5);
530 label_7->setObjectName(QString::fromUtf8("label_7"));
531
532 gridLayout_4->addWidget(label_7, 5, 0, 1, 1);
533
534 rbAlignPointNone = new QRadioButton(tab_5);
535 pointerBtnGroup->addButton(rbAlignPointNone);
536 rbAlignPointNone->setObjectName(QString::fromUtf8("rbAlignPointNone"));
537
538 gridLayout_4->addWidget(rbAlignPointNone, 4, 1, 1, 1);
539
540 rbAlignReferenceNone = new QRadioButton(tab_5);
541 referenceBtnGroup->addButton(rbAlignReferenceNone);
542 rbAlignReferenceNone->setObjectName(QString::fromUtf8("rbAlignReferenceNone"));
543
544 gridLayout_4->addWidget(rbAlignReferenceNone, 5, 1, 1, 1);
545
546 tabWidget->addTab(tab_5, QString());
547 tab_6 = new QWidget();
548 tab_6->setObjectName(QString::fromUtf8("tab_6"));
549 gridLayout_5 = new QGridLayout(tab_6);
550 gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
551 chkBreakOneLineHeaders = new QCheckBox(tab_6);
552 chkBreakOneLineHeaders->setObjectName(QString::fromUtf8("chkBreakOneLineHeaders"));
553
554 gridLayout_5->addWidget(chkBreakOneLineHeaders, 2, 0, 1, 1);
555
556 chkAddOneLineBraces = new QCheckBox(tab_6);
557 chkAddOneLineBraces->setObjectName(QString::fromUtf8("chkAddOneLineBraces"));
558
559 gridLayout_5->addWidget(chkAddOneLineBraces, 4, 0, 1, 1);
560
561 chkBreakClosingBraces = new QCheckBox(tab_6);
562 chkBreakClosingBraces->setObjectName(QString::fromUtf8("chkBreakClosingBraces"));
563
564 gridLayout_5->addWidget(chkBreakClosingBraces, 0, 0, 1, 1);
565
566 chkRemoveBraces = new QCheckBox(tab_6);
567 chkRemoveBraces->setObjectName(QString::fromUtf8("chkRemoveBraces"));
568
569 gridLayout_5->addWidget(chkRemoveBraces, 5, 0, 1, 1);
570
571 chkBreakElseIf = new QCheckBox(tab_6);
572 chkBreakElseIf->setObjectName(QString::fromUtf8("chkBreakElseIf"));
573
574 gridLayout_5->addWidget(chkBreakElseIf, 1, 0, 1, 1);
575
576 chkAddBraces = new QCheckBox(tab_6);
577 chkAddBraces->setObjectName(QString::fromUtf8("chkAddBraces"));
578
579 gridLayout_5->addWidget(chkAddBraces, 3, 0, 1, 1);
580
581 tabWidget->addTab(tab_6, QString());
582 tab_7 = new QWidget();
583 tab_7->setObjectName(QString::fromUtf8("tab_7"));
584 gridLayout_6 = new QGridLayout(tab_7);
585 gridLayout_6->setObjectName(QString::fromUtf8("gridLayout_6"));
586 chkBreakReturnType = new QCheckBox(tab_7);
587 chkBreakReturnType->setObjectName(QString::fromUtf8("chkBreakReturnType"));
588
589 gridLayout_6->addWidget(chkBreakReturnType, 2, 0, 1, 1);
590
591 chkKeepOneLineBlocks = new QCheckBox(tab_7);
592 chkKeepOneLineBlocks->setObjectName(QString::fromUtf8("chkKeepOneLineBlocks"));
593
594 gridLayout_6->addWidget(chkKeepOneLineBlocks, 6, 0, 1, 1);
595
596 chkAttachReturnType = new QCheckBox(tab_7);
597 chkAttachReturnType->setObjectName(QString::fromUtf8("chkAttachReturnType"));
598
599 gridLayout_6->addWidget(chkAttachReturnType, 4, 0, 1, 1);
600
601 chkKeepOneLineStatements = new QCheckBox(tab_7);
602 chkKeepOneLineStatements->setObjectName(QString::fromUtf8("chkKeepOneLineStatements"));
603
604 gridLayout_6->addWidget(chkKeepOneLineStatements, 7, 0, 1, 1);
605
606 chkBreakReturnTypeDecl = new QCheckBox(tab_7);
607 chkBreakReturnTypeDecl->setObjectName(QString::fromUtf8("chkBreakReturnTypeDecl"));
608
609 gridLayout_6->addWidget(chkBreakReturnTypeDecl, 0, 0, 1, 1);
610
611 chkAttachReturnTypeDecl = new QCheckBox(tab_7);
612 chkAttachReturnTypeDecl->setObjectName(QString::fromUtf8("chkAttachReturnTypeDecl"));
613
614 gridLayout_6->addWidget(chkAttachReturnTypeDecl, 1, 0, 1, 1);
615
616 tabWidget->addTab(tab_7, QString());
617 tab_8 = new QWidget();
618 tab_8->setObjectName(QString::fromUtf8("tab_8"));
619 gridLayout_7 = new QGridLayout(tab_8);
620 gridLayout_7->setObjectName(QString::fromUtf8("gridLayout_7"));
621 widget_6 = new QWidget(tab_8);
622 widget_6->setObjectName(QString::fromUtf8("widget_6"));
623 horizontalLayout_6 = new QHBoxLayout(widget_6);
624 horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
625 horizontalLayout_6->setContentsMargins(0, 0, 0, 0);
626 chkBreakMaxCodeLength = new QCheckBox(widget_6);
627 chkBreakMaxCodeLength->setObjectName(QString::fromUtf8("chkBreakMaxCodeLength"));
628
629 horizontalLayout_6->addWidget(chkBreakMaxCodeLength);
630
631 spinMaxCodeLength = new QSpinBox(widget_6);
632 spinMaxCodeLength->setObjectName(QString::fromUtf8("spinMaxCodeLength"));
633 spinMaxCodeLength->setMinimum(50);
634 spinMaxCodeLength->setMaximum(200);
635 spinMaxCodeLength->setValue(200);
636
637 horizontalLayout_6->addWidget(spinMaxCodeLength);
638
639 horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
640
641 horizontalLayout_6->addItem(horizontalSpacer_7);
642
643
644 gridLayout_7->addWidget(widget_6, 3, 0, 1, 1);
645
646 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
647
648 gridLayout_7->addItem(verticalSpacer, 5, 0, 1, 1);
649
650 chkRemoveCommentPrefix = new QCheckBox(tab_8);
651 chkRemoveCommentPrefix->setObjectName(QString::fromUtf8("chkRemoveCommentPrefix"));
652
653 gridLayout_7->addWidget(chkRemoveCommentPrefix, 1, 0, 1, 1);
654
655 chkCloseTemplates = new QCheckBox(tab_8);
656 chkCloseTemplates->setObjectName(QString::fromUtf8("chkCloseTemplates"));
657
658 gridLayout_7->addWidget(chkCloseTemplates, 0, 0, 1, 1);
659
660 chkBreakAfterLogical = new QCheckBox(tab_8);
661 chkBreakAfterLogical->setObjectName(QString::fromUtf8("chkBreakAfterLogical"));
662
663 gridLayout_7->addWidget(chkBreakAfterLogical, 4, 0, 1, 1);
664
665 tabWidget->addTab(tab_8, QString());
666
667 verticalLayout_2->addWidget(tabWidget);
668
669 editDemo = new Editor(FormatterGeneralWidget);
670 editDemo->setObjectName(QString::fromUtf8("editDemo"));
671 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
672 sizePolicy.setHorizontalStretch(0);
673 sizePolicy.setVerticalStretch(1);
674 sizePolicy.setHeightForWidth(editDemo->sizePolicy().hasHeightForWidth());
675 editDemo->setSizePolicy(sizePolicy);
676 editDemo->setMinimumSize(QSize(0, 200));
677 editDemo->setFrameShape(QFrame::StyledPanel);
678 editDemo->setFrameShadow(QFrame::Raised);
679
680 verticalLayout_2->addWidget(editDemo);
681
682
683 retranslateUi(FormatterGeneralWidget);
684
685 tabWidget->setCurrentIndex(0);
686
687
688 QMetaObject::connectSlotsByName(FormatterGeneralWidget);
689 } // setupUi
690
691 void retranslateUi(QWidget *FormatterGeneralWidget)
692 {
693 FormatterGeneralWidget->setWindowTitle(QCoreApplication::translate("FormatterGeneralWidget", "Form", nullptr));
694 label->setText(QCoreApplication::translate("FormatterGeneralWidget", "Predefined format style", nullptr));
695 lblBraceStyle->setText(QCoreApplication::translate("FormatterGeneralWidget", "<html><head/><body><p>Note for the predefined format style</p></body></html>", nullptr));
696 groupBox_2->setTitle(QCoreApplication::translate("FormatterGeneralWidget", "Brace modifications", nullptr));
697 chkAttachNamespaces->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach braces to namespace statements", nullptr));
698 chkAttachClasses->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach braces to classes", nullptr));
699 chkAttachInline->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach braces to class inline function definitions", nullptr));
700 chkAttachExternC->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach braces to extern \"C\" statements", nullptr));
701 chkAttachClosingWhile->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach the closing while of do-while to the close brace", nullptr));
702 chkConvertTabs->setText(QCoreApplication::translate("FormatterGeneralWidget", "Convert tabs to the appropriate number of spaces", nullptr));
703 tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("FormatterGeneralWidget", "Basic", nullptr));
704 groupBox->setTitle(QCoreApplication::translate("FormatterGeneralWidget", "Indent with:", nullptr));
705#if QT_CONFIG(tooltip)
706 rbIndentSpaces->setToolTip(QCoreApplication::translate("FormatterGeneralWidget", "Indent using spaces", nullptr));
707#endif // QT_CONFIG(tooltip)
708 rbIndentSpaces->setText(QCoreApplication::translate("FormatterGeneralWidget", "Spaces", nullptr));
709#if QT_CONFIG(tooltip)
710 rbIndentTabs->setToolTip(QCoreApplication::translate("FormatterGeneralWidget", "Indent using tabs", nullptr));
711#endif // QT_CONFIG(tooltip)
712 rbIndentTabs->setText(QCoreApplication::translate("FormatterGeneralWidget", "Tabs", nullptr));
713 label_2->setText(QCoreApplication::translate("FormatterGeneralWidget", "Tab Size:", nullptr));
714 label_3->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent for continuation lines:", nullptr));
715 label_4->setText(QCoreApplication::translate("FormatterGeneralWidget", "Minimal indent for a continuous conditional beloning to a conditional header:", nullptr));
716 label_5->setText(QCoreApplication::translate("FormatterGeneralWidget", "Maximal indent spaces for a continuation line", nullptr));
717 tabWidget->setTabText(tabWidget->indexOf(tab_3), QCoreApplication::translate("FormatterGeneralWidget", "Indentation 1", nullptr));
718 chkIndentLabels->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent labels", nullptr));
719 chkIndentClasses->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent class blocks", nullptr));
720 chkIndentNamespaces->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent namespaces", nullptr));
721 chkIndentModifiers->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent class access modifiers", nullptr));
722 chkIndentAfterParens->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent after parenthesis '(' or assignment '='", nullptr));
723 chkIndentPreprocCond->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent preprocessor conditional statements", nullptr));
724 chkIndentPreprocDefine->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent multi-line preprocessor #define statements", nullptr));
725 chkIndentCol1Comments->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent line comments that start in column one", nullptr));
726 chkIndentPreprocBlock->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent preprocessor blocks", nullptr));
727 chkIndentSwiches->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent switch blocks", nullptr));
728 chkIndentCases->setText(QCoreApplication::translate("FormatterGeneralWidget", "Indent cases", nullptr));
729 tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("FormatterGeneralWidget", "Indentation 2", nullptr));
730 chkPadOper->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert spaces around operators", nullptr));
731 chkPadComma->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert spaces after commas", nullptr));
732 chkPadHeader->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert spaces after parenthesis headers ('if','for',...)", nullptr));
733 chkPadParenOut->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert spaces around parenthesis on the outside only", nullptr));
734 chkPadParenIn->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert spaces around parenthesis on the inside only", nullptr));
735 chkBreakBlocks->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert empty lines arround unrelated blocks", nullptr));
736 chkBreakBlocksAll->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert empty lines around all blocks", nullptr));
737 chkPadFirstParenOut->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert spaces around first parenthesis in a series on the out side only", nullptr));
738 chkPadParen->setText(QCoreApplication::translate("FormatterGeneralWidget", "Insert spaces around parenthesis", nullptr));
739 tabWidget->setTabText(tabWidget->indexOf(tab_4), QCoreApplication::translate("FormatterGeneralWidget", "Padding 1", nullptr));
740 chkDeleteEmptyLines->setText(QCoreApplication::translate("FormatterGeneralWidget", "Remove all empty lines. It will NOT delete lines added by the padding options.", nullptr));
741 label_6->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach a pointer operator to its :", nullptr));
742 chkDeleteMultipleEmptyLines->setText(QCoreApplication::translate("FormatterGeneralWidget", "Remove all consecutive empty lines. It will NOT delete lines added by the padding options.", nullptr));
743 rbAlignReferenceType->setText(QCoreApplication::translate("FormatterGeneralWidget", "type(left)", nullptr));
744 rbAlignPointType->setText(QCoreApplication::translate("FormatterGeneralWidget", "type(left)", nullptr));
745 rbAlignReferenceMiddle->setText(QCoreApplication::translate("FormatterGeneralWidget", "middle", nullptr));
746 chkFillEmptyLines->setText(QCoreApplication::translate("FormatterGeneralWidget", "Fill empty lines with the white space of the previous lines.", nullptr));
747 rbAlignReferenceName->setText(QCoreApplication::translate("FormatterGeneralWidget", "name(right)", nullptr));
748 rbAlignPointerMiddle->setText(QCoreApplication::translate("FormatterGeneralWidget", "middle", nullptr));
749 rbAlignPointerName->setText(QCoreApplication::translate("FormatterGeneralWidget", "name(right)", nullptr));
750 chkUnpadParen->setText(QCoreApplication::translate("FormatterGeneralWidget", "Remove unnecessary space adding around parenthesis", nullptr));
751 label_7->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach a reference operator to its :", nullptr));
752 rbAlignPointNone->setText(QCoreApplication::translate("FormatterGeneralWidget", "none", nullptr));
753 rbAlignReferenceNone->setText(QCoreApplication::translate("FormatterGeneralWidget", "none", nullptr));
754 tabWidget->setTabText(tabWidget->indexOf(tab_5), QCoreApplication::translate("FormatterGeneralWidget", "Padding 2", nullptr));
755 chkBreakOneLineHeaders->setText(QCoreApplication::translate("FormatterGeneralWidget", "Break one line headers ('if','while','else'...) from the statement on the same line", nullptr));
756 chkAddOneLineBraces->setText(QCoreApplication::translate("FormatterGeneralWidget", "Add one line braces to unbraced one line conditional statements", nullptr));
757 chkBreakClosingBraces->setText(QCoreApplication::translate("FormatterGeneralWidget", "Break braces before close headers ('else','catch\"...)", nullptr));
758 chkRemoveBraces->setText(QCoreApplication::translate("FormatterGeneralWidget", "Remove braces from a braced one line conditional statements", nullptr));
759 chkBreakElseIf->setText(QCoreApplication::translate("FormatterGeneralWidget", "Break 'else if' statements into two lines", nullptr));
760 chkAddBraces->setText(QCoreApplication::translate("FormatterGeneralWidget", "Add braces to unbraced one line conditional statements", nullptr));
761 tabWidget->setTabText(tabWidget->indexOf(tab_6), QCoreApplication::translate("FormatterGeneralWidget", "Other 1", nullptr));
762 chkBreakReturnType->setText(QCoreApplication::translate("FormatterGeneralWidget", "Break return type from the function name in its definition", nullptr));
763 chkKeepOneLineBlocks->setText(QCoreApplication::translate("FormatterGeneralWidget", "Don't break blocks residing completely on one line", nullptr));
764 chkAttachReturnType->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach return type to the function name in its definition", nullptr));
765 chkKeepOneLineStatements->setText(QCoreApplication::translate("FormatterGeneralWidget", "Don't break multimple statements residing on one line", nullptr));
766 chkBreakReturnTypeDecl->setText(QCoreApplication::translate("FormatterGeneralWidget", "Break return type from the function name in its declaration", nullptr));
767 chkAttachReturnTypeDecl->setText(QCoreApplication::translate("FormatterGeneralWidget", "Attach return type to the function name in its declaration", nullptr));
768 tabWidget->setTabText(tabWidget->indexOf(tab_7), QCoreApplication::translate("FormatterGeneralWidget", "Other 2", nullptr));
769 chkBreakMaxCodeLength->setText(QCoreApplication::translate("FormatterGeneralWidget", "Break lines exceeds", nullptr));
770 spinMaxCodeLength->setSuffix(QCoreApplication::translate("FormatterGeneralWidget", "characters", nullptr));
771 chkRemoveCommentPrefix->setText(QCoreApplication::translate("FormatterGeneralWidget", "Remove the leading '*' prefix on multi-line comments and indent the comment text one line indent.", nullptr));
772 chkCloseTemplates->setText(QCoreApplication::translate("FormatterGeneralWidget", "Close ending angle brackets on template definitions", nullptr));
773 chkBreakAfterLogical->setText(QCoreApplication::translate("FormatterGeneralWidget", "Place the logical conditional to the last on the previous line, when break lines", nullptr));
774 tabWidget->setTabText(tabWidget->indexOf(tab_8), QCoreApplication::translate("FormatterGeneralWidget", "Other 3", nullptr));
775 } // retranslateUi
776
777};
778
779namespace Ui {
780 class FormatterGeneralWidget: public Ui_FormatterGeneralWidget {};
781} // namespace Ui
782
783QT_END_NAMESPACE
784
785#endif // UI_FORMATTERGENERALWIDGET_H
786