#include <klocalizedstring.h>

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

#ifndef UI_QUICKBUTTONS_CONFIGUI_H
#define UI_QUICKBUTTONS_CONFIGUI_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTreeWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_QuickButtons_ConfigUI
{
public:
    QGridLayout *gridLayout;
    QGroupBox *groupBox3;
    QHBoxLayout *hboxLayout;
    QLabel *placeholderHelpLabel;
    QTreeWidget *buttonListView;
    QVBoxLayout *vboxLayout;
    QPushButton *newButton;
    QPushButton *removeButton;
    QSpacerItem *spacer1;
    QFormLayout *formLayout;
    QLabel *nameLabel;
    KLineEdit *nameInput;
    QLabel *actionLabel;
    KLineEdit *actionInput;
    QCheckBox *kcfg_ShowQuickButtonsInContextMenu;

    void setupUi(QWidget *QuickButtons_ConfigUI)
    {
        if (QuickButtons_ConfigUI->objectName().isEmpty())
            QuickButtons_ConfigUI->setObjectName(QStringLiteral("QuickButtons_ConfigUI"));
        QuickButtons_ConfigUI->resize(485, 302);
        gridLayout = new QGridLayout(QuickButtons_ConfigUI);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        groupBox3 = new QGroupBox(QuickButtons_ConfigUI);
        groupBox3->setObjectName(QStringLiteral("groupBox3"));
        groupBox3->setFlat(false);
        hboxLayout = new QHBoxLayout(groupBox3);
        hboxLayout->setSpacing(6);
        hboxLayout->setContentsMargins(11, 11, 11, 11);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        hboxLayout->setContentsMargins(-1, 4, -1, -1);
        placeholderHelpLabel = new QLabel(groupBox3);
        placeholderHelpLabel->setObjectName(QStringLiteral("placeholderHelpLabel"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(placeholderHelpLabel->sizePolicy().hasHeightForWidth());
        placeholderHelpLabel->setSizePolicy(sizePolicy);
        placeholderHelpLabel->setTextFormat(Qt::PlainText);
        placeholderHelpLabel->setWordWrap(false);

        hboxLayout->addWidget(placeholderHelpLabel);


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

        buttonListView = new QTreeWidget(QuickButtons_ConfigUI);
        buttonListView->setObjectName(QStringLiteral("buttonListView"));
        buttonListView->setDragEnabled(true);
        buttonListView->setDragDropMode(QAbstractItemView::InternalMove);
        buttonListView->setRootIsDecorated(false);
        buttonListView->setAllColumnsShowFocus(true);

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

        vboxLayout = new QVBoxLayout();
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        newButton = new QPushButton(QuickButtons_ConfigUI);
        newButton->setObjectName(QStringLiteral("newButton"));

        vboxLayout->addWidget(newButton);

        removeButton = new QPushButton(QuickButtons_ConfigUI);
        removeButton->setObjectName(QStringLiteral("removeButton"));

        vboxLayout->addWidget(removeButton);

        spacer1 = new QSpacerItem(20, 230, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacer1);


        gridLayout->addLayout(vboxLayout, 0, 1, 4, 1);

        formLayout = new QFormLayout();
        formLayout->setSpacing(6);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        nameLabel = new QLabel(QuickButtons_ConfigUI);
        nameLabel->setObjectName(QStringLiteral("nameLabel"));
        nameLabel->setEnabled(false);
        nameLabel->setWordWrap(false);

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

        nameInput = new KLineEdit(QuickButtons_ConfigUI);
        nameInput->setObjectName(QStringLiteral("nameInput"));
        nameInput->setEnabled(false);
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(nameInput->sizePolicy().hasHeightForWidth());
        nameInput->setSizePolicy(sizePolicy1);

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

        actionLabel = new QLabel(QuickButtons_ConfigUI);
        actionLabel->setObjectName(QStringLiteral("actionLabel"));
        actionLabel->setEnabled(false);
        actionLabel->setWordWrap(false);

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

        actionInput = new KLineEdit(QuickButtons_ConfigUI);
        actionInput->setObjectName(QStringLiteral("actionInput"));
        actionInput->setEnabled(false);
        sizePolicy1.setHeightForWidth(actionInput->sizePolicy().hasHeightForWidth());
        actionInput->setSizePolicy(sizePolicy1);

        formLayout->setWidget(1, QFormLayout::FieldRole, actionInput);


        gridLayout->addLayout(formLayout, 1, 0, 1, 1);

        kcfg_ShowQuickButtonsInContextMenu = new QCheckBox(QuickButtons_ConfigUI);
        kcfg_ShowQuickButtonsInContextMenu->setObjectName(QStringLiteral("kcfg_ShowQuickButtonsInContextMenu"));

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

        QWidget::setTabOrder(buttonListView, newButton);
        QWidget::setTabOrder(newButton, removeButton);
        QWidget::setTabOrder(removeButton, nameInput);
        QWidget::setTabOrder(nameInput, actionInput);
        QWidget::setTabOrder(actionInput, kcfg_ShowQuickButtonsInContextMenu);

        retranslateUi(QuickButtons_ConfigUI);

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

    void retranslateUi(QWidget *QuickButtons_ConfigUI)
    {
        groupBox3->setTitle(tr2i18n("Available Placeholders", 0));
        placeholderHelpLabel->setText(tr2i18n("%c: Current channel\n"
"%i: Input box contents\n"
"%k: Channel key\n"
"%K: Server password\n"
"%n: Send command directly to the server instead of your input box\n"
"%o: Current nickname\n"
"%s<term>%: term used to separate nicknames in %u\n"
"%u: List of selected nicknames", 0));
        QTreeWidgetItem *___qtreewidgetitem = buttonListView->headerItem();
        ___qtreewidgetitem->setText(1, tr2i18n("Button Action", 0));
        ___qtreewidgetitem->setText(0, tr2i18n("Button Name", 0));
        newButton->setText(tr2i18n("New", 0));
        removeButton->setText(tr2i18n("Remove", 0));
        nameLabel->setText(tr2i18n("Button name:", 0));
        actionLabel->setText(tr2i18n("Button action:", 0));
        kcfg_ShowQuickButtonsInContextMenu->setText(tr2i18n("Show quick buttons that operate on nicknames in nickname context menus", 0));
        Q_UNUSED(QuickButtons_ConfigUI);
    } // retranslateUi

};

namespace Ui {
    class QuickButtons_ConfigUI: public Ui_QuickButtons_ConfigUI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // QUICKBUTTONS_CONFIGUI_H

