#include <klocalizedstring.h>

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

#ifndef UI_NOISEDLG_H
#define UI_NOISEDLG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include "libgui/ImageView.h"
#include "libgui/InvertableSpinBox.h"

QT_BEGIN_NAMESPACE

class Ui_NoiseDlg
{
public:
    QVBoxLayout *verticalLayout_3;
    QGridLayout *gridLayout;
    QVBoxLayout *verticalLayout_2;
    QGroupBox *ButtonGroup1;
    QVBoxLayout *verticalLayout;
    QRadioButton *rbPercentage;
    QRadioButton *rbLogarithmic;
    QSpacerItem *spacer;
    Kwave::ImageView *preview;
    Kwave::InvertableSpinBox *spinbox;
    QSlider *slider;
    QFrame *Line1;
    QHBoxLayout *horizontalLayout;
    QDialogButtonBox *buttonBox_Help;
    QPushButton *btListen;
    QSpacerItem *spacer_2;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *NoiseDlg)
    {
        if (NoiseDlg->objectName().isEmpty())
            NoiseDlg->setObjectName(QStringLiteral("NoiseDlg"));
        NoiseDlg->setWindowModality(Qt::ApplicationModal);
        NoiseDlg->resize(583, 292);
        verticalLayout_3 = new QVBoxLayout(NoiseDlg);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        ButtonGroup1 = new QGroupBox(NoiseDlg);
        ButtonGroup1->setObjectName(QStringLiteral("ButtonGroup1"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(ButtonGroup1->sizePolicy().hasHeightForWidth());
        ButtonGroup1->setSizePolicy(sizePolicy);
        verticalLayout = new QVBoxLayout(ButtonGroup1);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        verticalLayout->setContentsMargins(10, 10, 10, -1);
        rbPercentage = new QRadioButton(ButtonGroup1);
        rbPercentage->setObjectName(QStringLiteral("rbPercentage"));
        sizePolicy.setHeightForWidth(rbPercentage->sizePolicy().hasHeightForWidth());
        rbPercentage->setSizePolicy(sizePolicy);
        rbPercentage->setChecked(true);

        verticalLayout->addWidget(rbPercentage);

        rbLogarithmic = new QRadioButton(ButtonGroup1);
        rbLogarithmic->setObjectName(QStringLiteral("rbLogarithmic"));
        sizePolicy.setHeightForWidth(rbLogarithmic->sizePolicy().hasHeightForWidth());
        rbLogarithmic->setSizePolicy(sizePolicy);
        rbLogarithmic->setChecked(false);

        verticalLayout->addWidget(rbLogarithmic);


        verticalLayout_2->addWidget(ButtonGroup1);

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

        verticalLayout_2->addItem(spacer);


        gridLayout->addLayout(verticalLayout_2, 0, 0, 1, 1);

        preview = new Kwave::ImageView(NoiseDlg);
        preview->setObjectName(QStringLiteral("preview"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(100);
        sizePolicy1.setVerticalStretch(100);
        sizePolicy1.setHeightForWidth(preview->sizePolicy().hasHeightForWidth());
        preview->setSizePolicy(sizePolicy1);
        preview->setMinimumSize(QSize(400, 150));

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

        spinbox = new Kwave::InvertableSpinBox(NoiseDlg);
        spinbox->setObjectName(QStringLiteral("spinbox"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(spinbox->sizePolicy().hasHeightForWidth());
        spinbox->setSizePolicy(sizePolicy2);
        spinbox->setMinimumSize(QSize(40, 30));

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

        slider = new QSlider(NoiseDlg);
        slider->setObjectName(QStringLiteral("slider"));
        QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Minimum);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(slider->sizePolicy().hasHeightForWidth());
        slider->setSizePolicy(sizePolicy3);
        slider->setMaximum(42);
        slider->setPageStep(6);
        slider->setValue(0);
        slider->setOrientation(Qt::Horizontal);
        slider->setInvertedAppearance(true);
        slider->setInvertedControls(true);
        slider->setTickPosition(QSlider::TicksBothSides);
        slider->setTickInterval(6);

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


        verticalLayout_3->addLayout(gridLayout);

        Line1 = new QFrame(NoiseDlg);
        Line1->setObjectName(QStringLiteral("Line1"));
        QSizePolicy sizePolicy4(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(Line1->sizePolicy().hasHeightForWidth());
        Line1->setSizePolicy(sizePolicy4);
        Line1->setMinimumSize(QSize(0, 20));
        Line1->setFrameShape(QFrame::HLine);
        Line1->setFrameShadow(QFrame::Sunken);

        verticalLayout_3->addWidget(Line1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        buttonBox_Help = new QDialogButtonBox(NoiseDlg);
        buttonBox_Help->setObjectName(QStringLiteral("buttonBox_Help"));
        QSizePolicy sizePolicy5(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy5.setHorizontalStretch(0);
        sizePolicy5.setVerticalStretch(0);
        sizePolicy5.setHeightForWidth(buttonBox_Help->sizePolicy().hasHeightForWidth());
        buttonBox_Help->setSizePolicy(sizePolicy5);
        buttonBox_Help->setStandardButtons(QDialogButtonBox::Help);

        horizontalLayout->addWidget(buttonBox_Help);

        btListen = new QPushButton(NoiseDlg);
        btListen->setObjectName(QStringLiteral("btListen"));
        sizePolicy5.setHeightForWidth(btListen->sizePolicy().hasHeightForWidth());
        btListen->setSizePolicy(sizePolicy5);
        btListen->setCheckable(true);

        horizontalLayout->addWidget(btListen);

        spacer_2 = new QSpacerItem(218, 27, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(spacer_2);

        buttonBox = new QDialogButtonBox(NoiseDlg);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        sizePolicy.setHeightForWidth(buttonBox->sizePolicy().hasHeightForWidth());
        buttonBox->setSizePolicy(sizePolicy);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        horizontalLayout->addWidget(buttonBox);


        verticalLayout_3->addLayout(horizontalLayout);

        QWidget::setTabOrder(buttonBox, buttonBox_Help);
        QWidget::setTabOrder(buttonBox_Help, btListen);
        QWidget::setTabOrder(btListen, rbPercentage);
        QWidget::setTabOrder(rbPercentage, rbLogarithmic);
        QWidget::setTabOrder(rbLogarithmic, slider);

        retranslateUi(NoiseDlg);
        QObject::connect(buttonBox, SIGNAL(accepted()), NoiseDlg, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), NoiseDlg, SLOT(reject()));

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

    void retranslateUi(QDialog *NoiseDlg)
    {
        NoiseDlg->setWindowTitle(tr2i18n("Add Noise", 0));
        ButtonGroup1->setTitle(tr2i18n("Mode", 0));
#ifndef UI_QT_NO_TOOLTIP
        rbPercentage->setToolTip(tr2i18n("add a noise level by percentage", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        rbPercentage->setWhatsThis(tr2i18n("Adds a noise level given as a percentage relative to the maximum volume level.\n"
"For example: \"1 %\", \"15%\" or \"100%\"", 0));
#endif // QT_NO_WHATSTHIS
        rbPercentage->setText(tr2i18n("&Percentage", 0));
#ifndef UI_QT_NO_TOOLTIP
        rbLogarithmic->setToolTip(tr2i18n("add a noise level in dB", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        rbLogarithmic->setWhatsThis(tr2i18n("adds a noise level in logarithmic scale (decibel).\n"
"For example: \"-3 dB\", \"- 6 dB\".", 0));
#endif // QT_NO_WHATSTHIS
        rbLogarithmic->setText(tr2i18n("&Logarithmic", 0));
#ifndef UI_QT_NO_TOOLTIP
        spinbox->setToolTip(tr2i18n("Volume", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        slider->setToolTip(tr2i18n("Noise Level", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        btListen->setToolTip(tr2i18n("start/stop pre-listening", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        btListen->setWhatsThis(tr2i18n("Start or stop the pre-listening of the current settings. If pre-listening is enabled, you will nearly immediately hear any change in the selected parameters.", 0));
#endif // QT_NO_WHATSTHIS
        btListen->setText(tr2i18n("&Listen", 0));
    } // retranslateUi

};

namespace Ui {
    class NoiseDlg: public Ui_NoiseDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // NOISEDLG_H

