#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'newkeyboardlayoutwidget.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** 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 <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/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(QString::fromUtf8("NewKeyboardLayoutWidget"));
        NewKeyboardLayoutWidget->resize(256, 78);
        verticalLayout = new QVBoxLayout(NewKeyboardLayoutWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        m_messageWidget = new KMessageWidget(NewKeyboardLayoutWidget);
        m_messageWidget->setObjectName(QString::fromUtf8("m_messageWidget"));

        verticalLayout->addWidget(m_messageWidget);

        formLayout = new QFormLayout();
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        m_nameLabel = new QLabel(NewKeyboardLayoutWidget);
        m_nameLabel->setObjectName(QString::fromUtf8("m_nameLabel"));

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        m_nameLineEdit = new KLineEdit(NewKeyboardLayoutWidget);
        m_nameLineEdit->setObjectName(QString::fromUtf8("m_nameLineEdit"));

        horizontalLayout->addWidget(m_nameLineEdit);

        m_pasteCurrentNameButton = new QToolButton(NewKeyboardLayoutWidget);
        m_pasteCurrentNameButton->setObjectName(QString::fromUtf8("m_pasteCurrentNameButton"));
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("tools-wizard");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8(""), 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(QString::fromUtf8("m_titleLabel"));

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

        m_titleLineEdit = new KLineEdit(NewKeyboardLayoutWidget);
        m_titleLineEdit->setObjectName(QString::fromUtf8("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:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_pasteCurrentNameButton->setToolTip(tr2i18n("Paste current system keyboard layout name", 0));
#endif // QT_NO_TOOLTIP
        m_titleLabel->setText(tr2i18n("Title:", 0));
        Q_UNUSED(NewKeyboardLayoutWidget);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // NEWKEYBOARDLAYOUTWIDGET_H

