#include <klocalizedstring.h>

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

#ifndef UI_BWPREFPAGE_H
#define UI_BWPREFPAGE_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/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcolorbutton.h"

QT_BEGIN_NAMESPACE

class Ui_BWPrefPage
{
public:
    QVBoxLayout *verticalLayout_2;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout;
    QCheckBox *kcfg_screensaverLimits;
    QHBoxLayout *horizontalLayout;
    QGridLayout *gridLayout_2;
    QLabel *label;
    QSpinBox *kcfg_screensaverUploadLimit;
    QLabel *label_6;
    QSpinBox *kcfg_screensaverDownloadLimit;
    QSpacerItem *horizontalSpacer;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *label_2;
    KColorButton *kcfg_scheduleBackgroundColor;
    QLabel *label_3;
    KColorButton *kcfg_scheduleLineColor;
    QLabel *label_4;
    KColorButton *kcfg_itemColor;
    QLabel *label_5;
    KColorButton *kcfg_suspendedColor;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *BWPrefPage)
    {
        if (BWPrefPage->objectName().isEmpty())
            BWPrefPage->setObjectName(QStringLiteral("BWPrefPage"));
        BWPrefPage->resize(473, 385);
        verticalLayout_2 = new QVBoxLayout(BWPrefPage);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        groupBox_2 = new QGroupBox(BWPrefPage);
        groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
        verticalLayout = new QVBoxLayout(groupBox_2);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        kcfg_screensaverLimits = new QCheckBox(groupBox_2);
        kcfg_screensaverLimits->setObjectName(QStringLiteral("kcfg_screensaverLimits"));

        verticalLayout->addWidget(kcfg_screensaverLimits);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        label = new QLabel(groupBox_2);
        label->setObjectName(QStringLiteral("label"));

        gridLayout_2->addWidget(label, 0, 0, 1, 1);

        kcfg_screensaverUploadLimit = new QSpinBox(groupBox_2);
        kcfg_screensaverUploadLimit->setObjectName(QStringLiteral("kcfg_screensaverUploadLimit"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kcfg_screensaverUploadLimit->sizePolicy().hasHeightForWidth());
        kcfg_screensaverUploadLimit->setSizePolicy(sizePolicy);
        kcfg_screensaverUploadLimit->setMaximum(100000000);

        gridLayout_2->addWidget(kcfg_screensaverUploadLimit, 0, 1, 1, 1);

        label_6 = new QLabel(groupBox_2);
        label_6->setObjectName(QStringLiteral("label_6"));

        gridLayout_2->addWidget(label_6, 1, 0, 1, 1);

        kcfg_screensaverDownloadLimit = new QSpinBox(groupBox_2);
        kcfg_screensaverDownloadLimit->setObjectName(QStringLiteral("kcfg_screensaverDownloadLimit"));
        sizePolicy.setHeightForWidth(kcfg_screensaverDownloadLimit->sizePolicy().hasHeightForWidth());
        kcfg_screensaverDownloadLimit->setSizePolicy(sizePolicy);
        kcfg_screensaverDownloadLimit->setMaximum(100000000);

        gridLayout_2->addWidget(kcfg_screensaverDownloadLimit, 1, 1, 1, 1);


        horizontalLayout->addLayout(gridLayout_2);

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

        horizontalLayout->addItem(horizontalSpacer);


        verticalLayout->addLayout(horizontalLayout);


        verticalLayout_2->addWidget(groupBox_2);

        groupBox = new QGroupBox(BWPrefPage);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        label_2 = new QLabel(groupBox);
        label_2->setObjectName(QStringLiteral("label_2"));

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

        kcfg_scheduleBackgroundColor = new KColorButton(groupBox);
        kcfg_scheduleBackgroundColor->setObjectName(QStringLiteral("kcfg_scheduleBackgroundColor"));

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

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QStringLiteral("label_3"));

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

        kcfg_scheduleLineColor = new KColorButton(groupBox);
        kcfg_scheduleLineColor->setObjectName(QStringLiteral("kcfg_scheduleLineColor"));

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

        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QStringLiteral("label_4"));

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

        kcfg_itemColor = new KColorButton(groupBox);
        kcfg_itemColor->setObjectName(QStringLiteral("kcfg_itemColor"));

        gridLayout->addWidget(kcfg_itemColor, 2, 1, 1, 1);

        label_5 = new QLabel(groupBox);
        label_5->setObjectName(QStringLiteral("label_5"));

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

        kcfg_suspendedColor = new KColorButton(groupBox);
        kcfg_suspendedColor->setObjectName(QStringLiteral("kcfg_suspendedColor"));

        gridLayout->addWidget(kcfg_suspendedColor, 3, 1, 1, 1);


        verticalLayout_2->addWidget(groupBox);

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

        verticalLayout_2->addItem(verticalSpacer);


        retranslateUi(BWPrefPage);
        QObject::connect(kcfg_screensaverLimits, SIGNAL(toggled(bool)), kcfg_screensaverUploadLimit, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_screensaverLimits, SIGNAL(toggled(bool)), kcfg_screensaverDownloadLimit, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *BWPrefPage)
    {
        groupBox_2->setTitle(tr2i18n("Special Limits", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_screensaverLimits->setToolTip(tr2i18n("Use these global limits when the screensaver is activated, instead of the ones configured in the network settings.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        kcfg_screensaverLimits->setText(tr2i18n("Use different speed limits when the screensaver is activated", Q_NULLPTR));
        label->setText(tr2i18n("Maximum upload speed:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_screensaverUploadLimit->setToolTip(tr2i18n("Global upload limit when the screensaver is activated.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        kcfg_screensaverUploadLimit->setSpecialValueText(tr2i18n("No limit", Q_NULLPTR));
        kcfg_screensaverUploadLimit->setSuffix(tr2i18n(" KiB/s", Q_NULLPTR));
        label_6->setText(tr2i18n("Maximum download speed:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_screensaverDownloadLimit->setToolTip(tr2i18n("Global download limit when the screensaver is activated.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        kcfg_screensaverDownloadLimit->setSpecialValueText(tr2i18n("No limit", Q_NULLPTR));
        kcfg_screensaverDownloadLimit->setSuffix(tr2i18n(" KiB/s", Q_NULLPTR));
        groupBox->setTitle(tr2i18n("Colors", Q_NULLPTR));
        label_2->setText(tr2i18n("Schedule background color:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_scheduleBackgroundColor->setToolTip(tr2i18n("Color of the schedule background.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label_3->setText(tr2i18n("Schedule line color:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_scheduleLineColor->setToolTip(tr2i18n("Color of all lines on the schedule.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label_4->setText(tr2i18n("Schedule Item color:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_itemColor->setToolTip(tr2i18n("Color of each normal item on the schedule.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label_5->setText(tr2i18n("Suspended schedule item color:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        kcfg_suspendedColor->setToolTip(tr2i18n("Color of each suspended item on the schedule.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        Q_UNUSED(BWPrefPage);
    } // retranslateUi

};

namespace Ui {
    class BWPrefPage: public Ui_BWPrefPage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // BWPREFPAGE_H

