2022-11-21 13:34:15 +01:00
|
|
|
// Copyright (C) 2022 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2022-11-21 13:34:15 +01:00
|
|
|
|
|
|
|
|
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT!
|
|
|
|
|
|
|
|
|
|
#include "clangformatchecks.h"
|
|
|
|
|
|
|
|
|
|
#include <utils/layoutbuilder.h>
|
|
|
|
|
|
|
|
|
|
#include <QCheckBox>
|
|
|
|
|
#include <QComboBox>
|
|
|
|
|
#include <QLabel>
|
|
|
|
|
#include <QLineEdit>
|
|
|
|
|
#include <QPlainTextEdit>
|
|
|
|
|
#include <QPushButton>
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
using namespace ClangFormat;
|
|
|
|
|
|
|
|
|
|
ClangFormatChecks::ClangFormatChecks(QWidget *parent)
|
|
|
|
|
: QWidget(parent)
|
|
|
|
|
{
|
|
|
|
|
m_BasedOnStyle = new QComboBox(this);
|
|
|
|
|
m_BasedOnStyle->addItems({"LLVM","Google","Chromium","Mozilla","WebKit","Microsoft","GNU",});
|
|
|
|
|
m_BasedOnStyle->setObjectName("BasedOnStyle");
|
|
|
|
|
|
|
|
|
|
m_InheritsParentConfig = new QComboBox(this);
|
|
|
|
|
m_InheritsParentConfig->addItems({"Default","true","false",});
|
|
|
|
|
m_InheritsParentConfig->setObjectName("InheritsParentConfig");
|
|
|
|
|
|
|
|
|
|
m_AccessModifierOffset = new QLineEdit(this);
|
|
|
|
|
m_AccessModifierOffset->setObjectName("AccessModifierOffset");
|
|
|
|
|
m_setAccessModifierOffset = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setAccessModifierOffset->setObjectName("setAccessModifierOffset");
|
|
|
|
|
m_AlignAfterOpenBracket = new QComboBox(this);
|
|
|
|
|
m_AlignAfterOpenBracket->addItems({"Align","DontAlign","AlwaysBreak","BlockIndent",});
|
|
|
|
|
m_AlignAfterOpenBracket->setObjectName("AlignAfterOpenBracket");
|
|
|
|
|
|
|
|
|
|
m_AlignArrayOfStructures = new QComboBox(this);
|
|
|
|
|
m_AlignArrayOfStructures->addItems({"Left","Right","None",});
|
|
|
|
|
m_AlignArrayOfStructures->setObjectName("AlignArrayOfStructures");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_AlignConsecutiveMacrosEnabled = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveMacrosEnabled->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveMacrosEnabled->setObjectName("AlignConsecutiveMacrosEnabled");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_AlignConsecutiveMacrosAcrossEmptyLines = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveMacrosAcrossEmptyLines->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveMacrosAcrossEmptyLines->setObjectName("AlignConsecutiveMacrosAcrossEmptyLines");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_AlignConsecutiveMacrosAcrossComments = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveMacrosAcrossComments->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveMacrosAcrossComments->setObjectName("AlignConsecutiveMacrosAcrossComments");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_AlignConsecutiveMacrosAlignCompound = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveMacrosAlignCompound->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveMacrosAlignCompound->setObjectName("AlignConsecutiveMacrosAlignCompound");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveMacrosPadOperators = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveMacrosPadOperators->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveMacrosPadOperators->setObjectName("AlignConsecutiveMacrosPadOperators");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveAssignmentsEnabled = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveAssignmentsEnabled->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveAssignmentsEnabled->setObjectName("AlignConsecutiveAssignmentsEnabled");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveAssignmentsAcrossEmptyLines = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveAssignmentsAcrossEmptyLines->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveAssignmentsAcrossEmptyLines->setObjectName("AlignConsecutiveAssignmentsAcrossEmptyLines");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveAssignmentsAcrossComments = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveAssignmentsAcrossComments->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveAssignmentsAcrossComments->setObjectName("AlignConsecutiveAssignmentsAcrossComments");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveAssignmentsAlignCompound = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveAssignmentsAlignCompound->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveAssignmentsAlignCompound->setObjectName("AlignConsecutiveAssignmentsAlignCompound");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveAssignmentsPadOperators = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveAssignmentsPadOperators->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveAssignmentsPadOperators->setObjectName("AlignConsecutiveAssignmentsPadOperators");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveBitFieldsEnabled = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveBitFieldsEnabled->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveBitFieldsEnabled->setObjectName("AlignConsecutiveBitFieldsEnabled");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveBitFieldsAcrossEmptyLines = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveBitFieldsAcrossEmptyLines->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveBitFieldsAcrossEmptyLines->setObjectName("AlignConsecutiveBitFieldsAcrossEmptyLines");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveBitFieldsAcrossComments = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveBitFieldsAcrossComments->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveBitFieldsAcrossComments->setObjectName("AlignConsecutiveBitFieldsAcrossComments");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveBitFieldsAlignCompound = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveBitFieldsAlignCompound->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveBitFieldsAlignCompound->setObjectName("AlignConsecutiveBitFieldsAlignCompound");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveBitFieldsPadOperators = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveBitFieldsPadOperators->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveBitFieldsPadOperators->setObjectName("AlignConsecutiveBitFieldsPadOperators");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveDeclarationsEnabled = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveDeclarationsEnabled->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveDeclarationsEnabled->setObjectName("AlignConsecutiveDeclarationsEnabled");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveDeclarationsAcrossEmptyLines = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveDeclarationsAcrossEmptyLines->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveDeclarationsAcrossEmptyLines->setObjectName("AlignConsecutiveDeclarationsAcrossEmptyLines");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveDeclarationsAcrossComments = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveDeclarationsAcrossComments->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveDeclarationsAcrossComments->setObjectName("AlignConsecutiveDeclarationsAcrossComments");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveDeclarationsAlignCompound = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveDeclarationsAlignCompound->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveDeclarationsAlignCompound->setObjectName("AlignConsecutiveDeclarationsAlignCompound");
|
|
|
|
|
|
|
|
|
|
m_AlignConsecutiveDeclarationsPadOperators = new QComboBox(this);
|
|
|
|
|
m_AlignConsecutiveDeclarationsPadOperators->addItems({"Default","true","false",});
|
|
|
|
|
m_AlignConsecutiveDeclarationsPadOperators->setObjectName("AlignConsecutiveDeclarationsPadOperators");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
|
|
|
|
m_AlignEscapedNewlines = new QComboBox(this);
|
|
|
|
|
m_AlignEscapedNewlines->addItems({"DontAlign","Left","Right",});
|
|
|
|
|
m_AlignEscapedNewlines->setObjectName("AlignEscapedNewlines");
|
|
|
|
|
|
|
|
|
|
m_AlignOperands = new QComboBox(this);
|
|
|
|
|
m_AlignOperands->addItems({"DontAlign","Align","AlignAfterOperator",});
|
|
|
|
|
m_AlignOperands->setObjectName("AlignOperands");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_AlignTrailingCommentsKind = new QComboBox(this);
|
|
|
|
|
m_AlignTrailingCommentsKind->addItems({"Leave","Always","Never",});
|
|
|
|
|
m_AlignTrailingCommentsKind->setObjectName("AlignTrailingCommentsKind");
|
|
|
|
|
|
|
|
|
|
m_AlignTrailingCommentsOverEmptyLines = new QLineEdit(this);
|
|
|
|
|
m_AlignTrailingCommentsOverEmptyLines->setObjectName("AlignTrailingCommentsOverEmptyLines");
|
|
|
|
|
m_setAlignTrailingCommentsOverEmptyLines = new QPushButton("Set", this);
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_setAlignTrailingCommentsOverEmptyLines->setObjectName("setAlignTrailingCommentsOverEmptyLines");
|
2022-11-21 13:34:15 +01:00
|
|
|
m_AllowAllArgumentsOnNextLine = new QComboBox(this);
|
|
|
|
|
m_AllowAllArgumentsOnNextLine->addItems({"Default","true","false",});
|
|
|
|
|
m_AllowAllArgumentsOnNextLine->setObjectName("AllowAllArgumentsOnNextLine");
|
|
|
|
|
|
|
|
|
|
m_AllowShortBlocksOnASingleLine = new QComboBox(this);
|
|
|
|
|
m_AllowShortBlocksOnASingleLine->addItems({"Never","Empty","Always",});
|
|
|
|
|
m_AllowShortBlocksOnASingleLine->setObjectName("AllowShortBlocksOnASingleLine");
|
|
|
|
|
|
|
|
|
|
m_AllowShortCaseLabelsOnASingleLine = new QComboBox(this);
|
|
|
|
|
m_AllowShortCaseLabelsOnASingleLine->addItems({"Default","true","false",});
|
|
|
|
|
m_AllowShortCaseLabelsOnASingleLine->setObjectName("AllowShortCaseLabelsOnASingleLine");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_AllowShortEnumsOnASingleLine = new QComboBox(this);
|
|
|
|
|
m_AllowShortEnumsOnASingleLine->addItems({"Default","true","false",});
|
|
|
|
|
m_AllowShortEnumsOnASingleLine->setObjectName("AllowShortEnumsOnASingleLine");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_AllowShortFunctionsOnASingleLine = new QComboBox(this);
|
|
|
|
|
m_AllowShortFunctionsOnASingleLine->addItems({"None","InlineOnly","Empty","Inline","All",});
|
|
|
|
|
m_AllowShortFunctionsOnASingleLine->setObjectName("AllowShortFunctionsOnASingleLine");
|
|
|
|
|
|
|
|
|
|
m_AllowShortIfStatementsOnASingleLine = new QComboBox(this);
|
|
|
|
|
m_AllowShortIfStatementsOnASingleLine->addItems({"Never","WithoutElse","OnlyFirstIf","AllIfsAndElse",});
|
|
|
|
|
m_AllowShortIfStatementsOnASingleLine->setObjectName("AllowShortIfStatementsOnASingleLine");
|
|
|
|
|
|
|
|
|
|
m_AllowShortLambdasOnASingleLine = new QComboBox(this);
|
|
|
|
|
m_AllowShortLambdasOnASingleLine->addItems({"None","Empty","Inline","All",});
|
|
|
|
|
m_AllowShortLambdasOnASingleLine->setObjectName("AllowShortLambdasOnASingleLine");
|
|
|
|
|
|
|
|
|
|
m_AllowShortLoopsOnASingleLine = new QComboBox(this);
|
|
|
|
|
m_AllowShortLoopsOnASingleLine->addItems({"Default","true","false",});
|
|
|
|
|
m_AllowShortLoopsOnASingleLine->setObjectName("AllowShortLoopsOnASingleLine");
|
|
|
|
|
|
|
|
|
|
m_AlwaysBreakAfterReturnType = new QComboBox(this);
|
|
|
|
|
m_AlwaysBreakAfterReturnType->addItems({"None","All","TopLevel","AllDefinitions","TopLevelDefinitions",});
|
|
|
|
|
m_AlwaysBreakAfterReturnType->setObjectName("AlwaysBreakAfterReturnType");
|
|
|
|
|
|
|
|
|
|
m_AlwaysBreakBeforeMultilineStrings = new QComboBox(this);
|
|
|
|
|
m_AlwaysBreakBeforeMultilineStrings->addItems({"Default","true","false",});
|
|
|
|
|
m_AlwaysBreakBeforeMultilineStrings->setObjectName("AlwaysBreakBeforeMultilineStrings");
|
|
|
|
|
|
|
|
|
|
m_AlwaysBreakTemplateDeclarations = new QComboBox(this);
|
|
|
|
|
m_AlwaysBreakTemplateDeclarations->addItems({"No","MultiLine","Yes",});
|
|
|
|
|
m_AlwaysBreakTemplateDeclarations->setObjectName("AlwaysBreakTemplateDeclarations");
|
|
|
|
|
|
|
|
|
|
m_AttributeMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_AttributeMacros->setObjectName("AttributeMacros");
|
|
|
|
|
m_AttributeMacros->setFixedHeight(100);
|
|
|
|
|
m_setAttributeMacros = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setAttributeMacros->setObjectName("setAttributeMacros");
|
|
|
|
|
m_BinPackArguments = new QComboBox(this);
|
|
|
|
|
m_BinPackArguments->addItems({"Default","true","false",});
|
|
|
|
|
m_BinPackArguments->setObjectName("BinPackArguments");
|
|
|
|
|
|
|
|
|
|
m_BinPackParameters = new QComboBox(this);
|
|
|
|
|
m_BinPackParameters->addItems({"Default","true","false",});
|
|
|
|
|
m_BinPackParameters->setObjectName("BinPackParameters");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BitFieldColonSpacing = new QComboBox(this);
|
|
|
|
|
m_BitFieldColonSpacing->addItems({"Both","None","Before","After",});
|
|
|
|
|
m_BitFieldColonSpacing->setObjectName("BitFieldColonSpacing");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterCaseLabel = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterCaseLabel->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterCaseLabel->setObjectName("BraceWrappingAfterCaseLabel");
|
|
|
|
|
|
|
|
|
|
m_BraceWrappingAfterClass = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterClass->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterClass->setObjectName("BraceWrappingAfterClass");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterControlStatement = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterControlStatement->addItems({"Never","MultiLine","Always",});
|
|
|
|
|
m_BraceWrappingAfterControlStatement->setObjectName("BraceWrappingAfterControlStatement");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterEnum = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterEnum->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterEnum->setObjectName("BraceWrappingAfterEnum");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterFunction = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterFunction->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterFunction->setObjectName("BraceWrappingAfterFunction");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterNamespace = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterNamespace->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterNamespace->setObjectName("BraceWrappingAfterNamespace");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterObjCDeclaration = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterObjCDeclaration->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterObjCDeclaration->setObjectName("BraceWrappingAfterObjCDeclaration");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterStruct = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterStruct->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterStruct->setObjectName("BraceWrappingAfterStruct");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterUnion = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterUnion->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterUnion->setObjectName("BraceWrappingAfterUnion");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingAfterExternBlock = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingAfterExternBlock->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingAfterExternBlock->setObjectName("BraceWrappingAfterExternBlock");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingBeforeCatch = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingBeforeCatch->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingBeforeCatch->setObjectName("BraceWrappingBeforeCatch");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingBeforeElse = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingBeforeElse->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingBeforeElse->setObjectName("BraceWrappingBeforeElse");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingBeforeLambdaBody = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingBeforeLambdaBody->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingBeforeLambdaBody->setObjectName("BraceWrappingBeforeLambdaBody");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingBeforeWhile = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingBeforeWhile->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingBeforeWhile->setObjectName("BraceWrappingBeforeWhile");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingIndentBraces = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingIndentBraces->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingIndentBraces->setObjectName("BraceWrappingIndentBraces");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingSplitEmptyFunction = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingSplitEmptyFunction->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingSplitEmptyFunction->setObjectName("BraceWrappingSplitEmptyFunction");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingSplitEmptyRecord = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingSplitEmptyRecord->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingSplitEmptyRecord->setObjectName("BraceWrappingSplitEmptyRecord");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BraceWrappingSplitEmptyNamespace = new QComboBox(this);
|
|
|
|
|
m_BraceWrappingSplitEmptyNamespace->addItems({"Default","true","false",});
|
|
|
|
|
m_BraceWrappingSplitEmptyNamespace->setObjectName("BraceWrappingSplitEmptyNamespace");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BreakAfterAttributes = new QComboBox(this);
|
|
|
|
|
m_BreakAfterAttributes->addItems({"Always","Leave","Never",});
|
|
|
|
|
m_BreakAfterAttributes->setObjectName("BreakAfterAttributes");
|
|
|
|
|
|
|
|
|
|
m_BreakArrays = new QComboBox(this);
|
|
|
|
|
m_BreakArrays->addItems({"Default","true","false",});
|
|
|
|
|
m_BreakArrays->setObjectName("BreakArrays");
|
|
|
|
|
|
|
|
|
|
m_BreakBeforeBinaryOperators = new QComboBox(this);
|
|
|
|
|
m_BreakBeforeBinaryOperators->addItems({"None","NonAssignment","All",});
|
|
|
|
|
m_BreakBeforeBinaryOperators->setObjectName("BreakBeforeBinaryOperators");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BreakBeforeBraces = new QComboBox(this);
|
|
|
|
|
m_BreakBeforeBraces->addItems({"Attach","Linux","Mozilla","Stroustrup","Allman","Whitesmiths","GNU","WebKit","Custom",});
|
|
|
|
|
m_BreakBeforeBraces->setObjectName("BreakBeforeBraces");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
|
|
|
|
m_BreakBeforeConceptDeclarations = new QComboBox(this);
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BreakBeforeConceptDeclarations->addItems({"Never","Allowed","Always",});
|
2022-11-21 13:34:15 +01:00
|
|
|
m_BreakBeforeConceptDeclarations->setObjectName("BreakBeforeConceptDeclarations");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_BreakBeforeInlineASMColon = new QComboBox(this);
|
|
|
|
|
m_BreakBeforeInlineASMColon->addItems({"Never","OnlyMultiline","Always",});
|
|
|
|
|
m_BreakBeforeInlineASMColon->setObjectName("BreakBeforeInlineASMColon");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_BreakBeforeTernaryOperators = new QComboBox(this);
|
|
|
|
|
m_BreakBeforeTernaryOperators->addItems({"Default","true","false",});
|
|
|
|
|
m_BreakBeforeTernaryOperators->setObjectName("BreakBeforeTernaryOperators");
|
|
|
|
|
|
|
|
|
|
m_BreakConstructorInitializers = new QComboBox(this);
|
|
|
|
|
m_BreakConstructorInitializers->addItems({"BeforeColon","BeforeComma","AfterColon",});
|
|
|
|
|
m_BreakConstructorInitializers->setObjectName("BreakConstructorInitializers");
|
|
|
|
|
|
|
|
|
|
m_BreakAfterJavaFieldAnnotations = new QComboBox(this);
|
|
|
|
|
m_BreakAfterJavaFieldAnnotations->addItems({"Default","true","false",});
|
|
|
|
|
m_BreakAfterJavaFieldAnnotations->setObjectName("BreakAfterJavaFieldAnnotations");
|
|
|
|
|
|
|
|
|
|
m_BreakStringLiterals = new QComboBox(this);
|
|
|
|
|
m_BreakStringLiterals->addItems({"Default","true","false",});
|
|
|
|
|
m_BreakStringLiterals->setObjectName("BreakStringLiterals");
|
|
|
|
|
|
|
|
|
|
m_ColumnLimit = new QLineEdit(this);
|
|
|
|
|
m_ColumnLimit->setObjectName("ColumnLimit");
|
|
|
|
|
m_setColumnLimit = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setColumnLimit->setObjectName("setColumnLimit");
|
|
|
|
|
m_CommentPragmas = new QLineEdit(this);
|
|
|
|
|
m_CommentPragmas->setObjectName("CommentPragmas");
|
|
|
|
|
m_setCommentPragmas = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setCommentPragmas->setObjectName("setCommentPragmas");
|
|
|
|
|
m_BreakInheritanceList = new QComboBox(this);
|
|
|
|
|
m_BreakInheritanceList->addItems({"BeforeColon","BeforeComma","AfterColon","AfterComma",});
|
|
|
|
|
m_BreakInheritanceList->setObjectName("BreakInheritanceList");
|
|
|
|
|
|
|
|
|
|
m_CompactNamespaces = new QComboBox(this);
|
|
|
|
|
m_CompactNamespaces->addItems({"Default","true","false",});
|
|
|
|
|
m_CompactNamespaces->setObjectName("CompactNamespaces");
|
|
|
|
|
|
|
|
|
|
m_ContinuationIndentWidth = new QLineEdit(this);
|
|
|
|
|
m_ContinuationIndentWidth->setObjectName("ContinuationIndentWidth");
|
|
|
|
|
m_setContinuationIndentWidth = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setContinuationIndentWidth->setObjectName("setContinuationIndentWidth");
|
|
|
|
|
m_Cpp11BracedListStyle = new QComboBox(this);
|
|
|
|
|
m_Cpp11BracedListStyle->addItems({"Default","true","false",});
|
|
|
|
|
m_Cpp11BracedListStyle->setObjectName("Cpp11BracedListStyle");
|
|
|
|
|
|
|
|
|
|
m_DisableFormat = new QComboBox(this);
|
|
|
|
|
m_DisableFormat->addItems({"Default","true","false",});
|
|
|
|
|
m_DisableFormat->setObjectName("DisableFormat");
|
|
|
|
|
|
|
|
|
|
m_EmptyLineAfterAccessModifier = new QComboBox(this);
|
|
|
|
|
m_EmptyLineAfterAccessModifier->addItems({"Never","Leave","Always",});
|
|
|
|
|
m_EmptyLineAfterAccessModifier->setObjectName("EmptyLineAfterAccessModifier");
|
|
|
|
|
|
|
|
|
|
m_EmptyLineBeforeAccessModifier = new QComboBox(this);
|
|
|
|
|
m_EmptyLineBeforeAccessModifier->addItems({"Never","Leave","LogicalBlock","Always",});
|
|
|
|
|
m_EmptyLineBeforeAccessModifier->setObjectName("EmptyLineBeforeAccessModifier");
|
|
|
|
|
|
|
|
|
|
m_ExperimentalAutoDetectBinPacking = new QComboBox(this);
|
|
|
|
|
m_ExperimentalAutoDetectBinPacking->addItems({"Default","true","false",});
|
|
|
|
|
m_ExperimentalAutoDetectBinPacking->setObjectName("ExperimentalAutoDetectBinPacking");
|
|
|
|
|
|
|
|
|
|
m_FixNamespaceComments = new QComboBox(this);
|
|
|
|
|
m_FixNamespaceComments->addItems({"Default","true","false",});
|
|
|
|
|
m_FixNamespaceComments->setObjectName("FixNamespaceComments");
|
|
|
|
|
|
|
|
|
|
m_ForEachMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_ForEachMacros->setObjectName("ForEachMacros");
|
|
|
|
|
m_ForEachMacros->setFixedHeight(100);
|
|
|
|
|
m_setForEachMacros = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setForEachMacros->setObjectName("setForEachMacros");
|
|
|
|
|
m_IfMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_IfMacros->setObjectName("IfMacros");
|
|
|
|
|
m_IfMacros->setFixedHeight(100);
|
|
|
|
|
m_setIfMacros = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setIfMacros->setObjectName("setIfMacros");
|
|
|
|
|
m_IndentAccessModifiers = new QComboBox(this);
|
|
|
|
|
m_IndentAccessModifiers->addItems({"Default","true","false",});
|
|
|
|
|
m_IndentAccessModifiers->setObjectName("IndentAccessModifiers");
|
|
|
|
|
|
|
|
|
|
m_IndentCaseBlocks = new QComboBox(this);
|
|
|
|
|
m_IndentCaseBlocks->addItems({"Default","true","false",});
|
|
|
|
|
m_IndentCaseBlocks->setObjectName("IndentCaseBlocks");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_IndentCaseLabels = new QComboBox(this);
|
|
|
|
|
m_IndentCaseLabels->addItems({"Default","true","false",});
|
|
|
|
|
m_IndentCaseLabels->setObjectName("IndentCaseLabels");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_IndentGotoLabels = new QComboBox(this);
|
|
|
|
|
m_IndentGotoLabels->addItems({"Default","true","false",});
|
|
|
|
|
m_IndentGotoLabels->setObjectName("IndentGotoLabels");
|
|
|
|
|
|
|
|
|
|
m_IndentExternBlock = new QComboBox(this);
|
|
|
|
|
m_IndentExternBlock->addItems({"AfterExternBlock","NoIndent","Indent",});
|
|
|
|
|
m_IndentExternBlock->setObjectName("IndentExternBlock");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_IndentPPDirectives = new QComboBox(this);
|
|
|
|
|
m_IndentPPDirectives->addItems({"None","AfterHash","BeforeHash",});
|
|
|
|
|
m_IndentPPDirectives->setObjectName("IndentPPDirectives");
|
|
|
|
|
|
|
|
|
|
m_IndentRequiresClause = new QComboBox(this);
|
|
|
|
|
m_IndentRequiresClause->addItems({"Default","true","false",});
|
|
|
|
|
m_IndentRequiresClause->setObjectName("IndentRequiresClause");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
|
|
|
|
m_IndentWidth = new QLineEdit(this);
|
|
|
|
|
m_IndentWidth->setObjectName("IndentWidth");
|
|
|
|
|
m_setIndentWidth = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setIndentWidth->setObjectName("setIndentWidth");
|
|
|
|
|
m_IndentWrappedFunctionNames = new QComboBox(this);
|
|
|
|
|
m_IndentWrappedFunctionNames->addItems({"Default","true","false",});
|
|
|
|
|
m_IndentWrappedFunctionNames->setObjectName("IndentWrappedFunctionNames");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_InsertBraces = new QComboBox(this);
|
|
|
|
|
m_InsertBraces->addItems({"Default","true","false",});
|
|
|
|
|
m_InsertBraces->setObjectName("InsertBraces");
|
|
|
|
|
|
|
|
|
|
m_InsertNewlineAtEOF = new QComboBox(this);
|
|
|
|
|
m_InsertNewlineAtEOF->addItems({"Default","true","false",});
|
|
|
|
|
m_InsertNewlineAtEOF->setObjectName("InsertNewlineAtEOF");
|
|
|
|
|
|
|
|
|
|
m_InsertTrailingCommas = new QComboBox(this);
|
|
|
|
|
m_InsertTrailingCommas->addItems({"None","Wrapped",});
|
|
|
|
|
m_InsertTrailingCommas->setObjectName("InsertTrailingCommas");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_JavaImportGroups = new QPlainTextEdit(this);
|
|
|
|
|
m_JavaImportGroups->setObjectName("JavaImportGroups");
|
|
|
|
|
m_JavaImportGroups->setFixedHeight(100);
|
|
|
|
|
m_setJavaImportGroups = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setJavaImportGroups->setObjectName("setJavaImportGroups");
|
|
|
|
|
m_JavaScriptQuotes = new QComboBox(this);
|
|
|
|
|
m_JavaScriptQuotes->addItems({"Leave","Single","Double",});
|
|
|
|
|
m_JavaScriptQuotes->setObjectName("JavaScriptQuotes");
|
|
|
|
|
|
|
|
|
|
m_JavaScriptWrapImports = new QComboBox(this);
|
|
|
|
|
m_JavaScriptWrapImports->addItems({"Default","true","false",});
|
|
|
|
|
m_JavaScriptWrapImports->setObjectName("JavaScriptWrapImports");
|
|
|
|
|
|
|
|
|
|
m_KeepEmptyLinesAtTheStartOfBlocks = new QComboBox(this);
|
|
|
|
|
m_KeepEmptyLinesAtTheStartOfBlocks->addItems({"Default","true","false",});
|
|
|
|
|
m_KeepEmptyLinesAtTheStartOfBlocks->setObjectName("KeepEmptyLinesAtTheStartOfBlocks");
|
|
|
|
|
|
|
|
|
|
m_LambdaBodyIndentation = new QComboBox(this);
|
|
|
|
|
m_LambdaBodyIndentation->addItems({"Signature","OuterScope",});
|
|
|
|
|
m_LambdaBodyIndentation->setObjectName("LambdaBodyIndentation");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_Language = new QComboBox(this);
|
|
|
|
|
m_Language->addItems({"None","Cpp","CSharp","Java","JavaScript","Json","ObjC","Proto","TableGen","TextProto","Verilog",});
|
|
|
|
|
m_Language->setObjectName("Language");
|
|
|
|
|
|
|
|
|
|
m_LineEnding = new QComboBox(this);
|
|
|
|
|
m_LineEnding->addItems({"LF","CRLF","DeriveLF","DeriveCRLF",});
|
|
|
|
|
m_LineEnding->setObjectName("LineEnding");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_MacroBlockBegin = new QLineEdit(this);
|
|
|
|
|
m_MacroBlockBegin->setObjectName("MacroBlockBegin");
|
|
|
|
|
m_setMacroBlockBegin = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setMacroBlockBegin->setObjectName("setMacroBlockBegin");
|
|
|
|
|
m_MacroBlockEnd = new QLineEdit(this);
|
|
|
|
|
m_MacroBlockEnd->setObjectName("MacroBlockEnd");
|
|
|
|
|
m_setMacroBlockEnd = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setMacroBlockEnd->setObjectName("setMacroBlockEnd");
|
|
|
|
|
m_MaxEmptyLinesToKeep = new QLineEdit(this);
|
|
|
|
|
m_MaxEmptyLinesToKeep->setObjectName("MaxEmptyLinesToKeep");
|
|
|
|
|
m_setMaxEmptyLinesToKeep = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setMaxEmptyLinesToKeep->setObjectName("setMaxEmptyLinesToKeep");
|
|
|
|
|
m_NamespaceIndentation = new QComboBox(this);
|
|
|
|
|
m_NamespaceIndentation->addItems({"None","Inner","All",});
|
|
|
|
|
m_NamespaceIndentation->setObjectName("NamespaceIndentation");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_NamespaceMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_NamespaceMacros->setObjectName("NamespaceMacros");
|
|
|
|
|
m_NamespaceMacros->setFixedHeight(100);
|
|
|
|
|
m_setNamespaceMacros = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setNamespaceMacros->setObjectName("setNamespaceMacros");
|
2022-11-21 13:34:15 +01:00
|
|
|
m_ObjCBinPackProtocolList = new QComboBox(this);
|
|
|
|
|
m_ObjCBinPackProtocolList->addItems({"Auto","Always","Never",});
|
|
|
|
|
m_ObjCBinPackProtocolList->setObjectName("ObjCBinPackProtocolList");
|
|
|
|
|
|
|
|
|
|
m_ObjCBlockIndentWidth = new QLineEdit(this);
|
|
|
|
|
m_ObjCBlockIndentWidth->setObjectName("ObjCBlockIndentWidth");
|
|
|
|
|
m_setObjCBlockIndentWidth = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setObjCBlockIndentWidth->setObjectName("setObjCBlockIndentWidth");
|
|
|
|
|
m_ObjCBreakBeforeNestedBlockParam = new QComboBox(this);
|
|
|
|
|
m_ObjCBreakBeforeNestedBlockParam->addItems({"Default","true","false",});
|
|
|
|
|
m_ObjCBreakBeforeNestedBlockParam->setObjectName("ObjCBreakBeforeNestedBlockParam");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_ObjCSpaceAfterProperty = new QComboBox(this);
|
|
|
|
|
m_ObjCSpaceAfterProperty->addItems({"Default","true","false",});
|
|
|
|
|
m_ObjCSpaceAfterProperty->setObjectName("ObjCSpaceAfterProperty");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_ObjCSpaceBeforeProtocolList = new QComboBox(this);
|
|
|
|
|
m_ObjCSpaceBeforeProtocolList->addItems({"Default","true","false",});
|
|
|
|
|
m_ObjCSpaceBeforeProtocolList->setObjectName("ObjCSpaceBeforeProtocolList");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_PackConstructorInitializers = new QComboBox(this);
|
|
|
|
|
m_PackConstructorInitializers->addItems({"Never","BinPack","CurrentLine","NextLine",});
|
|
|
|
|
m_PackConstructorInitializers->setObjectName("PackConstructorInitializers");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_PenaltyBreakAssignment = new QLineEdit(this);
|
|
|
|
|
m_PenaltyBreakAssignment->setObjectName("PenaltyBreakAssignment");
|
|
|
|
|
m_setPenaltyBreakAssignment = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyBreakAssignment->setObjectName("setPenaltyBreakAssignment");
|
|
|
|
|
m_PenaltyBreakBeforeFirstCallParameter = new QLineEdit(this);
|
|
|
|
|
m_PenaltyBreakBeforeFirstCallParameter->setObjectName("PenaltyBreakBeforeFirstCallParameter");
|
|
|
|
|
m_setPenaltyBreakBeforeFirstCallParameter = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyBreakBeforeFirstCallParameter->setObjectName("setPenaltyBreakBeforeFirstCallParameter");
|
|
|
|
|
m_PenaltyBreakComment = new QLineEdit(this);
|
|
|
|
|
m_PenaltyBreakComment->setObjectName("PenaltyBreakComment");
|
|
|
|
|
m_setPenaltyBreakComment = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyBreakComment->setObjectName("setPenaltyBreakComment");
|
|
|
|
|
m_PenaltyBreakFirstLessLess = new QLineEdit(this);
|
|
|
|
|
m_PenaltyBreakFirstLessLess->setObjectName("PenaltyBreakFirstLessLess");
|
|
|
|
|
m_setPenaltyBreakFirstLessLess = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyBreakFirstLessLess->setObjectName("setPenaltyBreakFirstLessLess");
|
|
|
|
|
m_PenaltyBreakOpenParenthesis = new QLineEdit(this);
|
|
|
|
|
m_PenaltyBreakOpenParenthesis->setObjectName("PenaltyBreakOpenParenthesis");
|
|
|
|
|
m_setPenaltyBreakOpenParenthesis = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyBreakOpenParenthesis->setObjectName("setPenaltyBreakOpenParenthesis");
|
|
|
|
|
m_PenaltyBreakString = new QLineEdit(this);
|
|
|
|
|
m_PenaltyBreakString->setObjectName("PenaltyBreakString");
|
|
|
|
|
m_setPenaltyBreakString = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyBreakString->setObjectName("setPenaltyBreakString");
|
|
|
|
|
m_PenaltyBreakTemplateDeclaration = new QLineEdit(this);
|
|
|
|
|
m_PenaltyBreakTemplateDeclaration->setObjectName("PenaltyBreakTemplateDeclaration");
|
|
|
|
|
m_setPenaltyBreakTemplateDeclaration = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyBreakTemplateDeclaration->setObjectName("setPenaltyBreakTemplateDeclaration");
|
|
|
|
|
m_PenaltyExcessCharacter = new QLineEdit(this);
|
|
|
|
|
m_PenaltyExcessCharacter->setObjectName("PenaltyExcessCharacter");
|
|
|
|
|
m_setPenaltyExcessCharacter = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyExcessCharacter->setObjectName("setPenaltyExcessCharacter");
|
|
|
|
|
m_PenaltyIndentedWhitespace = new QLineEdit(this);
|
|
|
|
|
m_PenaltyIndentedWhitespace->setObjectName("PenaltyIndentedWhitespace");
|
|
|
|
|
m_setPenaltyIndentedWhitespace = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyIndentedWhitespace->setObjectName("setPenaltyIndentedWhitespace");
|
2023-08-02 16:00:49 +02:00
|
|
|
m_PenaltyReturnTypeOnItsOwnLine = new QLineEdit(this);
|
|
|
|
|
m_PenaltyReturnTypeOnItsOwnLine->setObjectName("PenaltyReturnTypeOnItsOwnLine");
|
|
|
|
|
m_setPenaltyReturnTypeOnItsOwnLine = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPenaltyReturnTypeOnItsOwnLine->setObjectName("setPenaltyReturnTypeOnItsOwnLine");
|
2022-11-21 13:34:15 +01:00
|
|
|
m_PointerAlignment = new QComboBox(this);
|
|
|
|
|
m_PointerAlignment->addItems({"Left","Right","Middle",});
|
|
|
|
|
m_PointerAlignment->setObjectName("PointerAlignment");
|
|
|
|
|
|
|
|
|
|
m_PPIndentWidth = new QLineEdit(this);
|
|
|
|
|
m_PPIndentWidth->setObjectName("PPIndentWidth");
|
|
|
|
|
m_setPPIndentWidth = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setPPIndentWidth->setObjectName("setPPIndentWidth");
|
2023-08-02 16:00:49 +02:00
|
|
|
m_QualifierAlignment = new QComboBox(this);
|
|
|
|
|
m_QualifierAlignment->addItems({"Leave","Left","Right","Custom",});
|
|
|
|
|
m_QualifierAlignment->setObjectName("QualifierAlignment");
|
|
|
|
|
|
|
|
|
|
m_QualifierOrder = new QPlainTextEdit(this);
|
|
|
|
|
m_QualifierOrder->setObjectName("QualifierOrder");
|
|
|
|
|
m_QualifierOrder->setFixedHeight(100);
|
|
|
|
|
m_setQualifierOrder = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setQualifierOrder->setObjectName("setQualifierOrder");
|
2022-11-21 13:34:15 +01:00
|
|
|
m_ReferenceAlignment = new QComboBox(this);
|
|
|
|
|
m_ReferenceAlignment->addItems({"Pointer","Left","Right","Middle",});
|
|
|
|
|
m_ReferenceAlignment->setObjectName("ReferenceAlignment");
|
|
|
|
|
|
|
|
|
|
m_ReflowComments = new QComboBox(this);
|
|
|
|
|
m_ReflowComments->addItems({"Default","true","false",});
|
|
|
|
|
m_ReflowComments->setObjectName("ReflowComments");
|
|
|
|
|
|
|
|
|
|
m_RemoveBracesLLVM = new QComboBox(this);
|
|
|
|
|
m_RemoveBracesLLVM->addItems({"Default","true","false",});
|
|
|
|
|
m_RemoveBracesLLVM->setObjectName("RemoveBracesLLVM");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_RemoveSemicolon = new QComboBox(this);
|
|
|
|
|
m_RemoveSemicolon->addItems({"Default","true","false",});
|
|
|
|
|
m_RemoveSemicolon->setObjectName("RemoveSemicolon");
|
|
|
|
|
|
|
|
|
|
m_RequiresClausePosition = new QComboBox(this);
|
|
|
|
|
m_RequiresClausePosition->addItems({"OwnLine","WithPreceding","WithFollowing","SingleLine",});
|
|
|
|
|
m_RequiresClausePosition->setObjectName("RequiresClausePosition");
|
|
|
|
|
|
|
|
|
|
m_RequiresExpressionIndentation = new QComboBox(this);
|
|
|
|
|
m_RequiresExpressionIndentation->addItems({"OuterScope","Keyword",});
|
|
|
|
|
m_RequiresExpressionIndentation->setObjectName("RequiresExpressionIndentation");
|
|
|
|
|
|
2022-11-21 13:34:15 +01:00
|
|
|
m_SeparateDefinitionBlocks = new QComboBox(this);
|
|
|
|
|
m_SeparateDefinitionBlocks->addItems({"Leave","Always","Never",});
|
|
|
|
|
m_SeparateDefinitionBlocks->setObjectName("SeparateDefinitionBlocks");
|
|
|
|
|
|
|
|
|
|
m_ShortNamespaceLines = new QLineEdit(this);
|
|
|
|
|
m_ShortNamespaceLines->setObjectName("ShortNamespaceLines");
|
|
|
|
|
m_setShortNamespaceLines = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setShortNamespaceLines->setObjectName("setShortNamespaceLines");
|
|
|
|
|
m_SortIncludes = new QComboBox(this);
|
|
|
|
|
m_SortIncludes->addItems({"Never","CaseSensitive","CaseInsensitive",});
|
|
|
|
|
m_SortIncludes->setObjectName("SortIncludes");
|
|
|
|
|
|
|
|
|
|
m_SortJavaStaticImport = new QComboBox(this);
|
|
|
|
|
m_SortJavaStaticImport->addItems({"Before","After",});
|
|
|
|
|
m_SortJavaStaticImport->setObjectName("SortJavaStaticImport");
|
|
|
|
|
|
|
|
|
|
m_SortUsingDeclarations = new QComboBox(this);
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SortUsingDeclarations->addItems({"Never","Lexicographic","LexicographicNumeric",});
|
2022-11-21 13:34:15 +01:00
|
|
|
m_SortUsingDeclarations->setObjectName("SortUsingDeclarations");
|
|
|
|
|
|
|
|
|
|
m_SpaceAfterCStyleCast = new QComboBox(this);
|
|
|
|
|
m_SpaceAfterCStyleCast->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceAfterCStyleCast->setObjectName("SpaceAfterCStyleCast");
|
|
|
|
|
|
|
|
|
|
m_SpaceAfterLogicalNot = new QComboBox(this);
|
|
|
|
|
m_SpaceAfterLogicalNot->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceAfterLogicalNot->setObjectName("SpaceAfterLogicalNot");
|
|
|
|
|
|
|
|
|
|
m_SpaceAfterTemplateKeyword = new QComboBox(this);
|
|
|
|
|
m_SpaceAfterTemplateKeyword->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceAfterTemplateKeyword->setObjectName("SpaceAfterTemplateKeyword");
|
|
|
|
|
|
|
|
|
|
m_SpaceAroundPointerQualifiers = new QComboBox(this);
|
|
|
|
|
m_SpaceAroundPointerQualifiers->addItems({"Default","Before","After","Both",});
|
|
|
|
|
m_SpaceAroundPointerQualifiers->setObjectName("SpaceAroundPointerQualifiers");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeAssignmentOperators = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeAssignmentOperators->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeAssignmentOperators->setObjectName("SpaceBeforeAssignmentOperators");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeCaseColon = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeCaseColon->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeCaseColon->setObjectName("SpaceBeforeCaseColon");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeCpp11BracedList = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeCpp11BracedList->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeCpp11BracedList->setObjectName("SpaceBeforeCpp11BracedList");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeCtorInitializerColon = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeCtorInitializerColon->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeCtorInitializerColon->setObjectName("SpaceBeforeCtorInitializerColon");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeInheritanceColon = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeInheritanceColon->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeInheritanceColon->setObjectName("SpaceBeforeInheritanceColon");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeParens = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParens->addItems({"Never","ControlStatements","ControlStatementsExceptControlMacros","NonEmptyParentheses","Always","Custom",});
|
|
|
|
|
m_SpaceBeforeParens->setObjectName("SpaceBeforeParens");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpaceBeforeParensOptionsAfterControlStatements = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterControlStatements->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterControlStatements->setObjectName("SpaceBeforeParensOptionsAfterControlStatements");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterForeachMacros = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterForeachMacros->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterForeachMacros->setObjectName("SpaceBeforeParensOptionsAfterForeachMacros");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterFunctionDeclarationName = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterFunctionDeclarationName->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterFunctionDeclarationName->setObjectName("SpaceBeforeParensOptionsAfterFunctionDeclarationName");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpaceBeforeParensOptionsAfterFunctionDefinitionName = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterFunctionDefinitionName->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterFunctionDefinitionName->setObjectName("SpaceBeforeParensOptionsAfterFunctionDefinitionName");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpaceBeforeParensOptionsAfterIfMacros = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterIfMacros->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterIfMacros->setObjectName("SpaceBeforeParensOptionsAfterIfMacros");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpaceBeforeParensOptionsAfterOverloadedOperator = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterOverloadedOperator->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterOverloadedOperator->setObjectName("SpaceBeforeParensOptionsAfterOverloadedOperator");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpaceBeforeParensOptionsAfterRequiresInClause = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterRequiresInClause->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterRequiresInClause->setObjectName("SpaceBeforeParensOptionsAfterRequiresInClause");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpaceBeforeParensOptionsAfterRequiresInExpression = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterRequiresInExpression->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsAfterRequiresInExpression->setObjectName("SpaceBeforeParensOptionsAfterRequiresInExpression");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpaceBeforeParensOptionsBeforeNonEmptyParentheses = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeParensOptionsBeforeNonEmptyParentheses->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeParensOptionsBeforeNonEmptyParentheses->setObjectName("SpaceBeforeParensOptionsBeforeNonEmptyParentheses");
|
|
|
|
|
|
|
|
|
|
m_SpaceBeforeSquareBrackets = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeSquareBrackets->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeSquareBrackets->setObjectName("SpaceBeforeSquareBrackets");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
|
|
|
|
m_SpaceBeforeRangeBasedForLoopColon = new QComboBox(this);
|
|
|
|
|
m_SpaceBeforeRangeBasedForLoopColon->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceBeforeRangeBasedForLoopColon->setObjectName("SpaceBeforeRangeBasedForLoopColon");
|
|
|
|
|
|
|
|
|
|
m_SpaceInEmptyBlock = new QComboBox(this);
|
|
|
|
|
m_SpaceInEmptyBlock->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceInEmptyBlock->setObjectName("SpaceInEmptyBlock");
|
|
|
|
|
|
|
|
|
|
m_SpaceInEmptyParentheses = new QComboBox(this);
|
|
|
|
|
m_SpaceInEmptyParentheses->addItems({"Default","true","false",});
|
|
|
|
|
m_SpaceInEmptyParentheses->setObjectName("SpaceInEmptyParentheses");
|
|
|
|
|
|
|
|
|
|
m_SpacesBeforeTrailingComments = new QLineEdit(this);
|
|
|
|
|
m_SpacesBeforeTrailingComments->setObjectName("SpacesBeforeTrailingComments");
|
|
|
|
|
m_setSpacesBeforeTrailingComments = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setSpacesBeforeTrailingComments->setObjectName("setSpacesBeforeTrailingComments");
|
|
|
|
|
m_SpacesInAngles = new QComboBox(this);
|
|
|
|
|
m_SpacesInAngles->addItems({"Never","Always","Leave",});
|
|
|
|
|
m_SpacesInAngles->setObjectName("SpacesInAngles");
|
|
|
|
|
|
|
|
|
|
m_SpacesInConditionalStatement = new QComboBox(this);
|
|
|
|
|
m_SpacesInConditionalStatement->addItems({"Default","true","false",});
|
|
|
|
|
m_SpacesInConditionalStatement->setObjectName("SpacesInConditionalStatement");
|
|
|
|
|
|
|
|
|
|
m_SpacesInContainerLiterals = new QComboBox(this);
|
|
|
|
|
m_SpacesInContainerLiterals->addItems({"Default","true","false",});
|
|
|
|
|
m_SpacesInContainerLiterals->setObjectName("SpacesInContainerLiterals");
|
|
|
|
|
|
|
|
|
|
m_SpacesInCStyleCastParentheses = new QComboBox(this);
|
|
|
|
|
m_SpacesInCStyleCastParentheses->addItems({"Default","true","false",});
|
|
|
|
|
m_SpacesInCStyleCastParentheses->setObjectName("SpacesInCStyleCastParentheses");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_SpacesInLineCommentPrefixMinimum = new QLineEdit(this);
|
|
|
|
|
m_SpacesInLineCommentPrefixMinimum->setObjectName("SpacesInLineCommentPrefixMinimum");
|
|
|
|
|
m_setSpacesInLineCommentPrefixMinimum = new QPushButton("Set", this);
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_setSpacesInLineCommentPrefixMinimum->setObjectName("setSpacesInLineCommentPrefixMinimum");
|
|
|
|
|
m_SpacesInLineCommentPrefixMaximum = new QLineEdit(this);
|
|
|
|
|
m_SpacesInLineCommentPrefixMaximum->setObjectName("SpacesInLineCommentPrefixMaximum");
|
|
|
|
|
m_setSpacesInLineCommentPrefixMaximum = new QPushButton("Set", this);
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_setSpacesInLineCommentPrefixMaximum->setObjectName("setSpacesInLineCommentPrefixMaximum");
|
2022-11-21 13:34:15 +01:00
|
|
|
m_SpacesInParentheses = new QComboBox(this);
|
|
|
|
|
m_SpacesInParentheses->addItems({"Default","true","false",});
|
|
|
|
|
m_SpacesInParentheses->setObjectName("SpacesInParentheses");
|
|
|
|
|
|
|
|
|
|
m_SpacesInSquareBrackets = new QComboBox(this);
|
|
|
|
|
m_SpacesInSquareBrackets->addItems({"Default","true","false",});
|
|
|
|
|
m_SpacesInSquareBrackets->setObjectName("SpacesInSquareBrackets");
|
|
|
|
|
|
|
|
|
|
m_Standard = new QComboBox(this);
|
|
|
|
|
m_Standard->addItems({"Cpp03","Cpp11","Cpp14","Cpp17","Cpp20","Latest","Auto",});
|
|
|
|
|
m_Standard->setObjectName("Standard");
|
|
|
|
|
|
|
|
|
|
m_StatementAttributeLikeMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_StatementAttributeLikeMacros->setObjectName("StatementAttributeLikeMacros");
|
|
|
|
|
m_StatementAttributeLikeMacros->setFixedHeight(100);
|
|
|
|
|
m_setStatementAttributeLikeMacros = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setStatementAttributeLikeMacros->setObjectName("setStatementAttributeLikeMacros");
|
2023-08-02 16:00:49 +02:00
|
|
|
m_StatementMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_StatementMacros->setObjectName("StatementMacros");
|
|
|
|
|
m_StatementMacros->setFixedHeight(100);
|
|
|
|
|
m_setStatementMacros = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setStatementMacros->setObjectName("setStatementMacros");
|
2022-11-21 13:34:15 +01:00
|
|
|
m_TabWidth = new QLineEdit(this);
|
|
|
|
|
m_TabWidth->setObjectName("TabWidth");
|
|
|
|
|
m_setTabWidth = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setTabWidth->setObjectName("setTabWidth");
|
2023-08-02 16:00:49 +02:00
|
|
|
m_TypenameMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_TypenameMacros->setObjectName("TypenameMacros");
|
|
|
|
|
m_TypenameMacros->setFixedHeight(100);
|
|
|
|
|
m_setTypenameMacros = new QPushButton("Set", this);
|
2022-11-21 13:34:15 +01:00
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_setTypenameMacros->setObjectName("setTypenameMacros");
|
2022-11-21 13:34:15 +01:00
|
|
|
m_UseTab = new QComboBox(this);
|
|
|
|
|
m_UseTab->addItems({"Never","ForIndentation","ForContinuationAndIndentation","AlignWithSpaces","Always",});
|
|
|
|
|
m_UseTab->setObjectName("UseTab");
|
|
|
|
|
|
2023-08-02 16:00:49 +02:00
|
|
|
m_WhitespaceSensitiveMacros = new QPlainTextEdit(this);
|
|
|
|
|
m_WhitespaceSensitiveMacros->setObjectName("WhitespaceSensitiveMacros");
|
|
|
|
|
m_WhitespaceSensitiveMacros->setFixedHeight(100);
|
|
|
|
|
m_setWhitespaceSensitiveMacros = new QPushButton("Set", this);
|
|
|
|
|
|
|
|
|
|
m_setWhitespaceSensitiveMacros->setObjectName("setWhitespaceSensitiveMacros");
|
2022-11-21 13:34:15 +01:00
|
|
|
|
|
|
|
|
using namespace Layouting;
|
|
|
|
|
|
2022-12-15 12:54:18 +01:00
|
|
|
Grid {
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("BasedOnStyle"), m_BasedOnStyle, br,
|
|
|
|
|
new QLabel("InheritsParentConfig"), m_InheritsParentConfig, br,
|
|
|
|
|
new QLabel("AccessModifierOffset"), Row {m_AccessModifierOffset, m_setAccessModifierOffset}, br,
|
|
|
|
|
new QLabel("AlignAfterOpenBracket"), m_AlignAfterOpenBracket, br,
|
|
|
|
|
new QLabel("AlignArrayOfStructures"), m_AlignArrayOfStructures, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("AlignConsecutiveMacros"), br,
|
|
|
|
|
new QLabel(" Enabled"), m_AlignConsecutiveMacrosEnabled, br,
|
|
|
|
|
new QLabel(" AcrossEmptyLines"), m_AlignConsecutiveMacrosAcrossEmptyLines, br,
|
|
|
|
|
new QLabel(" AcrossComments"), m_AlignConsecutiveMacrosAcrossComments, br,
|
|
|
|
|
new QLabel(" AlignCompound"), m_AlignConsecutiveMacrosAlignCompound, br,
|
|
|
|
|
new QLabel(" PadOperators"), m_AlignConsecutiveMacrosPadOperators, br,
|
|
|
|
|
new QLabel("AlignConsecutiveAssignments"), br,
|
|
|
|
|
new QLabel(" Enabled"), m_AlignConsecutiveAssignmentsEnabled, br,
|
|
|
|
|
new QLabel(" AcrossEmptyLines"), m_AlignConsecutiveAssignmentsAcrossEmptyLines, br,
|
|
|
|
|
new QLabel(" AcrossComments"), m_AlignConsecutiveAssignmentsAcrossComments, br,
|
|
|
|
|
new QLabel(" AlignCompound"), m_AlignConsecutiveAssignmentsAlignCompound, br,
|
|
|
|
|
new QLabel(" PadOperators"), m_AlignConsecutiveAssignmentsPadOperators, br,
|
|
|
|
|
new QLabel("AlignConsecutiveBitFields"), br,
|
|
|
|
|
new QLabel(" Enabled"), m_AlignConsecutiveBitFieldsEnabled, br,
|
|
|
|
|
new QLabel(" AcrossEmptyLines"), m_AlignConsecutiveBitFieldsAcrossEmptyLines, br,
|
|
|
|
|
new QLabel(" AcrossComments"), m_AlignConsecutiveBitFieldsAcrossComments, br,
|
|
|
|
|
new QLabel(" AlignCompound"), m_AlignConsecutiveBitFieldsAlignCompound, br,
|
|
|
|
|
new QLabel(" PadOperators"), m_AlignConsecutiveBitFieldsPadOperators, br,
|
|
|
|
|
new QLabel("AlignConsecutiveDeclarations"), br,
|
|
|
|
|
new QLabel(" Enabled"), m_AlignConsecutiveDeclarationsEnabled, br,
|
|
|
|
|
new QLabel(" AcrossEmptyLines"), m_AlignConsecutiveDeclarationsAcrossEmptyLines, br,
|
|
|
|
|
new QLabel(" AcrossComments"), m_AlignConsecutiveDeclarationsAcrossComments, br,
|
|
|
|
|
new QLabel(" AlignCompound"), m_AlignConsecutiveDeclarationsAlignCompound, br,
|
|
|
|
|
new QLabel(" PadOperators"), m_AlignConsecutiveDeclarationsPadOperators, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("AlignEscapedNewlines"), m_AlignEscapedNewlines, br,
|
|
|
|
|
new QLabel("AlignOperands"), m_AlignOperands, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("AlignTrailingComments"), br,
|
|
|
|
|
new QLabel(" Kind"), m_AlignTrailingCommentsKind, br,
|
|
|
|
|
new QLabel(" OverEmptyLines"), Row {m_AlignTrailingCommentsOverEmptyLines, m_setAlignTrailingCommentsOverEmptyLines}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("AllowAllArgumentsOnNextLine"), m_AllowAllArgumentsOnNextLine, br,
|
|
|
|
|
new QLabel("AllowShortBlocksOnASingleLine"), m_AllowShortBlocksOnASingleLine, br,
|
|
|
|
|
new QLabel("AllowShortCaseLabelsOnASingleLine"), m_AllowShortCaseLabelsOnASingleLine, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("AllowShortEnumsOnASingleLine"), m_AllowShortEnumsOnASingleLine, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("AllowShortFunctionsOnASingleLine"), m_AllowShortFunctionsOnASingleLine, br,
|
|
|
|
|
new QLabel("AllowShortIfStatementsOnASingleLine"), m_AllowShortIfStatementsOnASingleLine, br,
|
|
|
|
|
new QLabel("AllowShortLambdasOnASingleLine"), m_AllowShortLambdasOnASingleLine, br,
|
|
|
|
|
new QLabel("AllowShortLoopsOnASingleLine"), m_AllowShortLoopsOnASingleLine, br,
|
|
|
|
|
new QLabel("AlwaysBreakAfterReturnType"), m_AlwaysBreakAfterReturnType, br,
|
|
|
|
|
new QLabel("AlwaysBreakBeforeMultilineStrings"), m_AlwaysBreakBeforeMultilineStrings, br,
|
|
|
|
|
new QLabel("AlwaysBreakTemplateDeclarations"), m_AlwaysBreakTemplateDeclarations, br,
|
|
|
|
|
new QLabel("AttributeMacros"), Row {m_AttributeMacros, m_setAttributeMacros}, br,
|
|
|
|
|
new QLabel("BinPackArguments"), m_BinPackArguments, br,
|
|
|
|
|
new QLabel("BinPackParameters"), m_BinPackParameters, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("BitFieldColonSpacing"), m_BitFieldColonSpacing, br,
|
|
|
|
|
new QLabel("BraceWrapping"), br,
|
|
|
|
|
new QLabel(" AfterCaseLabel"), m_BraceWrappingAfterCaseLabel, br,
|
|
|
|
|
new QLabel(" AfterClass"), m_BraceWrappingAfterClass, br,
|
|
|
|
|
new QLabel(" AfterControlStatement"), m_BraceWrappingAfterControlStatement, br,
|
|
|
|
|
new QLabel(" AfterEnum"), m_BraceWrappingAfterEnum, br,
|
|
|
|
|
new QLabel(" AfterFunction"), m_BraceWrappingAfterFunction, br,
|
|
|
|
|
new QLabel(" AfterNamespace"), m_BraceWrappingAfterNamespace, br,
|
|
|
|
|
new QLabel(" AfterObjCDeclaration"), m_BraceWrappingAfterObjCDeclaration, br,
|
|
|
|
|
new QLabel(" AfterStruct"), m_BraceWrappingAfterStruct, br,
|
|
|
|
|
new QLabel(" AfterUnion"), m_BraceWrappingAfterUnion, br,
|
|
|
|
|
new QLabel(" AfterExternBlock"), m_BraceWrappingAfterExternBlock, br,
|
|
|
|
|
new QLabel(" BeforeCatch"), m_BraceWrappingBeforeCatch, br,
|
|
|
|
|
new QLabel(" BeforeElse"), m_BraceWrappingBeforeElse, br,
|
|
|
|
|
new QLabel(" BeforeLambdaBody"), m_BraceWrappingBeforeLambdaBody, br,
|
|
|
|
|
new QLabel(" BeforeWhile"), m_BraceWrappingBeforeWhile, br,
|
|
|
|
|
new QLabel(" IndentBraces"), m_BraceWrappingIndentBraces, br,
|
|
|
|
|
new QLabel(" SplitEmptyFunction"), m_BraceWrappingSplitEmptyFunction, br,
|
|
|
|
|
new QLabel(" SplitEmptyRecord"), m_BraceWrappingSplitEmptyRecord, br,
|
|
|
|
|
new QLabel(" SplitEmptyNamespace"), m_BraceWrappingSplitEmptyNamespace, br,
|
|
|
|
|
new QLabel("BreakAfterAttributes"), m_BreakAfterAttributes, br,
|
|
|
|
|
new QLabel("BreakArrays"), m_BreakArrays, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("BreakBeforeBinaryOperators"), m_BreakBeforeBinaryOperators, br,
|
|
|
|
|
new QLabel("BreakBeforeBraces"), m_BreakBeforeBraces, br,
|
|
|
|
|
new QLabel("BreakBeforeConceptDeclarations"), m_BreakBeforeConceptDeclarations, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("BreakBeforeInlineASMColon"), m_BreakBeforeInlineASMColon, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("BreakBeforeTernaryOperators"), m_BreakBeforeTernaryOperators, br,
|
|
|
|
|
new QLabel("BreakConstructorInitializers"), m_BreakConstructorInitializers, br,
|
|
|
|
|
new QLabel("BreakAfterJavaFieldAnnotations"), m_BreakAfterJavaFieldAnnotations, br,
|
|
|
|
|
new QLabel("BreakStringLiterals"), m_BreakStringLiterals, br,
|
|
|
|
|
new QLabel("ColumnLimit"), Row {m_ColumnLimit, m_setColumnLimit}, br,
|
|
|
|
|
new QLabel("CommentPragmas"), Row {m_CommentPragmas, m_setCommentPragmas}, br,
|
|
|
|
|
new QLabel("BreakInheritanceList"), m_BreakInheritanceList, br,
|
|
|
|
|
new QLabel("CompactNamespaces"), m_CompactNamespaces, br,
|
|
|
|
|
new QLabel("ContinuationIndentWidth"), Row {m_ContinuationIndentWidth, m_setContinuationIndentWidth}, br,
|
|
|
|
|
new QLabel("Cpp11BracedListStyle"), m_Cpp11BracedListStyle, br,
|
|
|
|
|
new QLabel("DisableFormat"), m_DisableFormat, br,
|
|
|
|
|
new QLabel("EmptyLineAfterAccessModifier"), m_EmptyLineAfterAccessModifier, br,
|
|
|
|
|
new QLabel("EmptyLineBeforeAccessModifier"), m_EmptyLineBeforeAccessModifier, br,
|
|
|
|
|
new QLabel("ExperimentalAutoDetectBinPacking"), m_ExperimentalAutoDetectBinPacking, br,
|
|
|
|
|
new QLabel("FixNamespaceComments"), m_FixNamespaceComments, br,
|
|
|
|
|
new QLabel("ForEachMacros"), Row {m_ForEachMacros, m_setForEachMacros}, br,
|
|
|
|
|
new QLabel("IfMacros"), Row {m_IfMacros, m_setIfMacros}, br,
|
|
|
|
|
new QLabel("IndentAccessModifiers"), m_IndentAccessModifiers, br,
|
|
|
|
|
new QLabel("IndentCaseBlocks"), m_IndentCaseBlocks, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("IndentCaseLabels"), m_IndentCaseLabels, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("IndentGotoLabels"), m_IndentGotoLabels, br,
|
|
|
|
|
new QLabel("IndentExternBlock"), m_IndentExternBlock, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("IndentPPDirectives"), m_IndentPPDirectives, br,
|
|
|
|
|
new QLabel("IndentRequiresClause"), m_IndentRequiresClause, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("IndentWidth"), Row {m_IndentWidth, m_setIndentWidth}, br,
|
|
|
|
|
new QLabel("IndentWrappedFunctionNames"), m_IndentWrappedFunctionNames, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("InsertBraces"), m_InsertBraces, br,
|
|
|
|
|
new QLabel("InsertNewlineAtEOF"), m_InsertNewlineAtEOF, br,
|
|
|
|
|
new QLabel("InsertTrailingCommas"), m_InsertTrailingCommas, br,
|
|
|
|
|
new QLabel("IntegerLiteralSeparator"), br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("JavaImportGroups"), Row {m_JavaImportGroups, m_setJavaImportGroups}, br,
|
|
|
|
|
new QLabel("JavaScriptQuotes"), m_JavaScriptQuotes, br,
|
|
|
|
|
new QLabel("JavaScriptWrapImports"), m_JavaScriptWrapImports, br,
|
|
|
|
|
new QLabel("KeepEmptyLinesAtTheStartOfBlocks"), m_KeepEmptyLinesAtTheStartOfBlocks, br,
|
|
|
|
|
new QLabel("LambdaBodyIndentation"), m_LambdaBodyIndentation, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("Language"), m_Language, br,
|
|
|
|
|
new QLabel("LineEnding"), m_LineEnding, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("MacroBlockBegin"), Row {m_MacroBlockBegin, m_setMacroBlockBegin}, br,
|
|
|
|
|
new QLabel("MacroBlockEnd"), Row {m_MacroBlockEnd, m_setMacroBlockEnd}, br,
|
|
|
|
|
new QLabel("MaxEmptyLinesToKeep"), Row {m_MaxEmptyLinesToKeep, m_setMaxEmptyLinesToKeep}, br,
|
|
|
|
|
new QLabel("NamespaceIndentation"), m_NamespaceIndentation, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("NamespaceMacros"), Row {m_NamespaceMacros, m_setNamespaceMacros}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("ObjCBinPackProtocolList"), m_ObjCBinPackProtocolList, br,
|
|
|
|
|
new QLabel("ObjCBlockIndentWidth"), Row {m_ObjCBlockIndentWidth, m_setObjCBlockIndentWidth}, br,
|
|
|
|
|
new QLabel("ObjCBreakBeforeNestedBlockParam"), m_ObjCBreakBeforeNestedBlockParam, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("ObjCSpaceAfterProperty"), m_ObjCSpaceAfterProperty, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("ObjCSpaceBeforeProtocolList"), m_ObjCSpaceBeforeProtocolList, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("PackConstructorInitializers"), m_PackConstructorInitializers, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("PenaltyBreakAssignment"), Row {m_PenaltyBreakAssignment, m_setPenaltyBreakAssignment}, br,
|
|
|
|
|
new QLabel("PenaltyBreakBeforeFirstCallParameter"), Row {m_PenaltyBreakBeforeFirstCallParameter, m_setPenaltyBreakBeforeFirstCallParameter}, br,
|
|
|
|
|
new QLabel("PenaltyBreakComment"), Row {m_PenaltyBreakComment, m_setPenaltyBreakComment}, br,
|
|
|
|
|
new QLabel("PenaltyBreakFirstLessLess"), Row {m_PenaltyBreakFirstLessLess, m_setPenaltyBreakFirstLessLess}, br,
|
|
|
|
|
new QLabel("PenaltyBreakOpenParenthesis"), Row {m_PenaltyBreakOpenParenthesis, m_setPenaltyBreakOpenParenthesis}, br,
|
|
|
|
|
new QLabel("PenaltyBreakString"), Row {m_PenaltyBreakString, m_setPenaltyBreakString}, br,
|
|
|
|
|
new QLabel("PenaltyBreakTemplateDeclaration"), Row {m_PenaltyBreakTemplateDeclaration, m_setPenaltyBreakTemplateDeclaration}, br,
|
|
|
|
|
new QLabel("PenaltyExcessCharacter"), Row {m_PenaltyExcessCharacter, m_setPenaltyExcessCharacter}, br,
|
|
|
|
|
new QLabel("PenaltyIndentedWhitespace"), Row {m_PenaltyIndentedWhitespace, m_setPenaltyIndentedWhitespace}, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("PenaltyReturnTypeOnItsOwnLine"), Row {m_PenaltyReturnTypeOnItsOwnLine, m_setPenaltyReturnTypeOnItsOwnLine}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("PointerAlignment"), m_PointerAlignment, br,
|
|
|
|
|
new QLabel("PPIndentWidth"), Row {m_PPIndentWidth, m_setPPIndentWidth}, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("QualifierAlignment"), m_QualifierAlignment, br,
|
|
|
|
|
new QLabel("QualifierOrder"), Row {m_QualifierOrder, m_setQualifierOrder}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("ReferenceAlignment"), m_ReferenceAlignment, br,
|
|
|
|
|
new QLabel("ReflowComments"), m_ReflowComments, br,
|
|
|
|
|
new QLabel("RemoveBracesLLVM"), m_RemoveBracesLLVM, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("RemoveSemicolon"), m_RemoveSemicolon, br,
|
|
|
|
|
new QLabel("RequiresClausePosition"), m_RequiresClausePosition, br,
|
|
|
|
|
new QLabel("RequiresExpressionIndentation"), m_RequiresExpressionIndentation, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("SeparateDefinitionBlocks"), m_SeparateDefinitionBlocks, br,
|
|
|
|
|
new QLabel("ShortNamespaceLines"), Row {m_ShortNamespaceLines, m_setShortNamespaceLines}, br,
|
|
|
|
|
new QLabel("SortIncludes"), m_SortIncludes, br,
|
|
|
|
|
new QLabel("SortJavaStaticImport"), m_SortJavaStaticImport, br,
|
|
|
|
|
new QLabel("SortUsingDeclarations"), m_SortUsingDeclarations, br,
|
|
|
|
|
new QLabel("SpaceAfterCStyleCast"), m_SpaceAfterCStyleCast, br,
|
|
|
|
|
new QLabel("SpaceAfterLogicalNot"), m_SpaceAfterLogicalNot, br,
|
|
|
|
|
new QLabel("SpaceAfterTemplateKeyword"), m_SpaceAfterTemplateKeyword, br,
|
|
|
|
|
new QLabel("SpaceAroundPointerQualifiers"), m_SpaceAroundPointerQualifiers, br,
|
|
|
|
|
new QLabel("SpaceBeforeAssignmentOperators"), m_SpaceBeforeAssignmentOperators, br,
|
|
|
|
|
new QLabel("SpaceBeforeCaseColon"), m_SpaceBeforeCaseColon, br,
|
|
|
|
|
new QLabel("SpaceBeforeCpp11BracedList"), m_SpaceBeforeCpp11BracedList, br,
|
|
|
|
|
new QLabel("SpaceBeforeCtorInitializerColon"), m_SpaceBeforeCtorInitializerColon, br,
|
|
|
|
|
new QLabel("SpaceBeforeInheritanceColon"), m_SpaceBeforeInheritanceColon, br,
|
|
|
|
|
new QLabel("SpaceBeforeParens"), m_SpaceBeforeParens, br,
|
|
|
|
|
new QLabel("SpaceBeforeParensOptions"), br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel(" AfterControlStatements"), m_SpaceBeforeParensOptionsAfterControlStatements, br,
|
|
|
|
|
new QLabel(" AfterForeachMacros"), m_SpaceBeforeParensOptionsAfterForeachMacros, br,
|
|
|
|
|
new QLabel(" AfterFunctionDeclarationName"), m_SpaceBeforeParensOptionsAfterFunctionDeclarationName, br,
|
|
|
|
|
new QLabel(" AfterFunctionDefinitionName"), m_SpaceBeforeParensOptionsAfterFunctionDefinitionName, br,
|
|
|
|
|
new QLabel(" AfterIfMacros"), m_SpaceBeforeParensOptionsAfterIfMacros, br,
|
|
|
|
|
new QLabel(" AfterOverloadedOperator"), m_SpaceBeforeParensOptionsAfterOverloadedOperator, br,
|
|
|
|
|
new QLabel(" AfterRequiresInClause"), m_SpaceBeforeParensOptionsAfterRequiresInClause, br,
|
|
|
|
|
new QLabel(" AfterRequiresInExpression"), m_SpaceBeforeParensOptionsAfterRequiresInExpression, br,
|
|
|
|
|
new QLabel(" BeforeNonEmptyParentheses"), m_SpaceBeforeParensOptionsBeforeNonEmptyParentheses, br,
|
|
|
|
|
new QLabel("SpaceBeforeSquareBrackets"), m_SpaceBeforeSquareBrackets, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("SpaceBeforeRangeBasedForLoopColon"), m_SpaceBeforeRangeBasedForLoopColon, br,
|
|
|
|
|
new QLabel("SpaceInEmptyBlock"), m_SpaceInEmptyBlock, br,
|
|
|
|
|
new QLabel("SpaceInEmptyParentheses"), m_SpaceInEmptyParentheses, br,
|
|
|
|
|
new QLabel("SpacesBeforeTrailingComments"), Row {m_SpacesBeforeTrailingComments, m_setSpacesBeforeTrailingComments}, br,
|
|
|
|
|
new QLabel("SpacesInAngles"), m_SpacesInAngles, br,
|
|
|
|
|
new QLabel("SpacesInConditionalStatement"), m_SpacesInConditionalStatement, br,
|
|
|
|
|
new QLabel("SpacesInContainerLiterals"), m_SpacesInContainerLiterals, br,
|
|
|
|
|
new QLabel("SpacesInCStyleCastParentheses"), m_SpacesInCStyleCastParentheses, br,
|
|
|
|
|
new QLabel("SpacesInLineCommentPrefix"), br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel(" Minimum"), Row {m_SpacesInLineCommentPrefixMinimum, m_setSpacesInLineCommentPrefixMinimum}, br,
|
|
|
|
|
new QLabel(" Maximum"), Row {m_SpacesInLineCommentPrefixMaximum, m_setSpacesInLineCommentPrefixMaximum}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("SpacesInParentheses"), m_SpacesInParentheses, br,
|
|
|
|
|
new QLabel("SpacesInSquareBrackets"), m_SpacesInSquareBrackets, br,
|
|
|
|
|
new QLabel("Standard"), m_Standard, br,
|
|
|
|
|
new QLabel("StatementAttributeLikeMacros"), Row {m_StatementAttributeLikeMacros, m_setStatementAttributeLikeMacros}, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("StatementMacros"), Row {m_StatementMacros, m_setStatementMacros}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("TabWidth"), Row {m_TabWidth, m_setTabWidth}, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("TypenameMacros"), Row {m_TypenameMacros, m_setTypenameMacros}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
new QLabel("UseTab"), m_UseTab, br,
|
2023-08-02 16:00:49 +02:00
|
|
|
new QLabel("WhitespaceSensitiveMacros"), Row {m_WhitespaceSensitiveMacros, m_setWhitespaceSensitiveMacros}, br,
|
2022-11-21 13:34:15 +01:00
|
|
|
}.attachTo(this);
|
|
|
|
|
}
|