#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'NewSigDlg.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_NEWSIGDLG_H
#define UI_NEWSIGDLG_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/QRadioButton>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include "KComboBox"

QT_BEGIN_NAMESPACE

class Ui_NewSigDlg
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *GroupBox1_2;
    QGridLayout *gridLayout;
    KComboBox *cbSampleRate;
    QLabel *lblRate;
    QSpacerItem *spacerItem;
    QSpacerItem *spacerItem1;
    QSpacerItem *spacerItem2;
    QHBoxLayout *hboxLayout;
    QLabel *lblSamplesPerSecond;
    QSpacerItem *spacerItem3;
    QLabel *lblChannels;
    QLabel *lblResolution;
    QHBoxLayout *hboxLayout1;
    QLabel *lblBits;
    QSpacerItem *spacerItem4;
    QHBoxLayout *hboxLayout2;
    QLabel *lblTracksVerbose;
    QSpacerItem *spacerItem5;
    QSpinBox *sbChannels;
    QSpinBox *sbResolution;
    QGroupBox *GroupBox1;
    QVBoxLayout *vboxLayout1;
    QGroupBox *Frame3;
    QGridLayout *gridLayout1;
    QRadioButton *rbTime;
    QRadioButton *rbSamples;
    QSpacerItem *spacerItem6;
    QSpinBox *edSamples;
    QLabel *lblSeconds;
    QSpinBox *sbSeconds;
    QSpinBox *sbMinutes;
    QLabel *lblMinutes;
    QSpinBox *sbHours;
    QLabel *lblHours;
    QFrame *Line3;
    QHBoxLayout *hboxLayout3;
    QLabel *lblMaximumSize_2_2;
    QSpacerItem *spacerItem7;
    QLabel *TextLabel2_2;
    QSpacerItem *spacerItem8;
    QLabel *lblMaximumSize_3;
    QSlider *slideLength;
    QHBoxLayout *hboxLayout4;
    QLabel *TextLabel1;
    QSpacerItem *spacerItem9;
    QLabel *TextLabel3;
    QSpacerItem *spacerItem10;
    QLabel *TextLabel2;
    QHBoxLayout *hboxLayout5;
    QSpacerItem *spacerItem11;
    QHBoxLayout *hboxLayout6;
    QLabel *lblFileSize;
    QSpacerItem *spacerItem12;
    QSpacerItem *spacerItem13;
    QHBoxLayout *hboxLayout7;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *NewSigDlg)
    {
        if (NewSigDlg->objectName().isEmpty())
            NewSigDlg->setObjectName(QStringLiteral("NewSigDlg"));
        NewSigDlg->resize(503, 590);
        vboxLayout = new QVBoxLayout(NewSigDlg);
        vboxLayout->setSpacing(10);
        vboxLayout->setContentsMargins(10, 10, 10, 10);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        GroupBox1_2 = new QGroupBox(NewSigDlg);
        GroupBox1_2->setObjectName(QStringLiteral("GroupBox1_2"));
        gridLayout = new QGridLayout(GroupBox1_2);
        gridLayout->setSpacing(10);
        gridLayout->setContentsMargins(10, 10, 10, 10);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        cbSampleRate = new KComboBox(GroupBox1_2);
        cbSampleRate->setObjectName(QStringLiteral("cbSampleRate"));
        cbSampleRate->setEditable(true);

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

        lblRate = new QLabel(GroupBox1_2);
        lblRate->setObjectName(QStringLiteral("lblRate"));
        lblRate->setWordWrap(false);

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

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

        gridLayout->addItem(spacerItem, 1, 1, 1, 1);

        spacerItem1 = new QSpacerItem(20, 21, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem1, 0, 1, 1, 1);

        spacerItem2 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem2, 2, 1, 1, 1);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(10);
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        lblSamplesPerSecond = new QLabel(GroupBox1_2);
        lblSamplesPerSecond->setObjectName(QStringLiteral("lblSamplesPerSecond"));
        lblSamplesPerSecond->setWordWrap(false);

        hboxLayout->addWidget(lblSamplesPerSecond);

        spacerItem3 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem3);


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

        lblChannels = new QLabel(GroupBox1_2);
        lblChannels->setObjectName(QStringLiteral("lblChannels"));
        lblChannels->setWordWrap(false);

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

        lblResolution = new QLabel(GroupBox1_2);
        lblResolution->setObjectName(QStringLiteral("lblResolution"));
        lblResolution->setWordWrap(false);

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

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(10);
        hboxLayout1->setContentsMargins(0, 0, 0, 0);
        hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
        lblBits = new QLabel(GroupBox1_2);
        lblBits->setObjectName(QStringLiteral("lblBits"));
        lblBits->setWordWrap(false);

        hboxLayout1->addWidget(lblBits);

        spacerItem4 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout1->addItem(spacerItem4);


        gridLayout->addLayout(hboxLayout1, 1, 3, 1, 1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(10);
        hboxLayout2->setContentsMargins(0, 0, 0, 0);
        hboxLayout2->setObjectName(QStringLiteral("hboxLayout2"));
        lblTracksVerbose = new QLabel(GroupBox1_2);
        lblTracksVerbose->setObjectName(QStringLiteral("lblTracksVerbose"));
        lblTracksVerbose->setWordWrap(false);

        hboxLayout2->addWidget(lblTracksVerbose);

        spacerItem5 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout2->addItem(spacerItem5);


        gridLayout->addLayout(hboxLayout2, 2, 3, 1, 1);

        sbChannels = new QSpinBox(GroupBox1_2);
        sbChannels->setObjectName(QStringLiteral("sbChannels"));
        sbChannels->setMinimum(1);
        sbChannels->setValue(2);

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

        sbResolution = new QSpinBox(GroupBox1_2);
        sbResolution->setObjectName(QStringLiteral("sbResolution"));
        sbResolution->setMinimum(8);
        sbResolution->setMaximum(24);
        sbResolution->setSingleStep(8);
        sbResolution->setValue(16);

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


        vboxLayout->addWidget(GroupBox1_2);

        GroupBox1 = new QGroupBox(NewSigDlg);
        GroupBox1->setObjectName(QStringLiteral("GroupBox1"));
        vboxLayout1 = new QVBoxLayout(GroupBox1);
        vboxLayout1->setSpacing(10);
        vboxLayout1->setContentsMargins(10, 10, 10, 10);
        vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
        Frame3 = new QGroupBox(GroupBox1);
        Frame3->setObjectName(QStringLiteral("Frame3"));
        gridLayout1 = new QGridLayout(Frame3);
        gridLayout1->setSpacing(10);
        gridLayout1->setContentsMargins(10, 10, 10, 10);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        rbTime = new QRadioButton(Frame3);
        rbTime->setObjectName(QStringLiteral("rbTime"));

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

        rbSamples = new QRadioButton(Frame3);
        rbSamples->setObjectName(QStringLiteral("rbSamples"));

        gridLayout1->addWidget(rbSamples, 3, 0, 1, 1);

        spacerItem6 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout1->addItem(spacerItem6, 2, 2, 1, 1);

        edSamples = new QSpinBox(Frame3);
        edSamples->setObjectName(QStringLiteral("edSamples"));
        edSamples->setEnabled(false);

        gridLayout1->addWidget(edSamples, 3, 1, 1, 3);

        lblSeconds = new QLabel(Frame3);
        lblSeconds->setObjectName(QStringLiteral("lblSeconds"));
        lblSeconds->setWordWrap(false);

        gridLayout1->addWidget(lblSeconds, 0, 3, 1, 1);

        sbSeconds = new QSpinBox(Frame3);
        sbSeconds->setObjectName(QStringLiteral("sbSeconds"));
        sbSeconds->setEnabled(false);
        sbSeconds->setWrapping(true);
        sbSeconds->setMinimum(-1);
        sbSeconds->setMaximum(60);
        sbSeconds->setValue(30);

        gridLayout1->addWidget(sbSeconds, 1, 3, 1, 1);

        sbMinutes = new QSpinBox(Frame3);
        sbMinutes->setObjectName(QStringLiteral("sbMinutes"));
        sbMinutes->setEnabled(false);
        sbMinutes->setWrapping(true);
        sbMinutes->setMinimum(-1);
        sbMinutes->setMaximum(60);
        sbMinutes->setValue(4);

        gridLayout1->addWidget(sbMinutes, 1, 2, 1, 1);

        lblMinutes = new QLabel(Frame3);
        lblMinutes->setObjectName(QStringLiteral("lblMinutes"));
        lblMinutes->setWordWrap(false);

        gridLayout1->addWidget(lblMinutes, 0, 2, 1, 1);

        sbHours = new QSpinBox(Frame3);
        sbHours->setObjectName(QStringLiteral("sbHours"));
        sbHours->setEnabled(false);

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

        lblHours = new QLabel(Frame3);
        lblHours->setObjectName(QStringLiteral("lblHours"));
        lblHours->setWordWrap(false);

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


        vboxLayout1->addWidget(Frame3);

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

        vboxLayout1->addWidget(Line3);

        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setSpacing(10);
        hboxLayout3->setContentsMargins(0, 0, 0, 0);
        hboxLayout3->setObjectName(QStringLiteral("hboxLayout3"));
        lblMaximumSize_2_2 = new QLabel(GroupBox1);
        lblMaximumSize_2_2->setObjectName(QStringLiteral("lblMaximumSize_2_2"));
        lblMaximumSize_2_2->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
        lblMaximumSize_2_2->setWordWrap(false);

        hboxLayout3->addWidget(lblMaximumSize_2_2);

        spacerItem7 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout3->addItem(spacerItem7);

        TextLabel2_2 = new QLabel(GroupBox1);
        TextLabel2_2->setObjectName(QStringLiteral("TextLabel2_2"));
        TextLabel2_2->setAlignment(Qt::AlignCenter);
        TextLabel2_2->setWordWrap(false);

        hboxLayout3->addWidget(TextLabel2_2);

        spacerItem8 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout3->addItem(spacerItem8);

        lblMaximumSize_3 = new QLabel(GroupBox1);
        lblMaximumSize_3->setObjectName(QStringLiteral("lblMaximumSize_3"));
        lblMaximumSize_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        lblMaximumSize_3->setWordWrap(false);

        hboxLayout3->addWidget(lblMaximumSize_3);


        vboxLayout1->addLayout(hboxLayout3);

        slideLength = new QSlider(GroupBox1);
        slideLength->setObjectName(QStringLiteral("slideLength"));
        slideLength->setMinimumSize(QSize(0, 20));
        slideLength->setMinimum(0);
        slideLength->setMaximum(100);
        slideLength->setValue(1);
        slideLength->setOrientation(Qt::Horizontal);
        slideLength->setTickInterval(5);

        vboxLayout1->addWidget(slideLength);

        hboxLayout4 = new QHBoxLayout();
        hboxLayout4->setSpacing(10);
        hboxLayout4->setContentsMargins(0, 0, 0, 0);
        hboxLayout4->setObjectName(QStringLiteral("hboxLayout4"));
        TextLabel1 = new QLabel(GroupBox1);
        TextLabel1->setObjectName(QStringLiteral("TextLabel1"));
        TextLabel1->setWordWrap(false);

        hboxLayout4->addWidget(TextLabel1);

        spacerItem9 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout4->addItem(spacerItem9);

        TextLabel3 = new QLabel(GroupBox1);
        TextLabel3->setObjectName(QStringLiteral("TextLabel3"));
        TextLabel3->setWordWrap(false);

        hboxLayout4->addWidget(TextLabel3);

        spacerItem10 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout4->addItem(spacerItem10);

        TextLabel2 = new QLabel(GroupBox1);
        TextLabel2->setObjectName(QStringLiteral("TextLabel2"));
        TextLabel2->setWordWrap(false);

        hboxLayout4->addWidget(TextLabel2);


        vboxLayout1->addLayout(hboxLayout4);


        vboxLayout->addWidget(GroupBox1);

        hboxLayout5 = new QHBoxLayout();
        hboxLayout5->setSpacing(10);
        hboxLayout5->setContentsMargins(0, 0, 0, 0);
        hboxLayout5->setObjectName(QStringLiteral("hboxLayout5"));
        spacerItem11 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout5->addItem(spacerItem11);

        hboxLayout6 = new QHBoxLayout();
        hboxLayout6->setSpacing(10);
        hboxLayout6->setContentsMargins(0, 0, 0, 0);
        hboxLayout6->setObjectName(QStringLiteral("hboxLayout6"));
        lblFileSize = new QLabel(NewSigDlg);
        lblFileSize->setObjectName(QStringLiteral("lblFileSize"));
        lblFileSize->setWordWrap(false);

        hboxLayout6->addWidget(lblFileSize);


        hboxLayout5->addLayout(hboxLayout6);

        spacerItem12 = new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout5->addItem(spacerItem12);


        vboxLayout->addLayout(hboxLayout5);

        spacerItem13 = new QSpacerItem(0, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacerItem13);

        hboxLayout7 = new QHBoxLayout();
        hboxLayout7->setSpacing(10);
        hboxLayout7->setContentsMargins(0, 0, 0, 0);
        hboxLayout7->setObjectName(QStringLiteral("hboxLayout7"));
        buttonBox = new QDialogButtonBox(NewSigDlg);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);

        hboxLayout7->addWidget(buttonBox);


        vboxLayout->addLayout(hboxLayout7);


        retranslateUi(NewSigDlg);
        QObject::connect(rbTime, SIGNAL(toggled(bool)), lblSeconds, SLOT(setEnabled(bool)));
        QObject::connect(rbTime, SIGNAL(toggled(bool)), lblMinutes, SLOT(setEnabled(bool)));
        QObject::connect(rbTime, SIGNAL(toggled(bool)), lblHours, SLOT(setEnabled(bool)));
        QObject::connect(rbTime, SIGNAL(toggled(bool)), sbSeconds, SLOT(setEnabled(bool)));
        QObject::connect(rbTime, SIGNAL(toggled(bool)), sbMinutes, SLOT(setEnabled(bool)));
        QObject::connect(rbTime, SIGNAL(toggled(bool)), sbHours, SLOT(setEnabled(bool)));
        QObject::connect(rbSamples, SIGNAL(toggled(bool)), edSamples, SLOT(setEnabled(bool)));
        QObject::connect(buttonBox, SIGNAL(rejected()), NewSigDlg, SLOT(reject()));
        QObject::connect(buttonBox, SIGNAL(accepted()), NewSigDlg, SLOT(accept()));

        cbSampleRate->setCurrentIndex(7);


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

    void retranslateUi(QDialog *NewSigDlg)
    {
        NewSigDlg->setWindowTitle(tr2i18n("New Signal", 0));
        GroupBox1_2->setTitle(tr2i18n("Format", 0));
        cbSampleRate->clear();
        cbSampleRate->insertItems(0, QStringList()
         << tr2i18n("8000", 0)
         << tr2i18n("10000", 0)
         << tr2i18n("11025", 0)
         << tr2i18n("12000", 0)
         << tr2i18n("16000", 0)
         << tr2i18n("22050", 0)
         << tr2i18n("32000", 0)
         << tr2i18n("44100", 0)
         << tr2i18n("48000", 0)
         << tr2i18n("96000", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        cbSampleRate->setWhatsThis(tr2i18n("<b>Sample rate</b><br>Here you can select one of the predefined well-known sample rates or you can enter any sample rate on your own.", 0));
#endif // QT_NO_WHATSTHIS
        lblRate->setText(tr2i18n("Sample rate:", 0));
        lblSamplesPerSecond->setText(tr2i18n("Samples per second", 0));
        lblChannels->setText(tr2i18n("Tracks:", 0));
        lblResolution->setText(tr2i18n("Resolution:", 0));
        lblBits->setText(tr2i18n("Bit", 0));
        lblTracksVerbose->setText(tr2i18n("%1", 0));
#ifndef UI_QT_NO_WHATSTHIS
        sbChannels->setWhatsThis(tr2i18n("<b>Number of Tracks</b><br>Select a number of tracks of the new signal. If you are not sure now, you can add or delete tracks later in the program.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        sbResolution->setWhatsThis(tr2i18n("<b>Resolution</b><br>Select a resolution in bits in which the file will be saved. However, Kwave always uses 24 bits as its own internal resolution to give the best results when processing the audio data.", 0));
#endif // QT_NO_WHATSTHIS
        GroupBox1->setTitle(tr2i18n("Length", 0));
        Frame3->setTitle(QString());
#ifndef UI_QT_NO_TOOLTIP
        rbTime->setToolTip(tr2i18n("Select this to set the length of the file by time", 0));
#endif // QT_NO_TOOLTIP
        rbTime->setText(tr2i18n("Time", 0));
#ifndef UI_QT_NO_TOOLTIP
        rbSamples->setToolTip(tr2i18n("Select this to enter the number of samples directly", 0));
#endif // QT_NO_TOOLTIP
        rbSamples->setText(tr2i18n("Samples", 0));
        lblSeconds->setText(tr2i18n("Seconds", 0));
        lblMinutes->setText(tr2i18n("Minutes", 0));
        lblHours->setText(tr2i18n("Hours", 0));
        lblMaximumSize_2_2->setText(tr2i18n("Minimum", 0));
        TextLabel2_2->setText(tr2i18n("(File Size)", 0));
        lblMaximumSize_3->setText(tr2i18n("Maximum", 0));
#ifndef UI_QT_NO_TOOLTIP
        slideLength->setToolTip(tr2i18n("Sets the file size by the percentage of the possible maximum", 0));
#endif // QT_NO_TOOLTIP
        TextLabel1->setText(tr2i18n("0%", 0));
        TextLabel3->setText(tr2i18n("50%", 0));
        TextLabel2->setText(tr2i18n("100%", 0));
        lblFileSize->setText(tr2i18n("%1", 0));
    } // retranslateUi

};

namespace Ui {
    class NewSigDlg: public Ui_NewSigDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // NEWSIGDLG_H

