#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'NotchFilterDlg.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_NOTCHFILTERDLG_H
#define UI_NOTCHFILTERDLG_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/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <libgui/ScaleWidget.h>
#include "libgui/FrequencyResponseWidget.h"
#include "libgui/ScaleWidget.h"

QT_BEGIN_NAMESPACE

class Ui_NotchFilterDlg
{
public:
    QGridLayout *gridLayout;
    QGridLayout *gridLayout1;
    Kwave::ScaleWidget *scale_db;
    Kwave::FrequencyResponseWidget *freq_response;
    Kwave::ScaleWidget *scale_freq;
    QSpinBox *spinbox;
    QSlider *slider;
    QSlider *slider_2;
    QSpinBox *spinbox_2;
    QFrame *frame3;
    QHBoxLayout *hboxLayout;
    QDialogButtonBox *buttonHelp;
    QPushButton *btListen;
    QSpacerItem *spacerItem;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *NotchFilterDlg)
    {
        if (NotchFilterDlg->objectName().isEmpty())
            NotchFilterDlg->setObjectName(QStringLiteral("NotchFilterDlg"));
        NotchFilterDlg->resize(557, 388);
        NotchFilterDlg->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(NotchFilterDlg);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout1 = new QGridLayout();
        gridLayout1->setSpacing(0);
        gridLayout1->setContentsMargins(0, 0, 0, 0);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        scale_db = new Kwave::ScaleWidget(NotchFilterDlg);
        scale_db->setObjectName(QStringLiteral("scale_db"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(scale_db->sizePolicy().hasHeightForWidth());
        scale_db->setSizePolicy(sizePolicy);
        scale_db->setMinimumSize(QSize(30, 0));

        gridLayout1->addWidget(scale_db, 0, 0, 1, 1);

        freq_response = new Kwave::FrequencyResponseWidget(NotchFilterDlg);
        freq_response->setObjectName(QStringLiteral("freq_response"));
        freq_response->setMinimumSize(QSize(400, 200));

        gridLayout1->addWidget(freq_response, 0, 1, 1, 1);

        scale_freq = new Kwave::ScaleWidget(NotchFilterDlg);
        scale_freq->setObjectName(QStringLiteral("scale_freq"));
        QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(scale_freq->sizePolicy().hasHeightForWidth());
        scale_freq->setSizePolicy(sizePolicy1);
        scale_freq->setMinimumSize(QSize(0, 30));

        gridLayout1->addWidget(scale_freq, 1, 1, 1, 1);


        gridLayout->addLayout(gridLayout1, 0, 0, 1, 2);

        spinbox = new QSpinBox(NotchFilterDlg);
        spinbox->setObjectName(QStringLiteral("spinbox"));
        spinbox->setValue(99);
        spinbox->setProperty("maxValue", QVariant(99999));

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

        slider = new QSlider(NotchFilterDlg);
        slider->setObjectName(QStringLiteral("slider"));
        slider->setMaximum(44100);
        slider->setOrientation(Qt::Horizontal);
        slider->setTickInterval(2000);

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

        slider_2 = new QSlider(NotchFilterDlg);
        slider_2->setObjectName(QStringLiteral("slider_2"));
        slider_2->setMinimum(10);
        slider_2->setMaximum(44100);
        slider_2->setOrientation(Qt::Horizontal);
        slider_2->setTickInterval(2000);

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

        spinbox_2 = new QSpinBox(NotchFilterDlg);
        spinbox_2->setObjectName(QStringLiteral("spinbox_2"));
        spinbox_2->setValue(99);
        spinbox_2->setProperty("maxValue", QVariant(99999));

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

        frame3 = new QFrame(NotchFilterDlg);
        frame3->setObjectName(QStringLiteral("frame3"));
        frame3->setMinimumSize(QSize(0, 20));
        frame3->setFrameShape(QFrame::NoFrame);
        frame3->setFrameShadow(QFrame::Plain);

        gridLayout->addWidget(frame3, 3, 0, 1, 2);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        buttonHelp = new QDialogButtonBox(NotchFilterDlg);
        buttonHelp->setObjectName(QStringLiteral("buttonHelp"));
        buttonHelp->setStandardButtons(QDialogButtonBox::Help);

        hboxLayout->addWidget(buttonHelp);

        btListen = new QPushButton(NotchFilterDlg);
        btListen->setObjectName(QStringLiteral("btListen"));
        btListen->setCheckable(true);

        hboxLayout->addWidget(btListen);

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

        hboxLayout->addItem(spacerItem);

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

        hboxLayout->addWidget(buttonBox);


        gridLayout->addLayout(hboxLayout, 4, 0, 1, 2);


        retranslateUi(NotchFilterDlg);
        QObject::connect(spinbox, SIGNAL(valueChanged(int)), slider, SLOT(setValue(int)));
        QObject::connect(slider, SIGNAL(valueChanged(int)), spinbox, SLOT(setValue(int)));
        QObject::connect(slider_2, SIGNAL(valueChanged(int)), spinbox_2, SLOT(setValue(int)));
        QObject::connect(spinbox_2, SIGNAL(valueChanged(int)), slider_2, SLOT(setValue(int)));
        QObject::connect(buttonBox, SIGNAL(rejected()), NotchFilterDlg, SLOT(reject()));
        QObject::connect(buttonBox, SIGNAL(accepted()), NotchFilterDlg, SLOT(accept()));

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

    void retranslateUi(QDialog *NotchFilterDlg)
    {
        NotchFilterDlg->setWindowTitle(tr2i18n("Notch Filter", 0));
#ifndef UI_QT_NO_TOOLTIP
        spinbox->setToolTip(tr2i18n("center frequency", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        spinbox->setWhatsThis(tr2i18n("<b>center frequency</b>\n"
"Determines the center of the frequency range that\n"
"should be removed.", 0));
#endif // QT_NO_WHATSTHIS
        spinbox->setSuffix(tr2i18n(" Hz", 0));
#ifndef UI_QT_NO_TOOLTIP
        slider->setToolTip(tr2i18n("center frequency", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        slider->setWhatsThis(tr2i18n("<b>center frequency</b>\n"
"Determines the center of the frequency range that\n"
"should be removed.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        slider_2->setToolTip(tr2i18n("bandwidth", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        slider_2->setWhatsThis(tr2i18n("<b>bandwidth</b>\n"
"Determines the width of the frequency range that\n"
"should be removed.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        spinbox_2->setToolTip(tr2i18n("bandwidth", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        spinbox_2->setWhatsThis(tr2i18n("<b>bandwidth</b>\n"
"Determines the width of the frequency range that\n"
"should be removed.", 0));
#endif // QT_NO_WHATSTHIS
        spinbox_2->setSuffix(tr2i18n(" Hz", 0));
#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 NotchFilterDlg: public Ui_NotchFilterDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // NOTCHFILTERDLG_H

