#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'BandPassDlg.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_BANDPASSDLG_H
#define UI_BANDPASSDLG_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_BandPassDlg
{
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 *buttonBox_Help;
    QPushButton *btListen;
    QSpacerItem *Horizontal_Spacing2;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *BandPassDlg)
    {
        if (BandPassDlg->objectName().isEmpty())
            BandPassDlg->setObjectName(QStringLiteral("BandPassDlg"));
        BandPassDlg->resize(555, 380);
        BandPassDlg->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(BandPassDlg);
        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(BandPassDlg);
        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(BandPassDlg);
        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(BandPassDlg);
        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(BandPassDlg);
        spinbox->setObjectName(QStringLiteral("spinbox"));
        spinbox->setValue(99);
        spinbox->setProperty("maxValue", QVariant(99999));

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

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

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

        slider_2 = new QSlider(BandPassDlg);
        slider_2->setObjectName(QStringLiteral("slider_2"));
        slider_2->setMinimum(1);
        slider_2->setMaximum(1400);
        slider_2->setOrientation(Qt::Horizontal);
        slider_2->setTickInterval(100);

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

        spinbox_2 = new QSpinBox(BandPassDlg);
        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(BandPassDlg);
        frame3->setObjectName(QStringLiteral("frame3"));
        frame3->setMinimumSize(QSize(0, 20));
        frame3->setFrameShape(QFrame::HLine);
        frame3->setFrameShadow(QFrame::Sunken);

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

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

        hboxLayout->addWidget(buttonBox_Help);

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

        hboxLayout->addWidget(btListen);

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

        hboxLayout->addItem(Horizontal_Spacing2);

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

        hboxLayout->addWidget(buttonBox);


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

        QWidget::setTabOrder(spinbox, slider);
        QWidget::setTabOrder(slider, spinbox_2);
        QWidget::setTabOrder(spinbox_2, slider_2);
        QWidget::setTabOrder(slider_2, buttonBox_Help);
        QWidget::setTabOrder(buttonBox_Help, btListen);
        QWidget::setTabOrder(btListen, buttonBox);

        retranslateUi(BandPassDlg);
        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(accepted()), BandPassDlg, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), BandPassDlg, SLOT(reject()));

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

    void retranslateUi(QDialog *BandPassDlg)
    {
        BandPassDlg->setWindowTitle(tr2i18n("Band Pass", 0));
        spinbox->setSuffix(tr2i18n(" Hz", 0));
        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 BandPassDlg: public Ui_BandPassDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // BANDPASSDLG_H

