#include <klocalizedstring.h>

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

#ifndef UI_KEYBOARDLAYOUTEDITOR_H
#define UI_KEYBOARDLAYOUTEDITOR_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QScrollArea>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <kmessagewidget.h>
#include "editor/keyboardlayouteditorview.h"
#include "editor/keyboardlayoutpropertieswidget.h"

QT_BEGIN_NAMESPACE

class Ui_KeyboardLayoutEditor
{
public:
    QVBoxLayout *verticalLayout;
    KMessageWidget *m_messageWidget;
    QHBoxLayout *horizontalLayout_2;
    QToolButton *m_newKeyToolButton;
    QToolButton *m_newSpecialKeyToolButton;
    QToolButton *m_deleteKeyToolButton;
    QFrame *line;
    QToolButton *m_zoomOutToolButton;
    QSlider *m_zoomSlider;
    QLabel *m_zoomFactorLabel;
    QToolButton *m_zoomInToolButton;
    QSpacerItem *m_horizontalSpacer;
    QScrollArea *m_scrollArea;
    KeyboardLayoutEditorView *m_view;
    KeyboardLayoutPropertiesWidget *m_propertiesWidget;

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

        verticalLayout->addWidget(m_messageWidget);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        m_newKeyToolButton = new QToolButton(KeyboardLayoutEditor);
        m_newKeyToolButton->setObjectName(QStringLiteral("m_newKeyToolButton"));
        QIcon icon;
        QString iconThemeName = QStringLiteral("list-add");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QStringLiteral(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_newKeyToolButton->setIcon(icon);
        m_newKeyToolButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
        m_newKeyToolButton->setAutoRaise(true);

        horizontalLayout_2->addWidget(m_newKeyToolButton);

        m_newSpecialKeyToolButton = new QToolButton(KeyboardLayoutEditor);
        m_newSpecialKeyToolButton->setObjectName(QStringLiteral("m_newSpecialKeyToolButton"));
        m_newSpecialKeyToolButton->setIcon(icon);
        m_newSpecialKeyToolButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
        m_newSpecialKeyToolButton->setAutoRaise(true);

        horizontalLayout_2->addWidget(m_newSpecialKeyToolButton);

        m_deleteKeyToolButton = new QToolButton(KeyboardLayoutEditor);
        m_deleteKeyToolButton->setObjectName(QStringLiteral("m_deleteKeyToolButton"));
        m_deleteKeyToolButton->setEnabled(false);
        QIcon icon1;
        iconThemeName = QStringLiteral("edit-delete");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QStringLiteral(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_deleteKeyToolButton->setIcon(icon1);
        m_deleteKeyToolButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
        m_deleteKeyToolButton->setAutoRaise(true);

        horizontalLayout_2->addWidget(m_deleteKeyToolButton);

        line = new QFrame(KeyboardLayoutEditor);
        line->setObjectName(QStringLiteral("line"));
        line->setFrameShape(QFrame::VLine);
        line->setFrameShadow(QFrame::Sunken);

        horizontalLayout_2->addWidget(line);

        m_zoomOutToolButton = new QToolButton(KeyboardLayoutEditor);
        m_zoomOutToolButton->setObjectName(QStringLiteral("m_zoomOutToolButton"));
        QIcon icon2;
        iconThemeName = QStringLiteral("zoom-out");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon2 = QIcon::fromTheme(iconThemeName);
        } else {
            icon2.addFile(QStringLiteral(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_zoomOutToolButton->setIcon(icon2);
        m_zoomOutToolButton->setAutoRaise(true);

        horizontalLayout_2->addWidget(m_zoomOutToolButton);

        m_zoomSlider = new QSlider(KeyboardLayoutEditor);
        m_zoomSlider->setObjectName(QStringLiteral("m_zoomSlider"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_zoomSlider->sizePolicy().hasHeightForWidth());
        m_zoomSlider->setSizePolicy(sizePolicy);
        m_zoomSlider->setMinimumSize(QSize(100, 0));
        m_zoomSlider->setMinimum(-4);
        m_zoomSlider->setMaximum(4);
        m_zoomSlider->setPageStep(1);
        m_zoomSlider->setOrientation(Qt::Horizontal);

        horizontalLayout_2->addWidget(m_zoomSlider);

        m_zoomFactorLabel = new QLabel(KeyboardLayoutEditor);
        m_zoomFactorLabel->setObjectName(QStringLiteral("m_zoomFactorLabel"));

        horizontalLayout_2->addWidget(m_zoomFactorLabel);

        m_zoomInToolButton = new QToolButton(KeyboardLayoutEditor);
        m_zoomInToolButton->setObjectName(QStringLiteral("m_zoomInToolButton"));
        QIcon icon3;
        iconThemeName = QStringLiteral("zoom-in");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon3 = QIcon::fromTheme(iconThemeName);
        } else {
            icon3.addFile(QStringLiteral(""), QSize(), QIcon::Normal, QIcon::Off);
        }
        m_zoomInToolButton->setIcon(icon3);
        m_zoomInToolButton->setAutoRaise(true);

        horizontalLayout_2->addWidget(m_zoomInToolButton);

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

        horizontalLayout_2->addItem(m_horizontalSpacer);


        verticalLayout->addLayout(horizontalLayout_2);

        m_scrollArea = new QScrollArea(KeyboardLayoutEditor);
        m_scrollArea->setObjectName(QStringLiteral("m_scrollArea"));
        m_scrollArea->setFrameShape(QFrame::NoFrame);
        m_view = new KeyboardLayoutEditorView();
        m_view->setObjectName(QStringLiteral("m_view"));
        m_view->setGeometry(QRect(0, 0, 517, 287));
        m_scrollArea->setWidget(m_view);

        verticalLayout->addWidget(m_scrollArea);

        m_propertiesWidget = new KeyboardLayoutPropertiesWidget(KeyboardLayoutEditor);
        m_propertiesWidget->setObjectName(QStringLiteral("m_propertiesWidget"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(m_propertiesWidget->sizePolicy().hasHeightForWidth());
        m_propertiesWidget->setSizePolicy(sizePolicy1);

        verticalLayout->addWidget(m_propertiesWidget);

        QWidget::setTabOrder(m_newKeyToolButton, m_newSpecialKeyToolButton);
        QWidget::setTabOrder(m_newSpecialKeyToolButton, m_deleteKeyToolButton);
        QWidget::setTabOrder(m_deleteKeyToolButton, m_zoomOutToolButton);
        QWidget::setTabOrder(m_zoomOutToolButton, m_zoomSlider);
        QWidget::setTabOrder(m_zoomSlider, m_zoomInToolButton);

        retranslateUi(KeyboardLayoutEditor);

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

    void retranslateUi(QWidget *KeyboardLayoutEditor)
    {
#ifndef UI_QT_NO_TOOLTIP
        m_newKeyToolButton->setToolTip(tr2i18n("Create new normal key", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_newKeyToolButton->setText(tr2i18n("Normal Key", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_newSpecialKeyToolButton->setToolTip(tr2i18n("Create new special key", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_newSpecialKeyToolButton->setText(tr2i18n("Special Key", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_deleteKeyToolButton->setToolTip(tr2i18n("Delete selected key", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_deleteKeyToolButton->setText(tr2i18n("Delete", Q_NULLPTR));
        m_zoomFactorLabel->setText(tr2i18n("100%", Q_NULLPTR));
        Q_UNUSED(KeyboardLayoutEditor);
    } // retranslateUi

};

namespace Ui {
    class KeyboardLayoutEditor: public Ui_KeyboardLayoutEditor {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEYBOARDLAYOUTEDITOR_H

