#include <klocalizedstring.h>

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

#ifndef UI_USERAGENTDLG_H
#define UI_USERAGENTDLG_H

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

QT_BEGIN_NAMESPACE

class Ui_UserAgentUI
{
public:
    QVBoxLayout *vboxLayout;
    QCheckBox *sendUACheckBox;
    QGroupBox *defaultIdGroupBox;
    QVBoxLayout *verticalLayout;
    KSqueezedTextLabel *defaultIdLineEdit;
    QCheckBox *osNameCheckBox;
    QGridLayout *gridLayout;
    QSpacerItem *spacerItem;
    QCheckBox *osVersionCheckBox;
    QCheckBox *processorTypeCheckBox;
    QCheckBox *languageCheckBox;
    QGroupBox *domainPolicyGroupBox;
    QHBoxLayout *hboxLayout;
    QTreeWidget *sitePolicyTreeWidget;
    QVBoxLayout *vboxLayout1;
    QPushButton *newButton;
    QPushButton *changeButton;
    QPushButton *deleteButton;
    QPushButton *deleteAllButton;
    QSpacerItem *spacerItem1;

    void setupUi(QWidget *UserAgentUI)
    {
        if (UserAgentUI->objectName().isEmpty())
            UserAgentUI->setObjectName(QStringLiteral("UserAgentUI"));
        UserAgentUI->resize(613, 512);
        vboxLayout = new QVBoxLayout(UserAgentUI);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        sendUACheckBox = new QCheckBox(UserAgentUI);
        sendUACheckBox->setObjectName(QStringLiteral("sendUACheckBox"));
        sendUACheckBox->setChecked(true);

        vboxLayout->addWidget(sendUACheckBox);

        defaultIdGroupBox = new QGroupBox(UserAgentUI);
        defaultIdGroupBox->setObjectName(QStringLiteral("defaultIdGroupBox"));
        defaultIdGroupBox->setEnabled(true);
        verticalLayout = new QVBoxLayout(defaultIdGroupBox);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        defaultIdLineEdit = new KSqueezedTextLabel(defaultIdGroupBox);
        defaultIdLineEdit->setObjectName(QStringLiteral("defaultIdLineEdit"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        defaultIdLineEdit->setFont(font);
        defaultIdLineEdit->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);

        verticalLayout->addWidget(defaultIdLineEdit);

        osNameCheckBox = new QCheckBox(defaultIdGroupBox);
        osNameCheckBox->setObjectName(QStringLiteral("osNameCheckBox"));

        verticalLayout->addWidget(osNameCheckBox);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        spacerItem = new QSpacerItem(14, 13, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem, 0, 0, 2, 1);

        osVersionCheckBox = new QCheckBox(defaultIdGroupBox);
        osVersionCheckBox->setObjectName(QStringLiteral("osVersionCheckBox"));
        osVersionCheckBox->setEnabled(false);

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

        processorTypeCheckBox = new QCheckBox(defaultIdGroupBox);
        processorTypeCheckBox->setObjectName(QStringLiteral("processorTypeCheckBox"));
        processorTypeCheckBox->setEnabled(false);

        gridLayout->addWidget(processorTypeCheckBox, 1, 1, 1, 1);


        verticalLayout->addLayout(gridLayout);

        languageCheckBox = new QCheckBox(defaultIdGroupBox);
        languageCheckBox->setObjectName(QStringLiteral("languageCheckBox"));

        verticalLayout->addWidget(languageCheckBox);


        vboxLayout->addWidget(defaultIdGroupBox);

        domainPolicyGroupBox = new QGroupBox(UserAgentUI);
        domainPolicyGroupBox->setObjectName(QStringLiteral("domainPolicyGroupBox"));
        domainPolicyGroupBox->setEnabled(true);
        hboxLayout = new QHBoxLayout(domainPolicyGroupBox);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        sitePolicyTreeWidget = new QTreeWidget(domainPolicyGroupBox);
        sitePolicyTreeWidget->setObjectName(QStringLiteral("sitePolicyTreeWidget"));
        sitePolicyTreeWidget->setRootIsDecorated(false);
        sitePolicyTreeWidget->setSortingEnabled(true);

        hboxLayout->addWidget(sitePolicyTreeWidget);

        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setContentsMargins(0, 0, 0, 0);
        vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
        newButton = new QPushButton(domainPolicyGroupBox);
        newButton->setObjectName(QStringLiteral("newButton"));

        vboxLayout1->addWidget(newButton);

        changeButton = new QPushButton(domainPolicyGroupBox);
        changeButton->setObjectName(QStringLiteral("changeButton"));

        vboxLayout1->addWidget(changeButton);

        deleteButton = new QPushButton(domainPolicyGroupBox);
        deleteButton->setObjectName(QStringLiteral("deleteButton"));

        vboxLayout1->addWidget(deleteButton);

        deleteAllButton = new QPushButton(domainPolicyGroupBox);
        deleteAllButton->setObjectName(QStringLiteral("deleteAllButton"));

        vboxLayout1->addWidget(deleteAllButton);

        spacerItem1 = new QSpacerItem(21, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout1->addItem(spacerItem1);


        hboxLayout->addLayout(vboxLayout1);


        vboxLayout->addWidget(domainPolicyGroupBox);


        retranslateUi(UserAgentUI);
        QObject::connect(osNameCheckBox, SIGNAL(toggled(bool)), osVersionCheckBox, SLOT(setEnabled(bool)));
        QObject::connect(sendUACheckBox, SIGNAL(toggled(bool)), defaultIdGroupBox, SLOT(setEnabled(bool)));
        QObject::connect(sendUACheckBox, SIGNAL(toggled(bool)), domainPolicyGroupBox, SLOT(setEnabled(bool)));
        QObject::connect(osNameCheckBox, SIGNAL(toggled(bool)), processorTypeCheckBox, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *UserAgentUI)
    {
#ifndef UI_QT_NO_WHATSTHIS
        UserAgentUI->setWhatsThis(tr2i18n("<qt>\n"
"Here you can modify the default browser-identification text or set a site <code>(eg. www.kde.org)</code> or a domain <code>(eg. kde.org)</code> specific identification text.<p>\n"
"To add a new site-specific identification text, click the <code>New</code> button and supply the necessary information. To change an existing site-specific entry, click on the <code>Change</code> button. The <code>Delete</code> button will remove the selected site-specific identification text, causing the default setting to be used for that site or domain.\n"
"</qt>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        sendUACheckBox->setWhatsThis(tr2i18n("<qt>\n"
"Send the browser identification to web sites.<p>\n"
"<u>NOTE:</u> Many sites rely on this information to display pages properly, hence, it is highly recommended that you do not totally disable this feature but rather customize it.<p>\n"
"By default, only minimal identification information is sent to remote sites. The identification text that will be sent is shown below.\n"
"</qt>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        sendUACheckBox->setText(tr2i18n("&Send identification", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        defaultIdGroupBox->setWhatsThis(tr2i18n("The browser identification text sent to the sites you visit. Use the provided options to customize it.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        defaultIdGroupBox->setTitle(tr2i18n("Default Identification", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        defaultIdLineEdit->setWhatsThis(tr2i18n("The browser identification text sent to the sites you visit. You can customize it using the options provided below.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        defaultIdLineEdit->setText(tr2i18n("KSqueezedTextLabel", "KDE::DoNotExtract"));
#ifndef UI_QT_NO_WHATSTHIS
        osNameCheckBox->setWhatsThis(tr2i18n("Includes your operating system's name in the browser identification text.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        osNameCheckBox->setText(tr2i18n("Add operating s&ystem name", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        osVersionCheckBox->setWhatsThis(tr2i18n("Includes your operating system's version number in the browser identification text.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        osVersionCheckBox->setText(tr2i18n("Add operating system &version", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        processorTypeCheckBox->setWhatsThis(tr2i18n("Includes your machine's CPU type in the browser identification text.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        processorTypeCheckBox->setText(tr2i18n("Add &machine (processor) type", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        languageCheckBox->setWhatsThis(tr2i18n("Includes your language settings in the browser identification text to obtain localized versions of the page.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        languageCheckBox->setText(tr2i18n("Add lang&uage information", Q_NULLPTR));
        domainPolicyGroupBox->setTitle(tr2i18n("Site Specific Identification", Q_NULLPTR));
        QTreeWidgetItem *___qtreewidgetitem = sitePolicyTreeWidget->headerItem();
        ___qtreewidgetitem->setText(2, tr2i18n("User Agent", Q_NULLPTR));
        ___qtreewidgetitem->setText(1, tr2i18n("Identification", Q_NULLPTR));
        ___qtreewidgetitem->setText(0, tr2i18n("Site Name", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        newButton->setWhatsThis(tr2i18n("Add new identification text for a site.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        newButton->setText(tr2i18n("&New...", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        changeButton->setWhatsThis(tr2i18n("Change the selected identifier text.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        changeButton->setText(tr2i18n("Chan&ge...", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        deleteButton->setWhatsThis(tr2i18n("Delete the selected identifier text.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        deleteButton->setText(tr2i18n("D&elete", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        deleteAllButton->setWhatsThis(tr2i18n("Delete all identifiers.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        deleteAllButton->setText(tr2i18n("Delete A&ll", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class UserAgentUI: public Ui_UserAgentUI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // USERAGENTDLG_H

