#include <klocalizedstring.h>

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

#ifndef UI_KCM_KEYBOARD_H
#define UI_KCM_KEYBOARD_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTableView>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QTreeView>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kkeysequencewidget.h"

QT_BEGIN_NAMESPACE

class Ui_TabWidget
{
public:
    QWidget *tabHardware;
    QFormLayout *formLayout;
    QLabel *label_4;
    QComboBox *keyboardModelComboBox;
    QWidget *lowerHardwareWidget;
    QVBoxLayout *verticalLayout_2;
    QWidget *tabLayouts;
    QGridLayout *gridLayout_2;
    QHBoxLayout *horizontalLayout_3;
    QGroupBox *kbuttongroup;
    QGridLayout *gridLayout_3;
    QCheckBox *showIndicatorChk;
    QCheckBox *showSingleChk;
    QRadioButton *showFlagRadioBtn;
    QRadioButton *showLabelRadioBtn;
    QRadioButton *showLabelOnFlagRadioBtn;
    QGroupBox *switchingPolicyGroupBox;
    QGridLayout *gridLayout;
    QRadioButton *switchByGlobalRadioBtn;
    QRadioButton *switchByDesktopRadioBtn;
    QRadioButton *switchByApplicationRadioBtn;
    QRadioButton *switchByWindowRadioBtn;
    QGroupBox *shortcutsGroupBox;
    QGridLayout *_2;
    QLabel *label;
    QPushButton *xkbGrpShortcutBtn;
    QToolButton *xkbGrpClearBtn;
    QLabel *label_3;
    QPushButton *xkb3rdLevelShortcutBtn;
    QToolButton *xkb3rdLevelClearBtn;
    QLabel *label_2;
    KKeySequenceWidget *kdeKeySequence;
    QGroupBox *layoutsGroupBox;
    QGridLayout *gridLayout_5;
    QHBoxLayout *horizontalLayout;
    QPushButton *addLayoutBtn;
    QPushButton *removeLayoutBtn;
    QPushButton *moveUpBtn;
    QPushButton *moveDownBtn;
    QPushButton *previewButton;
    QSpacerItem *horizontalSpacer;
    QTableView *layoutsTableView;
    QCheckBox *layoutLoopingCheckBox;
    QSpacerItem *horizontalSpacer_2;
    QGroupBox *layoutLoopingGroupBox;
    QGridLayout *gridLayout_4;
    QLabel *label_5;
    QSpinBox *layoutLoopCountSpinBox;
    QSpacerItem *horizontalSpacer_3;
    QWidget *tabAdvanced;
    QGridLayout *gridLayout_1;
    QCheckBox *configureKeyboardOptionsChk;
    QTreeView *xkbOptionsTreeView;
    QButtonGroup *switchingPolicyButtonGroup;

    void setupUi(QTabWidget *TabWidget)
    {
        if (TabWidget->objectName().isEmpty())
            TabWidget->setObjectName(QStringLiteral("TabWidget"));
        TabWidget->resize(677, 485);
        tabHardware = new QWidget();
        tabHardware->setObjectName(QStringLiteral("tabHardware"));
        formLayout = new QFormLayout(tabHardware);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setVerticalSpacing(0);
        label_4 = new QLabel(tabHardware);
        label_4->setObjectName(QStringLiteral("label_4"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
        label_4->setSizePolicy(sizePolicy);
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout->setWidget(0, QFormLayout::LabelRole, label_4);

        keyboardModelComboBox = new QComboBox(tabHardware);
        keyboardModelComboBox->setObjectName(QStringLiteral("keyboardModelComboBox"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(2);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(keyboardModelComboBox->sizePolicy().hasHeightForWidth());
        keyboardModelComboBox->setSizePolicy(sizePolicy1);
        keyboardModelComboBox->setMaxVisibleItems(15);
        keyboardModelComboBox->setSizeAdjustPolicy(QComboBox::AdjustToContentsOnFirstShow);

        formLayout->setWidget(0, QFormLayout::FieldRole, keyboardModelComboBox);

        lowerHardwareWidget = new QWidget(tabHardware);
        lowerHardwareWidget->setObjectName(QStringLiteral("lowerHardwareWidget"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy2.setHorizontalStretch(1);
        sizePolicy2.setVerticalStretch(1);
        sizePolicy2.setHeightForWidth(lowerHardwareWidget->sizePolicy().hasHeightForWidth());
        lowerHardwareWidget->setSizePolicy(sizePolicy2);
        lowerHardwareWidget->setMinimumSize(QSize(0, 100));
        lowerHardwareWidget->setBaseSize(QSize(0, 0));
        verticalLayout_2 = new QVBoxLayout(lowerHardwareWidget);
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));

        formLayout->setWidget(1, QFormLayout::SpanningRole, lowerHardwareWidget);

        TabWidget->addTab(tabHardware, QString());
        tabLayouts = new QWidget();
        tabLayouts->setObjectName(QStringLiteral("tabLayouts"));
        gridLayout_2 = new QGridLayout(tabLayouts);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        kbuttongroup = new QGroupBox(tabLayouts);
        kbuttongroup->setObjectName(QStringLiteral("kbuttongroup"));
        gridLayout_3 = new QGridLayout(kbuttongroup);
        gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
        showIndicatorChk = new QCheckBox(kbuttongroup);
        showIndicatorChk->setObjectName(QStringLiteral("showIndicatorChk"));

        gridLayout_3->addWidget(showIndicatorChk, 0, 0, 1, 1);

        showSingleChk = new QCheckBox(kbuttongroup);
        showSingleChk->setObjectName(QStringLiteral("showSingleChk"));

        gridLayout_3->addWidget(showSingleChk, 1, 0, 1, 1);

        showFlagRadioBtn = new QRadioButton(kbuttongroup);
        showFlagRadioBtn->setObjectName(QStringLiteral("showFlagRadioBtn"));

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

        showLabelRadioBtn = new QRadioButton(kbuttongroup);
        showLabelRadioBtn->setObjectName(QStringLiteral("showLabelRadioBtn"));

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

        showLabelOnFlagRadioBtn = new QRadioButton(kbuttongroup);
        showLabelOnFlagRadioBtn->setObjectName(QStringLiteral("showLabelOnFlagRadioBtn"));

        gridLayout_3->addWidget(showLabelOnFlagRadioBtn, 4, 0, 1, 1);


        horizontalLayout_3->addWidget(kbuttongroup);

        switchingPolicyGroupBox = new QGroupBox(tabLayouts);
        switchingPolicyGroupBox->setObjectName(QStringLiteral("switchingPolicyGroupBox"));
        gridLayout = new QGridLayout(switchingPolicyGroupBox);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        switchByGlobalRadioBtn = new QRadioButton(switchingPolicyGroupBox);
        switchingPolicyButtonGroup = new QButtonGroup(TabWidget);
        switchingPolicyButtonGroup->setObjectName(QStringLiteral("switchingPolicyButtonGroup"));
        switchingPolicyButtonGroup->addButton(switchByGlobalRadioBtn);
        switchByGlobalRadioBtn->setObjectName(QStringLiteral("switchByGlobalRadioBtn"));
        switchByGlobalRadioBtn->setChecked(true);

        gridLayout->addWidget(switchByGlobalRadioBtn, 0, 0, 1, 1);

        switchByDesktopRadioBtn = new QRadioButton(switchingPolicyGroupBox);
        switchingPolicyButtonGroup->addButton(switchByDesktopRadioBtn);
        switchByDesktopRadioBtn->setObjectName(QStringLiteral("switchByDesktopRadioBtn"));

        gridLayout->addWidget(switchByDesktopRadioBtn, 1, 0, 1, 1);

        switchByApplicationRadioBtn = new QRadioButton(switchingPolicyGroupBox);
        switchingPolicyButtonGroup->addButton(switchByApplicationRadioBtn);
        switchByApplicationRadioBtn->setObjectName(QStringLiteral("switchByApplicationRadioBtn"));

        gridLayout->addWidget(switchByApplicationRadioBtn, 2, 0, 1, 1);

        switchByWindowRadioBtn = new QRadioButton(switchingPolicyGroupBox);
        switchingPolicyButtonGroup->addButton(switchByWindowRadioBtn);
        switchByWindowRadioBtn->setObjectName(QStringLiteral("switchByWindowRadioBtn"));

        gridLayout->addWidget(switchByWindowRadioBtn, 3, 0, 1, 1);


        horizontalLayout_3->addWidget(switchingPolicyGroupBox);

        shortcutsGroupBox = new QGroupBox(tabLayouts);
        shortcutsGroupBox->setObjectName(QStringLiteral("shortcutsGroupBox"));
        _2 = new QGridLayout(shortcutsGroupBox);
        _2->setObjectName(QStringLiteral("_2"));
        label = new QLabel(shortcutsGroupBox);
        label->setObjectName(QStringLiteral("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        _2->addWidget(label, 0, 0, 1, 1);

        xkbGrpShortcutBtn = new QPushButton(shortcutsGroupBox);
        xkbGrpShortcutBtn->setObjectName(QStringLiteral("xkbGrpShortcutBtn"));

        _2->addWidget(xkbGrpShortcutBtn, 0, 1, 1, 1);

        xkbGrpClearBtn = new QToolButton(shortcutsGroupBox);
        xkbGrpClearBtn->setObjectName(QStringLiteral("xkbGrpClearBtn"));

        _2->addWidget(xkbGrpClearBtn, 0, 2, 1, 1);

        label_3 = new QLabel(shortcutsGroupBox);
        label_3->setObjectName(QStringLiteral("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        _2->addWidget(label_3, 1, 0, 1, 1);

        xkb3rdLevelShortcutBtn = new QPushButton(shortcutsGroupBox);
        xkb3rdLevelShortcutBtn->setObjectName(QStringLiteral("xkb3rdLevelShortcutBtn"));

        _2->addWidget(xkb3rdLevelShortcutBtn, 1, 1, 1, 1);

        xkb3rdLevelClearBtn = new QToolButton(shortcutsGroupBox);
        xkb3rdLevelClearBtn->setObjectName(QStringLiteral("xkb3rdLevelClearBtn"));

        _2->addWidget(xkb3rdLevelClearBtn, 1, 2, 1, 1);

        label_2 = new QLabel(shortcutsGroupBox);
        label_2->setObjectName(QStringLiteral("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        _2->addWidget(label_2, 2, 0, 1, 1);

        kdeKeySequence = new KKeySequenceWidget(shortcutsGroupBox);
        kdeKeySequence->setObjectName(QStringLiteral("kdeKeySequence"));
        kdeKeySequence->setMultiKeyShortcutsAllowed(false);

        _2->addWidget(kdeKeySequence, 2, 1, 1, 2);


        horizontalLayout_3->addWidget(shortcutsGroupBox);


        gridLayout_2->addLayout(horizontalLayout_3, 0, 0, 1, 1);

        layoutsGroupBox = new QGroupBox(tabLayouts);
        layoutsGroupBox->setObjectName(QStringLiteral("layoutsGroupBox"));
        layoutsGroupBox->setEnabled(true);
        layoutsGroupBox->setFlat(false);
        layoutsGroupBox->setCheckable(true);
        gridLayout_5 = new QGridLayout(layoutsGroupBox);
        gridLayout_5->setObjectName(QStringLiteral("gridLayout_5"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        addLayoutBtn = new QPushButton(layoutsGroupBox);
        addLayoutBtn->setObjectName(QStringLiteral("addLayoutBtn"));

        horizontalLayout->addWidget(addLayoutBtn);

        removeLayoutBtn = new QPushButton(layoutsGroupBox);
        removeLayoutBtn->setObjectName(QStringLiteral("removeLayoutBtn"));
        removeLayoutBtn->setEnabled(false);

        horizontalLayout->addWidget(removeLayoutBtn);

        moveUpBtn = new QPushButton(layoutsGroupBox);
        moveUpBtn->setObjectName(QStringLiteral("moveUpBtn"));
        moveUpBtn->setEnabled(false);

        horizontalLayout->addWidget(moveUpBtn);

        moveDownBtn = new QPushButton(layoutsGroupBox);
        moveDownBtn->setObjectName(QStringLiteral("moveDownBtn"));
        moveDownBtn->setEnabled(false);

        horizontalLayout->addWidget(moveDownBtn);

        previewButton = new QPushButton(layoutsGroupBox);
        previewButton->setObjectName(QStringLiteral("previewButton"));
        previewButton->setEnabled(false);

        horizontalLayout->addWidget(previewButton);

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

        horizontalLayout->addItem(horizontalSpacer);


        gridLayout_5->addLayout(horizontalLayout, 0, 0, 1, 2);

        layoutsTableView = new QTableView(layoutsGroupBox);
        layoutsTableView->setObjectName(QStringLiteral("layoutsTableView"));
        layoutsTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
        layoutsTableView->setShowGrid(false);
        layoutsTableView->verticalHeader()->setVisible(false);

        gridLayout_5->addWidget(layoutsTableView, 1, 0, 1, 2);

        layoutLoopingCheckBox = new QCheckBox(layoutsGroupBox);
        layoutLoopingCheckBox->setObjectName(QStringLiteral("layoutLoopingCheckBox"));

        gridLayout_5->addWidget(layoutLoopingCheckBox, 2, 0, 1, 2);

        horizontalSpacer_2 = new QSpacerItem(15, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout_5->addItem(horizontalSpacer_2, 3, 0, 1, 1);

        layoutLoopingGroupBox = new QGroupBox(layoutsGroupBox);
        layoutLoopingGroupBox->setObjectName(QStringLiteral("layoutLoopingGroupBox"));
        layoutLoopingGroupBox->setFlat(true);
        gridLayout_4 = new QGridLayout(layoutLoopingGroupBox);
        gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
        label_5 = new QLabel(layoutLoopingGroupBox);
        label_5->setObjectName(QStringLiteral("label_5"));

        gridLayout_4->addWidget(label_5, 0, 0, 1, 1);

        layoutLoopCountSpinBox = new QSpinBox(layoutLoopingGroupBox);
        layoutLoopCountSpinBox->setObjectName(QStringLiteral("layoutLoopCountSpinBox"));

        gridLayout_4->addWidget(layoutLoopCountSpinBox, 0, 1, 1, 1);

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

        gridLayout_4->addItem(horizontalSpacer_3, 0, 2, 1, 1);


        gridLayout_5->addWidget(layoutLoopingGroupBox, 3, 1, 1, 1);


        gridLayout_2->addWidget(layoutsGroupBox, 1, 0, 1, 1);

        TabWidget->addTab(tabLayouts, QString());
        tabAdvanced = new QWidget();
        tabAdvanced->setObjectName(QStringLiteral("tabAdvanced"));
        gridLayout_1 = new QGridLayout(tabAdvanced);
        gridLayout_1->setObjectName(QStringLiteral("gridLayout_1"));
        configureKeyboardOptionsChk = new QCheckBox(tabAdvanced);
        configureKeyboardOptionsChk->setObjectName(QStringLiteral("configureKeyboardOptionsChk"));

        gridLayout_1->addWidget(configureKeyboardOptionsChk, 0, 0, 1, 2);

        xkbOptionsTreeView = new QTreeView(tabAdvanced);
        xkbOptionsTreeView->setObjectName(QStringLiteral("xkbOptionsTreeView"));
        xkbOptionsTreeView->setEnabled(false);
        xkbOptionsTreeView->setHeaderHidden(true);

        gridLayout_1->addWidget(xkbOptionsTreeView, 1, 0, 1, 1);

        TabWidget->addTab(tabAdvanced, QString());
#ifndef UI_QT_NO_SHORTCUT
        label_4->setBuddy(keyboardModelComboBox);
        label->setBuddy(xkbGrpShortcutBtn);
        label_3->setBuddy(xkb3rdLevelShortcutBtn);
        label_2->setBuddy(kdeKeySequence);
#endif // QT_NO_SHORTCUT

        retranslateUi(TabWidget);

        TabWidget->setCurrentIndex(1);


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

    void retranslateUi(QTabWidget *TabWidget)
    {
        label_4->setText(tr2i18n("Keyboard &model:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        keyboardModelComboBox->setWhatsThis(tr2i18n("Here you can choose a keyboard model. This setting is independent of your keyboard layout and refers to the \"hardware\" model, i.e. the way your keyboard is manufactured. Modern keyboards that come with your computer usually have two extra keys and are referred to as \"104-key\" models, which is probably what you want if you do not know what kind of keyboard you have.\n"
"", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        TabWidget->setTabText(TabWidget->indexOf(tabHardware), tr2i18n("Hardware", Q_NULLPTR));
        kbuttongroup->setTitle(tr2i18n("Layout Indicator", Q_NULLPTR));
        showIndicatorChk->setText(tr2i18n("Show layout indicator", Q_NULLPTR));
        showSingleChk->setText(tr2i18n("Show for single layout", Q_NULLPTR));
        showFlagRadioBtn->setText(tr2i18n("Show flag", Q_NULLPTR));
        showLabelRadioBtn->setText(tr2i18n("Show label", Q_NULLPTR));
        showLabelOnFlagRadioBtn->setText(tr2i18n("Show label on flag", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        switchingPolicyGroupBox->setWhatsThis(tr2i18n("If you select \"Application\" or \"Window\" switching policy, changing the keyboard layout will only affect the current application or window.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        switchingPolicyGroupBox->setTitle(tr2i18n("Switching Policy", Q_NULLPTR));
        switchByGlobalRadioBtn->setText(tr2i18n("&Global", Q_NULLPTR));
        switchByDesktopRadioBtn->setText(tr2i18n("&Desktop", Q_NULLPTR));
        switchByApplicationRadioBtn->setText(tr2i18n("&Application", Q_NULLPTR));
        switchByWindowRadioBtn->setText(tr2i18n("&Window", Q_NULLPTR));
        shortcutsGroupBox->setTitle(tr2i18n("Shortcuts for Switching Layout", Q_NULLPTR));
        label->setText(tr2i18n("Main shortcuts:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        xkbGrpShortcutBtn->setWhatsThis(tr2i18n("This is a shortcut for switching layouts which is handled by X.org. It allows modifier-only shortcuts.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        xkbGrpShortcutBtn->setText(tr2i18n("None", "no shortcut defined"));
        xkbGrpClearBtn->setText(tr2i18n("...", Q_NULLPTR));
        label_3->setText(tr2i18n("3rd level shortcuts:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        xkb3rdLevelShortcutBtn->setWhatsThis(tr2i18n("This is a shortcut for switching to a third level of the active layout (if it has one) which is handled by X.org. It allows modifier-only shortcuts.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        xkb3rdLevelShortcutBtn->setText(tr2i18n("None", "no shortcut defined"));
        xkb3rdLevelClearBtn->setText(tr2i18n("...", Q_NULLPTR));
        label_2->setText(tr2i18n("Alternative shortcut:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        kdeKeySequence->setWhatsThis(tr2i18n("This is a shortcut for switching layouts which is handled by KDE. It does not support modifier-only shortcuts and also may not work in some situations (e.g. if popup is active or from screensaver).", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        layoutsGroupBox->setTitle(tr2i18n("Configure layouts", Q_NULLPTR));
        addLayoutBtn->setText(tr2i18n("Add", Q_NULLPTR));
        removeLayoutBtn->setText(tr2i18n("Remove", Q_NULLPTR));
        moveUpBtn->setText(tr2i18n("Move Up", Q_NULLPTR));
        moveDownBtn->setText(tr2i18n("Move Down", Q_NULLPTR));
        previewButton->setText(tr2i18n("Preview", Q_NULLPTR));
        layoutLoopingCheckBox->setText(tr2i18n("Spare layouts", Q_NULLPTR));
        layoutLoopingGroupBox->setTitle(QString());
        label_5->setText(tr2i18n("Main layout count:", Q_NULLPTR));
        TabWidget->setTabText(TabWidget->indexOf(tabLayouts), tr2i18n("Layouts", Q_NULLPTR));
        configureKeyboardOptionsChk->setText(tr2i18n("&Configure keyboard options", Q_NULLPTR));
        TabWidget->setTabText(TabWidget->indexOf(tabAdvanced), tr2i18n("Advanced", Q_NULLPTR));
        Q_UNUSED(TabWidget);
    } // retranslateUi

};

namespace Ui {
    class TabWidget: public Ui_TabWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KCM_KEYBOARD_H

