/********************************************************************************
** Form generated from reading UI file 'titlebarspacing.ui'
**
** Created by: Qt User Interface Compiler version 6.11.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_TITLEBARSPACING_H
#define UI_TITLEBARSPACING_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <klocalizedstring.h>

QT_BEGIN_NAMESPACE

class Ui_TitleBarSpacing
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *titleBar_groupbox;
    QVBoxLayout *verticalLayout_6;
    QVBoxLayout *verticalLayout_7;
    QGridLayout *gridLayout_8;
    QSpacerItem *horizontalSpacer_46;
    QSpacerItem *horizontalSpacer_43;
    QSpacerItem *horizontalSpacer_3;
    QPushButton *lockTitleBarTopBottomMargins;
    QDoubleSpinBox *titleBarTopMargin;
    QLabel *label_13;
    QSpacerItem *horizontalSpacer_7;
    QSpacerItem *verticalSpacer_4;
    QGridLayout *gridLayout_3;
    QSpinBox *titleBarRightMargin;
    QPushButton *lockTitleBarLeftRightMargins;
    QSpacerItem *horizontalSpacer_13;
    QLabel *label_11;
    QSpacerItem *horizontalSpacer_21;
    QPushButton *lockTitleBarLeftRightMargins_2;
    QSpacerItem *horizontalSpacer_4;
    QLabel *label_10;
    QSpinBox *titleBarLeftMargin;
    QSpacerItem *horizontalSpacer_19;
    QSpinBox *titleSidePadding;
    QSpinBox *titleSidePadding_2;
    QLabel *label_3;
    QComboBox *titleAlignment;
    QLabel *label_7;
    QLabel *label_8;
    QSpacerItem *verticalSpacer_5;
    QGridLayout *gridLayout_11;
    QSpacerItem *horizontalSpacer_11;
    QSpacerItem *horizontalSpacer_10;
    QDoubleSpinBox *titleBarBottomMargin;
    QSpacerItem *horizontalSpacer_50;
    QSpacerItem *horizontalSpacer_12;
    QLabel *label_18;
    QPushButton *lockTitleBarTopBottomMargins_2;
    QSpacerItem *verticalSpacer_8;
    QFormLayout *formLayout_4;
    QLabel *label_15;
    QSpinBox *percentMaximizedTopBottomMargins;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *TitleBarSpacing)
    {
        if (TitleBarSpacing->objectName().isEmpty())
            TitleBarSpacing->setObjectName("TitleBarSpacing");
        TitleBarSpacing->resize(701, 467);
        verticalLayout = new QVBoxLayout(TitleBarSpacing);
        verticalLayout->setObjectName("verticalLayout");
        titleBar_groupbox = new QGroupBox(TitleBarSpacing);
        titleBar_groupbox->setObjectName("titleBar_groupbox");
        titleBar_groupbox->setFlat(false);
        verticalLayout_6 = new QVBoxLayout(titleBar_groupbox);
        verticalLayout_6->setSpacing(0);
        verticalLayout_6->setObjectName("verticalLayout_6");
        verticalLayout_6->setContentsMargins(0, 0, 0, 0);
        verticalLayout_7 = new QVBoxLayout();
        verticalLayout_7->setObjectName("verticalLayout_7");
        gridLayout_8 = new QGridLayout();
        gridLayout_8->setObjectName("gridLayout_8");
        gridLayout_8->setContentsMargins(6, 6, 6, 6);
        horizontalSpacer_46 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_8->addItem(horizontalSpacer_46, 1, 5, 1, 2);

        horizontalSpacer_43 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_8->addItem(horizontalSpacer_43, 1, 1, 1, 2);

        horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_8->addItem(horizontalSpacer_3, 1, 0, 1, 1);

        lockTitleBarTopBottomMargins = new QPushButton(titleBar_groupbox);
        lockTitleBarTopBottomMargins->setObjectName("lockTitleBarTopBottomMargins");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lockTitleBarTopBottomMargins->sizePolicy().hasHeightForWidth());
        lockTitleBarTopBottomMargins->setSizePolicy(sizePolicy);
        lockTitleBarTopBottomMargins->setCheckable(true);

        gridLayout_8->addWidget(lockTitleBarTopBottomMargins, 1, 4, 1, 1);

        titleBarTopMargin = new QDoubleSpinBox(titleBar_groupbox);
        titleBarTopMargin->setObjectName("titleBarTopMargin");
        titleBarTopMargin->setEnabled(true);
        titleBarTopMargin->setMaximum(50.000000000000000);
        titleBarTopMargin->setSingleStep(0.050000000000000);

        gridLayout_8->addWidget(titleBarTopMargin, 1, 3, 1, 1);

        label_13 = new QLabel(titleBar_groupbox);
        label_13->setObjectName("label_13");
        label_13->setAlignment(Qt::AlignmentFlag::AlignCenter);

        gridLayout_8->addWidget(label_13, 0, 1, 1, 6);

        horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_8->addItem(horizontalSpacer_7, 1, 7, 1, 1);


        verticalLayout_7->addLayout(gridLayout_8);

        verticalSpacer_4 = new QSpacerItem(20, 45, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        verticalLayout_7->addItem(verticalSpacer_4);

        gridLayout_3 = new QGridLayout();
        gridLayout_3->setObjectName("gridLayout_3");
        gridLayout_3->setVerticalSpacing(0);
        gridLayout_3->setContentsMargins(6, 6, 6, 6);
        titleBarRightMargin = new QSpinBox(titleBar_groupbox);
        titleBarRightMargin->setObjectName("titleBarRightMargin");
        titleBarRightMargin->setEnabled(true);
        titleBarRightMargin->setMinimum(0);
        titleBarRightMargin->setMaximum(60);

        gridLayout_3->addWidget(titleBarRightMargin, 2, 9, 1, 1);

        lockTitleBarLeftRightMargins = new QPushButton(titleBar_groupbox);
        lockTitleBarLeftRightMargins->setObjectName("lockTitleBarLeftRightMargins");
        sizePolicy.setHeightForWidth(lockTitleBarLeftRightMargins->sizePolicy().hasHeightForWidth());
        lockTitleBarLeftRightMargins->setSizePolicy(sizePolicy);
        lockTitleBarLeftRightMargins->setCheckable(true);

        gridLayout_3->addWidget(lockTitleBarLeftRightMargins, 2, 1, 1, 1);

        horizontalSpacer_13 = new QSpacerItem(20, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_3->addItem(horizontalSpacer_13, 2, 8, 1, 1);

        label_11 = new QLabel(titleBar_groupbox);
        label_11->setObjectName("label_11");
        label_11->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);

        gridLayout_3->addWidget(label_11, 0, 8, 1, 3);

        horizontalSpacer_21 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_3->addItem(horizontalSpacer_21, 2, 7, 1, 1);

        lockTitleBarLeftRightMargins_2 = new QPushButton(titleBar_groupbox);
        lockTitleBarLeftRightMargins_2->setObjectName("lockTitleBarLeftRightMargins_2");
        lockTitleBarLeftRightMargins_2->setCheckable(true);

        gridLayout_3->addWidget(lockTitleBarLeftRightMargins_2, 2, 10, 1, 1);

        horizontalSpacer_4 = new QSpacerItem(20, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_3->addItem(horizontalSpacer_4, 2, 2, 1, 1);

        label_10 = new QLabel(titleBar_groupbox);
        label_10->setObjectName("label_10");
        label_10->setAlignment(Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter);

        gridLayout_3->addWidget(label_10, 0, 0, 1, 3);

        titleBarLeftMargin = new QSpinBox(titleBar_groupbox);
        titleBarLeftMargin->setObjectName("titleBarLeftMargin");
        titleBarLeftMargin->setMinimum(0);
        titleBarLeftMargin->setMaximum(60);

        gridLayout_3->addWidget(titleBarLeftMargin, 2, 0, 1, 1);

        horizontalSpacer_19 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_3->addItem(horizontalSpacer_19, 2, 3, 1, 1);

        titleSidePadding = new QSpinBox(titleBar_groupbox);
        titleSidePadding->setObjectName("titleSidePadding");
        sizePolicy.setHeightForWidth(titleSidePadding->sizePolicy().hasHeightForWidth());
        titleSidePadding->setSizePolicy(sizePolicy);
        titleSidePadding->setMaximum(60);

        gridLayout_3->addWidget(titleSidePadding, 2, 4, 1, 1);

        titleSidePadding_2 = new QSpinBox(titleBar_groupbox);
        titleSidePadding_2->setObjectName("titleSidePadding_2");
        sizePolicy.setHeightForWidth(titleSidePadding_2->sizePolicy().hasHeightForWidth());
        titleSidePadding_2->setSizePolicy(sizePolicy);
        titleSidePadding_2->setMaximum(60);

        gridLayout_3->addWidget(titleSidePadding_2, 2, 6, 1, 1);

        label_3 = new QLabel(titleBar_groupbox);
        label_3->setObjectName("label_3");
        label_3->setAlignment(Qt::AlignmentFlag::AlignCenter);

        gridLayout_3->addWidget(label_3, 0, 5, 1, 1);

        titleAlignment = new QComboBox(titleBar_groupbox);
        titleAlignment->addItem(QString());
        titleAlignment->addItem(QString());
        titleAlignment->addItem(QString());
        titleAlignment->addItem(QString());
        titleAlignment->setObjectName("titleAlignment");

        gridLayout_3->addWidget(titleAlignment, 2, 5, 1, 1);

        label_7 = new QLabel(titleBar_groupbox);
        label_7->setObjectName("label_7");
        label_7->setAlignment(Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter);

        gridLayout_3->addWidget(label_7, 0, 3, 1, 2);

        label_8 = new QLabel(titleBar_groupbox);
        label_8->setObjectName("label_8");

        gridLayout_3->addWidget(label_8, 0, 6, 1, 2);


        verticalLayout_7->addLayout(gridLayout_3);

        verticalSpacer_5 = new QSpacerItem(20, 45, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        verticalLayout_7->addItem(verticalSpacer_5);

        gridLayout_11 = new QGridLayout();
        gridLayout_11->setObjectName("gridLayout_11");
        gridLayout_11->setContentsMargins(6, 6, 6, 6);
        horizontalSpacer_11 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_11->addItem(horizontalSpacer_11, 1, 0, 1, 1);

        horizontalSpacer_10 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_11->addItem(horizontalSpacer_10, 1, 1, 1, 1);

        titleBarBottomMargin = new QDoubleSpinBox(titleBar_groupbox);
        titleBarBottomMargin->setObjectName("titleBarBottomMargin");
        titleBarBottomMargin->setEnabled(true);
        titleBarBottomMargin->setMaximum(50.000000000000000);
        titleBarBottomMargin->setSingleStep(0.050000000000000);

        gridLayout_11->addWidget(titleBarBottomMargin, 1, 2, 1, 1);

        horizontalSpacer_50 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_11->addItem(horizontalSpacer_50, 1, 5, 1, 1);

        horizontalSpacer_12 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        gridLayout_11->addItem(horizontalSpacer_12, 1, 4, 1, 1);

        label_18 = new QLabel(titleBar_groupbox);
        label_18->setObjectName("label_18");
        label_18->setAlignment(Qt::AlignmentFlag::AlignCenter);

        gridLayout_11->addWidget(label_18, 0, 1, 1, 4);

        lockTitleBarTopBottomMargins_2 = new QPushButton(titleBar_groupbox);
        lockTitleBarTopBottomMargins_2->setObjectName("lockTitleBarTopBottomMargins_2");
        lockTitleBarTopBottomMargins_2->setCheckable(true);

        gridLayout_11->addWidget(lockTitleBarTopBottomMargins_2, 1, 3, 1, 1);


        verticalLayout_7->addLayout(gridLayout_11);


        verticalLayout_6->addLayout(verticalLayout_7);


        verticalLayout->addWidget(titleBar_groupbox);

        verticalSpacer_8 = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);

        verticalLayout->addItem(verticalSpacer_8);

        formLayout_4 = new QFormLayout();
        formLayout_4->setObjectName("formLayout_4");
        label_15 = new QLabel(TitleBarSpacing);
        label_15->setObjectName("label_15");

        formLayout_4->setWidget(0, QFormLayout::ItemRole::LabelRole, label_15);

        percentMaximizedTopBottomMargins = new QSpinBox(TitleBarSpacing);
        percentMaximizedTopBottomMargins->setObjectName("percentMaximizedTopBottomMargins");
        percentMaximizedTopBottomMargins->setMaximum(100);

        formLayout_4->setWidget(0, QFormLayout::ItemRole::FieldRole, percentMaximizedTopBottomMargins);


        verticalLayout->addLayout(formLayout_4);

        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::MinimumExpanding);

        verticalLayout->addItem(verticalSpacer);

        buttonBox = new QDialogButtonBox(TitleBarSpacing);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Orientation::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::StandardButton::Apply|QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok|QDialogButtonBox::StandardButton::Reset|QDialogButtonBox::StandardButton::RestoreDefaults);

        verticalLayout->addWidget(buttonBox);

#if QT_CONFIG(shortcut)
        label_13->setBuddy(titleBarTopMargin);
        label_11->setBuddy(titleBarRightMargin);
        label_10->setBuddy(titleBarLeftMargin);
        label_3->setBuddy(titleAlignment);
        label_7->setBuddy(titleSidePadding);
        label_18->setBuddy(titleBarBottomMargin);
        label_15->setBuddy(percentMaximizedTopBottomMargins);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(titleBarTopMargin, lockTitleBarTopBottomMargins);
        QWidget::setTabOrder(lockTitleBarTopBottomMargins, titleBarLeftMargin);
        QWidget::setTabOrder(titleBarLeftMargin, lockTitleBarLeftRightMargins);
        QWidget::setTabOrder(lockTitleBarLeftRightMargins, titleSidePadding);
        QWidget::setTabOrder(titleSidePadding, titleAlignment);
        QWidget::setTabOrder(titleAlignment, titleSidePadding_2);
        QWidget::setTabOrder(titleSidePadding_2, titleBarRightMargin);
        QWidget::setTabOrder(titleBarRightMargin, lockTitleBarLeftRightMargins_2);
        QWidget::setTabOrder(lockTitleBarLeftRightMargins_2, titleBarBottomMargin);
        QWidget::setTabOrder(titleBarBottomMargin, lockTitleBarTopBottomMargins_2);
        QWidget::setTabOrder(lockTitleBarTopBottomMargins_2, percentMaximizedTopBottomMargins);

        retranslateUi(TitleBarSpacing);
        QObject::connect(lockTitleBarTopBottomMargins, &QPushButton::toggled, lockTitleBarTopBottomMargins_2, &QPushButton::setChecked);
        QObject::connect(lockTitleBarTopBottomMargins_2, &QPushButton::toggled, lockTitleBarTopBottomMargins, &QPushButton::setChecked);
        QObject::connect(lockTitleBarLeftRightMargins, &QPushButton::toggled, lockTitleBarLeftRightMargins_2, &QPushButton::setChecked);
        QObject::connect(lockTitleBarLeftRightMargins_2, &QPushButton::toggled, lockTitleBarLeftRightMargins, &QPushButton::setChecked);
        QObject::connect(titleSidePadding, &QSpinBox::valueChanged, titleSidePadding_2, &QSpinBox::setValue);
        QObject::connect(titleSidePadding_2, &QSpinBox::valueChanged, titleSidePadding, &QSpinBox::setValue);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, TitleBarSpacing, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, TitleBarSpacing, qOverload<>(&QDialog::reject));

        QMetaObject::connectSlotsByName(TitleBarSpacing);
    } // setupUi

    void retranslateUi(QDialog *TitleBarSpacing)
    {
        TitleBarSpacing->setWindowTitle(tr2i18n("Dialog", nullptr));
        titleBar_groupbox->setTitle(QString());
#if QT_CONFIG(tooltip)
        lockTitleBarTopBottomMargins->setToolTip(tr2i18n("Lock to make Titlebar top margin and Titlebar bottom margin have the same value", nullptr));
#endif // QT_CONFIG(tooltip)
        lockTitleBarTopBottomMargins->setText(QString());
        label_13->setText(tr2i18n("Titlebar top margin:", nullptr));
#if QT_CONFIG(tooltip)
        lockTitleBarLeftRightMargins->setToolTip(tr2i18n("Lock to make Titlebar left margin and Titlebar right margin have the same value", nullptr));
#endif // QT_CONFIG(tooltip)
        lockTitleBarLeftRightMargins->setText(QString());
        label_11->setText(tr2i18n("Titlebar\n"
"right margin:", nullptr));
#if QT_CONFIG(tooltip)
        lockTitleBarLeftRightMargins_2->setToolTip(tr2i18n("Lock to make Titlebar left margin and Titlebar right margin have the same value", nullptr));
#endif // QT_CONFIG(tooltip)
        lockTitleBarLeftRightMargins_2->setText(QString());
        label_10->setText(tr2i18n("Titlebar\n"
"left margin:", nullptr));
        label_3->setText(tr2i18n("Title\n"
"alignment:", nullptr));
        titleAlignment->setItemText(0, tr2i18n("Left", nullptr));
        titleAlignment->setItemText(1, tr2i18n("Centre", nullptr));
        titleAlignment->setItemText(2, tr2i18n("Centre (Full Width)", nullptr));
        titleAlignment->setItemText(3, tr2i18n("Right", nullptr));

        label_7->setText(tr2i18n("Title\n"
"padding:", nullptr));
        label_8->setText(tr2i18n("Title\n"
"padding:", nullptr));
        label_18->setText(tr2i18n("Titlebar bottom margin:", nullptr));
#if QT_CONFIG(tooltip)
        lockTitleBarTopBottomMargins_2->setToolTip(tr2i18n("Lock to make Titlebar top margin and Titlebar bottom margin have the same value", nullptr));
#endif // QT_CONFIG(tooltip)
        lockTitleBarTopBottomMargins_2->setText(QString());
        label_15->setText(tr2i18n("Titlebar top/bottom margins for maximized windows:", nullptr));
        percentMaximizedTopBottomMargins->setSuffix(tr2i18n(" %", nullptr));
    } // retranslateUi

};

namespace Ui {
    class TitleBarSpacing: public Ui_TitleBarSpacing {};
} // namespace Ui

QT_END_NAMESPACE

#endif // TITLEBARSPACING_H

