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

#ifndef UI_PREFERENCES_H
#define UI_PREFERENCES_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpinBox>

QT_BEGIN_NAMESPACE

class Ui_PreferencesClass
{
public:
    QGridLayout *gridLayout;
    QSpinBox *spinVelocity;
    QSpinBox *spinInChan;
    QLabel *lblOutChan;
    QSpinBox *spinBaseOctave;
    QLabel *lblNumKeys;
    QLabel *lblVelocity;
    QLabel *lblInChan;
    QDialogButtonBox *buttonBox;
    QLabel *lblBaseOctave;
    QSpinBox *spinOutChan;
    QSpinBox *spinNumKeys;
    QLabel *lblStartingKey;
    QComboBox *comboNotes;

    void setupUi(QDialog *PreferencesClass)
    {
        if (PreferencesClass->objectName().isEmpty())
            PreferencesClass->setObjectName("PreferencesClass");
        PreferencesClass->resize(270, 213);
        gridLayout = new QGridLayout(PreferencesClass);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName("gridLayout");
        spinVelocity = new QSpinBox(PreferencesClass);
        spinVelocity->setObjectName("spinVelocity");
        spinVelocity->setMaximum(127);
        spinVelocity->setValue(100);

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

        spinInChan = new QSpinBox(PreferencesClass);
        spinInChan->setObjectName("spinInChan");
        spinInChan->setMaximum(15);

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

        lblOutChan = new QLabel(PreferencesClass);
        lblOutChan->setObjectName("lblOutChan");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lblOutChan->sizePolicy().hasHeightForWidth());
        lblOutChan->setSizePolicy(sizePolicy);

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

        spinBaseOctave = new QSpinBox(PreferencesClass);
        spinBaseOctave->setObjectName("spinBaseOctave");
        spinBaseOctave->setMinimum(0);
        spinBaseOctave->setMaximum(9);

        gridLayout->addWidget(spinBaseOctave, 3, 2, 1, 1);

        lblNumKeys = new QLabel(PreferencesClass);
        lblNumKeys->setObjectName("lblNumKeys");
        sizePolicy.setHeightForWidth(lblNumKeys->sizePolicy().hasHeightForWidth());
        lblNumKeys->setSizePolicy(sizePolicy);

        gridLayout->addWidget(lblNumKeys, 4, 0, 1, 2);

        lblVelocity = new QLabel(PreferencesClass);
        lblVelocity->setObjectName("lblVelocity");
        sizePolicy.setHeightForWidth(lblVelocity->sizePolicy().hasHeightForWidth());
        lblVelocity->setSizePolicy(sizePolicy);

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

        lblInChan = new QLabel(PreferencesClass);
        lblInChan->setObjectName("lblInChan");
        sizePolicy.setHeightForWidth(lblInChan->sizePolicy().hasHeightForWidth());
        lblInChan->setSizePolicy(sizePolicy);

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

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

        gridLayout->addWidget(buttonBox, 6, 0, 1, 4);

        lblBaseOctave = new QLabel(PreferencesClass);
        lblBaseOctave->setObjectName("lblBaseOctave");
        sizePolicy.setHeightForWidth(lblBaseOctave->sizePolicy().hasHeightForWidth());
        lblBaseOctave->setSizePolicy(sizePolicy);

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

        spinOutChan = new QSpinBox(PreferencesClass);
        spinOutChan->setObjectName("spinOutChan");
        spinOutChan->setMaximum(15);

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

        spinNumKeys = new QSpinBox(PreferencesClass);
        spinNumKeys->setObjectName("spinNumKeys");
        spinNumKeys->setMinimum(12);
        spinNumKeys->setMaximum(120);
        spinNumKeys->setValue(88);

        gridLayout->addWidget(spinNumKeys, 4, 2, 1, 1);

        lblStartingKey = new QLabel(PreferencesClass);
        lblStartingKey->setObjectName("lblStartingKey");
        sizePolicy.setHeightForWidth(lblStartingKey->sizePolicy().hasHeightForWidth());
        lblStartingKey->setSizePolicy(sizePolicy);

        gridLayout->addWidget(lblStartingKey, 5, 0, 1, 1);

        comboNotes = new QComboBox(PreferencesClass);
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->addItem(QString());
        comboNotes->setObjectName("comboNotes");
        comboNotes->setMaxVisibleItems(12);

        gridLayout->addWidget(comboNotes, 5, 2, 1, 1);

#if QT_CONFIG(shortcut)
        lblOutChan->setBuddy(spinOutChan);
        lblNumKeys->setBuddy(spinNumKeys);
        lblVelocity->setBuddy(spinVelocity);
        lblInChan->setBuddy(spinInChan);
        lblBaseOctave->setBuddy(spinBaseOctave);
        lblStartingKey->setBuddy(comboNotes);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(spinInChan, spinOutChan);
        QWidget::setTabOrder(spinOutChan, spinVelocity);
        QWidget::setTabOrder(spinVelocity, spinBaseOctave);
        QWidget::setTabOrder(spinBaseOctave, spinNumKeys);
        QWidget::setTabOrder(spinNumKeys, comboNotes);
        QWidget::setTabOrder(comboNotes, buttonBox);

        retranslateUi(PreferencesClass);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, PreferencesClass, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, PreferencesClass, qOverload<>(&QDialog::reject));

        comboNotes->setCurrentIndex(5);


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

    void retranslateUi(QDialog *PreferencesClass)
    {
        PreferencesClass->setWindowTitle(QCoreApplication::translate("PreferencesClass", "Preferences", nullptr));
        lblOutChan->setText(QCoreApplication::translate("PreferencesClass", "Output Channel", nullptr));
        lblNumKeys->setText(QCoreApplication::translate("PreferencesClass", "Number of keys", nullptr));
        lblVelocity->setText(QCoreApplication::translate("PreferencesClass", "Velocity", nullptr));
        lblInChan->setText(QCoreApplication::translate("PreferencesClass", "Input Channel", nullptr));
        lblBaseOctave->setText(QCoreApplication::translate("PreferencesClass", "Base octave", nullptr));
        lblStartingKey->setText(QCoreApplication::translate("PreferencesClass", "Starting Key", nullptr));
        comboNotes->setItemText(0, QCoreApplication::translate("PreferencesClass", "C", nullptr));
        comboNotes->setItemText(1, QCoreApplication::translate("PreferencesClass", "C#", nullptr));
        comboNotes->setItemText(2, QCoreApplication::translate("PreferencesClass", "D", nullptr));
        comboNotes->setItemText(3, QCoreApplication::translate("PreferencesClass", "D#", nullptr));
        comboNotes->setItemText(4, QCoreApplication::translate("PreferencesClass", "E", nullptr));
        comboNotes->setItemText(5, QCoreApplication::translate("PreferencesClass", "F", nullptr));
        comboNotes->setItemText(6, QCoreApplication::translate("PreferencesClass", "F#", nullptr));
        comboNotes->setItemText(7, QCoreApplication::translate("PreferencesClass", "G", nullptr));
        comboNotes->setItemText(8, QCoreApplication::translate("PreferencesClass", "G#", nullptr));
        comboNotes->setItemText(9, QCoreApplication::translate("PreferencesClass", "A", nullptr));
        comboNotes->setItemText(10, QCoreApplication::translate("PreferencesClass", "A#", nullptr));
        comboNotes->setItemText(11, QCoreApplication::translate("PreferencesClass", "B", nullptr));

    } // retranslateUi

};

namespace Ui {
    class PreferencesClass: public Ui_PreferencesClass {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PREFERENCES_H
