#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'newkeyboardlayoutwidget.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_NEWKEYBOARDLAYOUTWIDGET_H
#define UI_NEWKEYBOARDLAYOUTWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <kmessagewidget.h>
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_NewKeyboardLayoutWidget
{
public:
    QVBoxLayout *verticalLayout;
    KMessageWidget *m_messageWidget;
    QFormLayout *formLayout;
    QLabel *m_nameLabel;
    QHBoxLayout *horizontalLayout;
    KLineEdit *m_nameLineEdit;
    QToolButton *m_pasteCurrentNameButton;
    QLabel *m_titleLabel;
    KLineEdit *m_titleLineEdit;

    void setupUi(QWidget *NewKeyboardLayoutWidget)
    {
        if (NewKeyboardLayoutWidget->objectName().isEmpty())
            NewKeyboardLayoutWidget->setObjectName(QStringLiteral("NewKeyboardLayoutWidget"));
        NewKeyboardLayoutWidget->resize(256, 78);
        verticalLayout = new QVBoxLayout(NewKeyboardLayoutWidget);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        m_messageWidget = new KMessageWidget(NewKeyboardLayoutWidget);
        m_messageWidget->setObjectName(QStringLiteral("m_messageWidget"));

        verticalLayout->addWidget(m_messageWidget);

        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        m_nameLabel = new QLabel(NewKeyboardLayoutWidget);
        m_nameLabel->setObjectName(QStringLiteral("m_nameLabel"));

        formLayout->setWidget(1, QFormLayout::LabelRole, m_nameLabel);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        m_nameLineEdit = new KLineEdit(NewKeyboardLayoutWidget);
        m_nameLineEdit->setObjectName(QStringLiteral("m_nameLineEdit"));

        horizontalLayout->addWidget(m_nameLineEdit);

        m_pasteCurrentNameButton = new QToolButton(NewKeyboardLayoutWidget);
        m_pasteCurrentNameButton->setObjectName(QStringLiteral("m_pasteCurrentNameButton"));
        QIcon icon;
        QString iconThemeName = QStringLiteral("tools-wizard");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QStringLiteral(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_pasteCurrentNameButton->setIcon(icon);

        horizontalLayout->addWidget(m_pasteCurrentNameButton);


        formLayout->setLayout(1, QFormLayout::FieldRole, horizontalLayout);

        m_titleLabel = new QLabel(NewKeyboardLayoutWidget);
        m_titleLabel->setObjectName(QStringLiteral("m_titleLabel"));

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

        m_titleLineEdit = new KLineEdit(NewKeyboardLayoutWidget);
        m_titleLineEdit->setObjectName(QStringLiteral("m_titleLineEdit"));

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


        verticalLayout->addLayout(formLayout);

#ifndef UI_QT_NO_SHORTCUT
        m_nameLabel->setBuddy(m_nameLineEdit);
        m_titleLabel->setBuddy(m_titleLineEdit);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(m_titleLineEdit, m_nameLineEdit);
        QWidget::setTabOrder(m_nameLineEdit, m_pasteCurrentNameButton);

        retranslateUi(NewKeyboardLayoutWidget);

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

    void retranslateUi(QWidget *NewKeyboardLayoutWidget)
    {
        m_nameLabel->setText(tr2i18n("Name:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_pasteCurrentNameButton->setToolTip(tr2i18n("Paste current system keyboard layout name", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_titleLabel->setText(tr2i18n("Title:", Q_NULLPTR));
        Q_UNUSED(NewKeyboardLayoutWidget);
    } // retranslateUi

};

namespace Ui {
    class NewKeyboardLayoutWidget: public Ui_NewKeyboardLayoutWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // NEWKEYBOARDLAYOUTWIDGET_H

