#include <klocalizedstring.h>

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

#ifndef UI_PITCHSHIFTDLG_H
#define UI_PITCHSHIFTDLG_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/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include "libgui/InvertableSpinBox.h"

QT_BEGIN_NAMESPACE

class Ui_PitchShiftDlg
{
public:
    QGridLayout *gridLayout;
    QFrame *Line1;
    QHBoxLayout *hboxLayout;
    QDialogButtonBox *btHelp;
    QPushButton *btListen;
    QSpacerItem *spacerItem;
    QDialogButtonBox *buttonBox;
    QLabel *textLabel1;
    QSlider *slFrequency;
    QLabel *textLabel2;
    QSpinBox *sbFrequency;
    QSlider *slSpeed;
    Kwave::InvertableSpinBox *sbSpeed;
    QGroupBox *buttonGroup3;
    QVBoxLayout *vboxLayout;
    QRadioButton *rbPercentage;
    QRadioButton *rbFactor;

    void setupUi(QDialog *PitchShiftDlg)
    {
        if (PitchShiftDlg->objectName().isEmpty())
            PitchShiftDlg->setObjectName(QStringLiteral("PitchShiftDlg"));
        PitchShiftDlg->resize(605, 240);
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(PitchShiftDlg->sizePolicy().hasHeightForWidth());
        PitchShiftDlg->setSizePolicy(sizePolicy);
        PitchShiftDlg->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(PitchShiftDlg);
        gridLayout->setSpacing(10);
        gridLayout->setContentsMargins(10, 10, 10, 10);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        Line1 = new QFrame(PitchShiftDlg);
        Line1->setObjectName(QStringLiteral("Line1"));
        Line1->setMinimumSize(QSize(0, 20));
        Line1->setFrameShape(QFrame::HLine);
        Line1->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(Line1, 3, 0, 1, 3);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(10);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        btHelp = new QDialogButtonBox(PitchShiftDlg);
        btHelp->setObjectName(QStringLiteral("btHelp"));
        btHelp->setStandardButtons(QDialogButtonBox::Help);

        hboxLayout->addWidget(btHelp);

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

        hboxLayout->addWidget(btListen);

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

        hboxLayout->addItem(spacerItem);

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

        hboxLayout->addWidget(buttonBox);


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

        textLabel1 = new QLabel(PitchShiftDlg);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setWordWrap(false);

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

        slFrequency = new QSlider(PitchShiftDlg);
        slFrequency->setObjectName(QStringLiteral("slFrequency"));
        slFrequency->setMinimum(2);
        slFrequency->setMaximum(10);
        slFrequency->setPageStep(1);
        slFrequency->setValue(5);
        slFrequency->setOrientation(Qt::Horizontal);
        slFrequency->setTickInterval(1);

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

        textLabel2 = new QLabel(PitchShiftDlg);
        textLabel2->setObjectName(QStringLiteral("textLabel2"));
        textLabel2->setWordWrap(false);

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

        sbFrequency = new QSpinBox(PitchShiftDlg);
        sbFrequency->setObjectName(QStringLiteral("sbFrequency"));
        sbFrequency->setMinimum(2);
        sbFrequency->setMaximum(10);
        sbFrequency->setValue(5);

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

        slSpeed = new QSlider(PitchShiftDlg);
        slSpeed->setObjectName(QStringLiteral("slSpeed"));
        slSpeed->setMinimumSize(QSize(400, 0));
        slSpeed->setMinimum(1);
        slSpeed->setMaximum(400);
        slSpeed->setValue(100);
        slSpeed->setOrientation(Qt::Horizontal);
        slSpeed->setTickInterval(50);

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

        sbSpeed = new Kwave::InvertableSpinBox(PitchShiftDlg);
        sbSpeed->setObjectName(QStringLiteral("sbSpeed"));

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

        buttonGroup3 = new QGroupBox(PitchShiftDlg);
        buttonGroup3->setObjectName(QStringLiteral("buttonGroup3"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(buttonGroup3->sizePolicy().hasHeightForWidth());
        buttonGroup3->setSizePolicy(sizePolicy1);
        vboxLayout = new QVBoxLayout(buttonGroup3);
        vboxLayout->setSpacing(10);
        vboxLayout->setContentsMargins(10, 10, 10, 10);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        rbPercentage = new QRadioButton(buttonGroup3);
        rbPercentage->setObjectName(QStringLiteral("rbPercentage"));
        rbPercentage->setChecked(true);

        vboxLayout->addWidget(rbPercentage);

        rbFactor = new QRadioButton(buttonGroup3);
        rbFactor->setObjectName(QStringLiteral("rbFactor"));

        vboxLayout->addWidget(rbFactor);


        gridLayout->addWidget(buttonGroup3, 0, 0, 1, 3);

        QWidget::setTabOrder(slSpeed, sbFrequency);
        QWidget::setTabOrder(sbFrequency, slFrequency);
        QWidget::setTabOrder(slFrequency, btListen);
        QWidget::setTabOrder(btListen, rbPercentage);

        retranslateUi(PitchShiftDlg);
        QObject::connect(sbFrequency, SIGNAL(valueChanged(int)), slFrequency, SLOT(setValue(int)));
        QObject::connect(slFrequency, SIGNAL(valueChanged(int)), sbFrequency, SLOT(setValue(int)));
        QObject::connect(buttonBox, SIGNAL(rejected()), PitchShiftDlg, SLOT(reject()));
        QObject::connect(buttonBox, SIGNAL(accepted()), PitchShiftDlg, SLOT(accept()));

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

    void retranslateUi(QDialog *PitchShiftDlg)
    {
        PitchShiftDlg->setWindowTitle(tr2i18n("Pitch Shift", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        btListen->setToolTip(tr2i18n("start/stop pre-listening", Q_NULLPTR));
#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.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        btListen->setText(tr2i18n("&Listen", Q_NULLPTR));
        textLabel1->setText(tr2i18n("Frequency:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        slFrequency->setToolTip(tr2i18n("chopper frequency", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        slFrequency->setWhatsThis(tr2i18n("<b>chopper frequency</b><br>This setting determines how small the pieces of audio data are before they get processed by the pitch shift. If your audio data sounds interrupted, you might get better result with higher values.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        textLabel2->setText(tr2i18n("Speed:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        sbFrequency->setToolTip(tr2i18n("chopper frequency", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        sbFrequency->setWhatsThis(tr2i18n("<b>chopper frequency</b><br>This setting determines how small the pieces of audio data are before they get processed by the pitch shift. If your audio data sounds interrupted, you might get better result with higher values.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        sbFrequency->setSuffix(tr2i18n(" Hz", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        slSpeed->setToolTip(tr2i18n("Speed", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        sbSpeed->setToolTip(tr2i18n("Speed", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        buttonGroup3->setTitle(tr2i18n("Mode", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        rbPercentage->setToolTip(tr2i18n("change speed by percentage", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        rbPercentage->setWhatsThis(tr2i18n("Sets the speed to a relative percentage of the original speed.\n"
"For example: \"50 %\", \"75%\" or \"125%\"", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        rbPercentage->setText(tr2i18n("by Percentage", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        rbFactor->setToolTip(tr2i18n("change speed by a factor", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        rbFactor->setWhatsThis(tr2i18n("Increments or decrements the speed by a factor.\n"
"For example: \"x1\", \"x2\", \"/ 4\"", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        rbFactor->setText(tr2i18n("by Factor", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class PitchShiftDlg: public Ui_PitchShiftDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PITCHSHIFTDLG_H

