#include <klocalizedstring.h>

/*
MultiMeterSettingsWidget
*/

/********************************************************************************
** Form generated from reading UI file 'MultiMeterSettingsWidget.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_MULTIMETERSETTINGSWIDGET_H
#define UI_MULTIMETERSETTINGSWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcolorbutton.h"

QT_BEGIN_NAMESPACE

class Ui_MultiMeterSettingsWidget
{
public:
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QLabel *label;
    QLineEdit *m_title;
    QCheckBox *m_showUnit;
    QHBoxLayout *hboxLayout1;
    QCheckBox *m_lowerLimitActive;
    QSpacerItem *spacer;
    QLabel *m_lblLowerLimit;
    QLineEdit *m_lowerLimit;
    QHBoxLayout *hboxLayout2;
    QCheckBox *m_upperLimitActive;
    QSpacerItem *spacerItem;
    QLabel *m_lblUpperLimit;
    QLineEdit *m_upperLimit;
    QGridLayout *gridLayout;
    QLabel *textLabel1_2;
    KColorButton *m_normalDigitColor;
    QLabel *textLabel2_2;
    KColorButton *m_alarmDigitColor;
    QLabel *textLabel3_2;
    KColorButton *m_backgroundColor;
    QSpacerItem *horizontalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QWidget *MultiMeterSettingsWidget)
    {
        if (MultiMeterSettingsWidget->objectName().isEmpty())
            MultiMeterSettingsWidget->setObjectName(QStringLiteral("MultiMeterSettingsWidget"));
        MultiMeterSettingsWidget->resize(456, 244);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(MultiMeterSettingsWidget->sizePolicy().hasHeightForWidth());
        MultiMeterSettingsWidget->setSizePolicy(sizePolicy);
        vboxLayout = new QVBoxLayout(MultiMeterSettingsWidget);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        label = new QLabel(MultiMeterSettingsWidget);
        label->setObjectName(QStringLiteral("label"));

        hboxLayout->addWidget(label);

        m_title = new QLineEdit(MultiMeterSettingsWidget);
        m_title->setObjectName(QStringLiteral("m_title"));

        hboxLayout->addWidget(m_title);

        m_showUnit = new QCheckBox(MultiMeterSettingsWidget);
        m_showUnit->setObjectName(QStringLiteral("m_showUnit"));

        hboxLayout->addWidget(m_showUnit);


        vboxLayout->addLayout(hboxLayout);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
        m_lowerLimitActive = new QCheckBox(MultiMeterSettingsWidget);
        m_lowerLimitActive->setObjectName(QStringLiteral("m_lowerLimitActive"));

        hboxLayout1->addWidget(m_lowerLimitActive);

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

        hboxLayout1->addItem(spacer);

        m_lblLowerLimit = new QLabel(MultiMeterSettingsWidget);
        m_lblLowerLimit->setObjectName(QStringLiteral("m_lblLowerLimit"));
        m_lblLowerLimit->setEnabled(false);
        m_lblLowerLimit->setWordWrap(false);

        hboxLayout1->addWidget(m_lblLowerLimit);

        m_lowerLimit = new QLineEdit(MultiMeterSettingsWidget);
        m_lowerLimit->setObjectName(QStringLiteral("m_lowerLimit"));
        m_lowerLimit->setEnabled(false);
        m_lowerLimit->setMinimumSize(QSize(70, 0));

        hboxLayout1->addWidget(m_lowerLimit);


        vboxLayout->addLayout(hboxLayout1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QStringLiteral("hboxLayout2"));
        m_upperLimitActive = new QCheckBox(MultiMeterSettingsWidget);
        m_upperLimitActive->setObjectName(QStringLiteral("m_upperLimitActive"));

        hboxLayout2->addWidget(m_upperLimitActive);

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

        hboxLayout2->addItem(spacerItem);

        m_lblUpperLimit = new QLabel(MultiMeterSettingsWidget);
        m_lblUpperLimit->setObjectName(QStringLiteral("m_lblUpperLimit"));
        m_lblUpperLimit->setEnabled(false);
        m_lblUpperLimit->setWordWrap(false);

        hboxLayout2->addWidget(m_lblUpperLimit);

        m_upperLimit = new QLineEdit(MultiMeterSettingsWidget);
        m_upperLimit->setObjectName(QStringLiteral("m_upperLimit"));
        m_upperLimit->setEnabled(false);
        m_upperLimit->setMinimumSize(QSize(70, 0));

        hboxLayout2->addWidget(m_upperLimit);


        vboxLayout->addLayout(hboxLayout2);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        textLabel1_2 = new QLabel(MultiMeterSettingsWidget);
        textLabel1_2->setObjectName(QStringLiteral("textLabel1_2"));
        textLabel1_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel1_2->setWordWrap(false);

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

        m_normalDigitColor = new KColorButton(MultiMeterSettingsWidget);
        m_normalDigitColor->setObjectName(QStringLiteral("m_normalDigitColor"));
        m_normalDigitColor->setColor(QColor(0, 0, 0));

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

        textLabel2_2 = new QLabel(MultiMeterSettingsWidget);
        textLabel2_2->setObjectName(QStringLiteral("textLabel2_2"));
        textLabel2_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel2_2->setWordWrap(false);

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

        m_alarmDigitColor = new KColorButton(MultiMeterSettingsWidget);
        m_alarmDigitColor->setObjectName(QStringLiteral("m_alarmDigitColor"));
        m_alarmDigitColor->setColor(QColor(0, 0, 0));

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

        textLabel3_2 = new QLabel(MultiMeterSettingsWidget);
        textLabel3_2->setObjectName(QStringLiteral("textLabel3_2"));
        textLabel3_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel3_2->setWordWrap(false);

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

        m_backgroundColor = new KColorButton(MultiMeterSettingsWidget);
        m_backgroundColor->setObjectName(QStringLiteral("m_backgroundColor"));

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

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

        gridLayout->addItem(horizontalSpacer, 1, 2, 1, 1);


        vboxLayout->addLayout(gridLayout);

        buttonBox = new QDialogButtonBox(MultiMeterSettingsWidget);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        vboxLayout->addWidget(buttonBox);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(m_title);
        m_lblLowerLimit->setBuddy(m_lowerLimit);
        m_lblUpperLimit->setBuddy(m_upperLimit);
        textLabel1_2->setBuddy(m_normalDigitColor);
        textLabel2_2->setBuddy(m_alarmDigitColor);
        textLabel3_2->setBuddy(m_backgroundColor);
#endif // QT_NO_SHORTCUT

        retranslateUi(MultiMeterSettingsWidget);
        QObject::connect(m_upperLimitActive, SIGNAL(toggled(bool)), m_lblUpperLimit, SLOT(setEnabled(bool)));
        QObject::connect(m_lowerLimitActive, SIGNAL(toggled(bool)), m_lblLowerLimit, SLOT(setEnabled(bool)));
        QObject::connect(m_upperLimitActive, SIGNAL(toggled(bool)), m_upperLimit, SLOT(setEnabled(bool)));
        QObject::connect(m_lowerLimitActive, SIGNAL(toggled(bool)), m_lowerLimit, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *MultiMeterSettingsWidget)
    {
        label->setText(tr2i18n("&Title:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        m_title->setWhatsThis(tr2i18n("Enter the title of the display here.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        m_showUnit->setWhatsThis(tr2i18n("Enable this to append the unit to the title of the display.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_showUnit->setText(tr2i18n("&Show unit", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        m_lowerLimitActive->setWhatsThis(tr2i18n("Enable the minimum value alarm.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_lowerLimitActive->setText(tr2i18n("&Enable alarm", Q_NULLPTR));
        m_lblLowerLimit->setText(tr2i18n("&Lower limit:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        m_upperLimitActive->setWhatsThis(tr2i18n("Enable the maximum value alarm.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_upperLimitActive->setText(tr2i18n("E&nable alarm", Q_NULLPTR));
        m_lblUpperLimit->setText(tr2i18n("&Upper limit:", Q_NULLPTR));
        textLabel1_2->setText(tr2i18n("Nor&mal digit color:", Q_NULLPTR));
        m_normalDigitColor->setText(QString());
        textLabel2_2->setText(tr2i18n("Alarm di&git color:", Q_NULLPTR));
        m_alarmDigitColor->setText(QString());
        textLabel3_2->setText(tr2i18n("Bac&kground color:", Q_NULLPTR));
        m_backgroundColor->setText(QString());
        Q_UNUSED(MultiMeterSettingsWidget);
    } // retranslateUi

};

namespace Ui {
    class MultiMeterSettingsWidget: public Ui_MultiMeterSettingsWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // MULTIMETERSETTINGSWIDGET_H

