#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'LowPassDlg.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_LOWPASSDLG_H
#define UI_LOWPASSDLG_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_LowPassDlg
{
public:
    QGridLayout *gridLayout;
    QSlider *slider;
    QFrame *frame3;
    QSpinBox *spinbox;
    QGridLayout *gridLayout1;
    Kwave::ScaleWidget *scale_db;
    Kwave::FrequencyResponseWidget *freq_response;
    Kwave::ScaleWidget *scale_freq;
    QHBoxLayout *hboxLayout;
    QDialogButtonBox *buttonBox_Help;
    QPushButton *btListen;
    QSpacerItem *spacerItem;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *LowPassDlg)
    {
        if (LowPassDlg->objectName().isEmpty())
            LowPassDlg->setObjectName(QStringLiteral("LowPassDlg"));
        LowPassDlg->resize(464, 359);
        LowPassDlg->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(LowPassDlg);
        gridLayout->setSpacing(10);
        gridLayout->setContentsMargins(10, 10, 10, 10);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        slider = new QSlider(LowPassDlg);
        slider->setObjectName(QStringLiteral("slider"));
        slider->setMaximum(44100);
        slider->setOrientation(Qt::Horizontal);
        slider->setTickInterval(1000);

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

        frame3 = new QFrame(LowPassDlg);
        frame3->setObjectName(QStringLiteral("frame3"));
        frame3->setMinimumSize(QSize(0, 20));
        frame3->setFrameShape(QFrame::HLine);
        frame3->setFrameShadow(QFrame::Sunken);

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

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

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

        gridLayout1 = new QGridLayout();
        gridLayout1->setSpacing(0);
        gridLayout1->setContentsMargins(0, 0, 0, 0);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        scale_db = new Kwave::ScaleWidget(LowPassDlg);
        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(LowPassDlg);
        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(LowPassDlg);
        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);

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

        hboxLayout->addWidget(buttonBox_Help);

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

        hboxLayout->addWidget(btListen);

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

        hboxLayout->addItem(spacerItem);

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

        hboxLayout->addWidget(buttonBox);


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

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

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

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

    void retranslateUi(QDialog *LowPassDlg)
    {
        LowPassDlg->setWindowTitle(tr2i18n("Low Pass", 0));
#ifndef UI_QT_NO_TOOLTIP
        slider->setToolTip(tr2i18n("cutoff frequency", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        slider->setWhatsThis(tr2i18n("<b>cutoff frequency</b>\n"
"Determines the highest audible frequency, higher\n"
"frequencies will be cut off.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        spinbox->setToolTip(tr2i18n("cutoff frequency", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        spinbox->setWhatsThis(tr2i18n("<b>cutoff frequency</b>\n"
"Determines the highest audible frequency, higher\n"
"frequencies will be cut off.", 0));
#endif // QT_NO_WHATSTHIS
        spinbox->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 LowPassDlg: public Ui_LowPassDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // LOWPASSDLG_H

