#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'ikwsopts_ui.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_IKWSOPTS_UI_H
#define UI_IKWSOPTS_UI_H

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

QT_BEGIN_NAMESPACE

class Ui_FilterOptionsUI
{
public:
    QGridLayout *gridLayout;
    QCheckBox *cbEnableShortcuts;
    QCheckBox *cbUseSelectedShortcutsOnly;
    KLineEdit *searchLineEdit;
    QTreeView *lvSearchProviders;
    QVBoxLayout *verticalLayout;
    QPushButton *pbNew;
    QPushButton *pbChange;
    QPushButton *pbDelete;
    QSpacerItem *verticalSpacer;
    QFormLayout *formLayout;
    QLabel *lbDefaultEngine;
    KComboBox *cmbDefaultEngine;
    QLabel *lbDelimiter;
    KComboBox *cmbDelimiter;

    void setupUi(QWidget *FilterOptionsUI)
    {
        if (FilterOptionsUI->objectName().isEmpty())
            FilterOptionsUI->setObjectName(QStringLiteral("FilterOptionsUI"));
        FilterOptionsUI->resize(475, 404);
        gridLayout = new QGridLayout(FilterOptionsUI);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        cbEnableShortcuts = new QCheckBox(FilterOptionsUI);
        cbEnableShortcuts->setObjectName(QStringLiteral("cbEnableShortcuts"));

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

        cbUseSelectedShortcutsOnly = new QCheckBox(FilterOptionsUI);
        cbUseSelectedShortcutsOnly->setObjectName(QStringLiteral("cbUseSelectedShortcutsOnly"));
        cbUseSelectedShortcutsOnly->setEnabled(false);

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

        searchLineEdit = new KLineEdit(FilterOptionsUI);
        searchLineEdit->setObjectName(QStringLiteral("searchLineEdit"));
        searchLineEdit->setProperty("showClearButton", QVariant(true));

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

        lvSearchProviders = new QTreeView(FilterOptionsUI);
        lvSearchProviders->setObjectName(QStringLiteral("lvSearchProviders"));
        lvSearchProviders->setRootIsDecorated(false);
        lvSearchProviders->setUniformRowHeights(true);
        lvSearchProviders->setItemsExpandable(false);
        lvSearchProviders->setSortingEnabled(true);
        lvSearchProviders->setAllColumnsShowFocus(true);
        lvSearchProviders->setHeaderHidden(false);

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

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        pbNew = new QPushButton(FilterOptionsUI);
        pbNew->setObjectName(QStringLiteral("pbNew"));

        verticalLayout->addWidget(pbNew);

        pbChange = new QPushButton(FilterOptionsUI);
        pbChange->setObjectName(QStringLiteral("pbChange"));
        pbChange->setEnabled(false);

        verticalLayout->addWidget(pbChange);

        pbDelete = new QPushButton(FilterOptionsUI);
        pbDelete->setObjectName(QStringLiteral("pbDelete"));
        pbDelete->setEnabled(false);

        verticalLayout->addWidget(pbDelete);

        verticalSpacer = new QSpacerItem(20, 158, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);


        gridLayout->addLayout(verticalLayout, 3, 1, 1, 1);

        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        lbDefaultEngine = new QLabel(FilterOptionsUI);
        lbDefaultEngine->setObjectName(QStringLiteral("lbDefaultEngine"));
        lbDefaultEngine->setEnabled(true);
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lbDefaultEngine->sizePolicy().hasHeightForWidth());
        lbDefaultEngine->setSizePolicy(sizePolicy);
        lbDefaultEngine->setWordWrap(false);

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

        cmbDefaultEngine = new KComboBox(FilterOptionsUI);
        cmbDefaultEngine->setObjectName(QStringLiteral("cmbDefaultEngine"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(cmbDefaultEngine->sizePolicy().hasHeightForWidth());
        cmbDefaultEngine->setSizePolicy(sizePolicy1);
        cmbDefaultEngine->setMinimumSize(QSize(67, 0));
        cmbDefaultEngine->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLengthWithIcon);

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

        lbDelimiter = new QLabel(FilterOptionsUI);
        lbDelimiter->setObjectName(QStringLiteral("lbDelimiter"));
        sizePolicy.setHeightForWidth(lbDelimiter->sizePolicy().hasHeightForWidth());
        lbDelimiter->setSizePolicy(sizePolicy);
        lbDelimiter->setWordWrap(false);

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

        cmbDelimiter = new KComboBox(FilterOptionsUI);
        cmbDelimiter->setObjectName(QStringLiteral("cmbDelimiter"));
        sizePolicy1.setHeightForWidth(cmbDelimiter->sizePolicy().hasHeightForWidth());
        cmbDelimiter->setSizePolicy(sizePolicy1);

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


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

#ifndef UI_QT_NO_SHORTCUT
        lbDefaultEngine->setBuddy(cmbDefaultEngine);
        lbDelimiter->setBuddy(cmbDelimiter);
#endif // QT_NO_SHORTCUT

        retranslateUi(FilterOptionsUI);
        QObject::connect(cbEnableShortcuts, SIGNAL(toggled(bool)), cbUseSelectedShortcutsOnly, SLOT(setEnabled(bool)));
        QObject::connect(cbEnableShortcuts, SIGNAL(toggled(bool)), lvSearchProviders, SLOT(setEnabled(bool)));
        QObject::connect(cbEnableShortcuts, SIGNAL(toggled(bool)), pbNew, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *FilterOptionsUI)
    {
#ifndef UI_QT_NO_TOOLTIP
        cbEnableShortcuts->setToolTip(tr2i18n("<html><head/><body><p>Enable or disable web shortcuts. </p><p>Web shortcuts allow you to quickly access or search for information located online or on your hard drive. </p><p>KDE comes with many predefined Web shortcuts. One such Web shortcut is the Google (TM) search shortcut. To use it, you simply type the keyword 'gg' followed by the keyword delimiter and the search term, e.g. <span style=\" font-weight:600;\">gg:KDE</span>.</p></body></html>", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        cbEnableShortcuts->setText(tr2i18n("&Enable Web shortcuts", Q_NULLPTR));
        cbUseSelectedShortcutsOnly->setText(tr2i18n("&Use preferred shortcuts only", Q_NULLPTR));
        searchLineEdit->setPlaceholderText(tr2i18n("Search for shortcut", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        pbNew->setToolTip(tr2i18n("Add a new Web shortcut", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        pbNew->setText(tr2i18n("&New...", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        pbChange->setToolTip(tr2i18n("Modify the highlighted Web shortcut", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        pbChange->setText(tr2i18n("Chan&ge...", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        pbDelete->setToolTip(tr2i18n("Delete the highlighted Web shortcut", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        pbDelete->setText(tr2i18n("De&lete", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        lbDefaultEngine->setWhatsThis(tr2i18n("<qt>\n"
"Select the search engine to use for input boxes that provide automatic lookup services when you type in normal words and phrases instead of a URL. To disable this feature select <b>None</b> from the list.\n"
"</qt>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lbDefaultEngine->setText(tr2i18n("Default Web &shortcut:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        cmbDefaultEngine->setWhatsThis(tr2i18n("<html><head/><body><p>Select a default web shortcut. </p><p>This allows applications to automatically convert the typed word or phrase to web shortcut queries when they cannot be filtered into a proper URL. </p><p>To disable this functionality select <span style=\" font-weight:600;\">None</span> from the list. </p></body></html>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        lbDelimiter->setWhatsThis(tr2i18n("Choose the delimiter that separates the keyword from the phrase or word to be searched.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lbDelimiter->setText(tr2i18n("&Keyword delimiter:", Q_NULLPTR));
        cmbDelimiter->clear();
        cmbDelimiter->insertItems(0, QStringList()
         << tr2i18n("Colon", "Colon as keyword delimiter")
         << tr2i18n("Space", "Space as keyword delimiter")
        );
#ifndef UI_QT_NO_TOOLTIP
        cmbDelimiter->setToolTip(tr2i18n("Choose a delimiter to mark the Web shortcut keyword.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        Q_UNUSED(FilterOptionsUI);
    } // retranslateUi

};

namespace Ui {
    class FilterOptionsUI: public Ui_FilterOptionsUI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // IKWSOPTS_UI_H

