#include <kdialog.h>
#include <klocale.h>

/*
MultiMeterSettingsWidget
*/

/********************************************************************************
** Form generated from reading UI file 'MultiMeterSettingsWidget.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** 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 <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <klineedit.h>
#include "kcolorbutton.h"

QT_BEGIN_NAMESPACE

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

    void setupUi(QWidget *MultiMeterSettingsWidget)
    {
        if (MultiMeterSettingsWidget->objectName().isEmpty())
            MultiMeterSettingsWidget->setObjectName(QString::fromUtf8("MultiMeterSettingsWidget"));
        MultiMeterSettingsWidget->resize(352, 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(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        label = new QLabel(MultiMeterSettingsWidget);
        label->setObjectName(QString::fromUtf8("label"));

        hboxLayout->addWidget(label);

        m_title = new KLineEdit(MultiMeterSettingsWidget);
        m_title->setObjectName(QString::fromUtf8("m_title"));

        hboxLayout->addWidget(m_title);

        m_showUnit = new QCheckBox(MultiMeterSettingsWidget);
        m_showUnit->setObjectName(QString::fromUtf8("m_showUnit"));

        hboxLayout->addWidget(m_showUnit);


        vboxLayout->addLayout(hboxLayout);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        m_lowerLimitActive = new QCheckBox(MultiMeterSettingsWidget);
        m_lowerLimitActive->setObjectName(QString::fromUtf8("m_lowerLimitActive"));

        hboxLayout1->addWidget(m_lowerLimitActive);

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

        hboxLayout1->addItem(spacerItem);

        m_lblLowerLimit = new QLabel(MultiMeterSettingsWidget);
        m_lblLowerLimit->setObjectName(QString::fromUtf8("m_lblLowerLimit"));
        m_lblLowerLimit->setEnabled(false);
        m_lblLowerLimit->setWordWrap(false);

        hboxLayout1->addWidget(m_lblLowerLimit);

        m_lowerLimit = new KLineEdit(MultiMeterSettingsWidget);
        m_lowerLimit->setObjectName(QString::fromUtf8("m_lowerLimit"));
        m_lowerLimit->setEnabled(false);
        m_lowerLimit->setMinimumSize(QSize(70, 0));

        hboxLayout1->addWidget(m_lowerLimit);


        vboxLayout->addLayout(hboxLayout1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        m_upperLimitActive = new QCheckBox(MultiMeterSettingsWidget);
        m_upperLimitActive->setObjectName(QString::fromUtf8("m_upperLimitActive"));

        hboxLayout2->addWidget(m_upperLimitActive);

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

        hboxLayout2->addItem(spacerItem1);

        m_lblUpperLimit = new QLabel(MultiMeterSettingsWidget);
        m_lblUpperLimit->setObjectName(QString::fromUtf8("m_lblUpperLimit"));
        m_lblUpperLimit->setEnabled(false);
        m_lblUpperLimit->setWordWrap(false);

        hboxLayout2->addWidget(m_lblUpperLimit);

        m_upperLimit = new KLineEdit(MultiMeterSettingsWidget);
        m_upperLimit->setObjectName(QString::fromUtf8("m_upperLimit"));
        m_upperLimit->setEnabled(false);
        m_upperLimit->setMinimumSize(QSize(70, 0));

        hboxLayout2->addWidget(m_upperLimit);


        vboxLayout->addLayout(hboxLayout2);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel1_2 = new QLabel(MultiMeterSettingsWidget);
        textLabel1_2->setObjectName(QString::fromUtf8("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(QString::fromUtf8("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(QString::fromUtf8("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(QString::fromUtf8("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(QString::fromUtf8("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(QString::fromUtf8("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);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(m_title);
        m_lblLowerLimit->setBuddy(m_lowerLimit);
        m_lblUpperLimit->setBuddy(m_upperLimit);
#endif // QT_NO_SHORTCUT

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

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

    void retranslateUi(QWidget *MultiMeterSettingsWidget)
    {
        label->setText(tr2i18n("&Title:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_title->setWhatsThis(tr2i18n("Enter the title of the display here.", 0));
#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.", 0));
#endif // QT_NO_WHATSTHIS
        m_showUnit->setText(tr2i18n("&Show unit", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_lowerLimitActive->setWhatsThis(tr2i18n("Enable the minimum value alarm.", 0));
#endif // QT_NO_WHATSTHIS
        m_lowerLimitActive->setText(tr2i18n("&Enable alarm", 0));
        m_lblLowerLimit->setText(tr2i18n("Lo&wer limit:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_upperLimitActive->setWhatsThis(tr2i18n("Enable the maximum value alarm.", 0));
#endif // QT_NO_WHATSTHIS
        m_upperLimitActive->setText(tr2i18n("E&nable alarm", 0));
        m_lblUpperLimit->setText(tr2i18n("&Upper limit:", 0));
        textLabel1_2->setText(tr2i18n("Normal digit color:", 0));
        m_normalDigitColor->setText(QString());
        textLabel2_2->setText(tr2i18n("Alarm digit color:", 0));
        m_alarmDigitColor->setText(QString());
        textLabel3_2->setText(tr2i18n("Background color:", 0));
        m_backgroundColor->setText(QString());
        Q_UNUSED(MultiMeterSettingsWidget);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // MULTIMETERSETTINGSWIDGET_H

