/*

    MIDI Virtual Piano Keyboard
    Copyright (C) 2008-2026, Pedro Lopez-Cabanillas

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; If not, see http://www.gnu.org/licenses/
 
*/

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

#ifndef UI_MIDISETUP_H
#define UI_MIDISETUP_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QToolButton>

QT_BEGIN_NAMESPACE

class Ui_MidiSetupClass
{
public:
    QGridLayout *gridLayout;
    QCheckBox *chkEnableInput;
    QCheckBox *chkOmni;
    QLabel *labelInputBackend;
    QComboBox *comboinputBackends;
    QToolButton *btnConfigInput;
    QLabel *labelInput;
    QComboBox *comboInput;
    QCheckBox *chkEnableThru;
    QLabel *labelOutputBackend;
    QComboBox *comboOutputBackends;
    QToolButton *btnConfigOutput;
    QLabel *labelOutput;
    QComboBox *comboOutput;
    QCheckBox *chkAdvanced;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *MidiSetupClass)
    {
        if (MidiSetupClass->objectName().isEmpty())
            MidiSetupClass->setObjectName("MidiSetupClass");
        MidiSetupClass->resize(420, 265);
        MidiSetupClass->setMinimumSize(QSize(420, 0));
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/vpiano/vmpk_32x32.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        MidiSetupClass->setWindowIcon(icon);
        gridLayout = new QGridLayout(MidiSetupClass);
        gridLayout->setObjectName("gridLayout");
        chkEnableInput = new QCheckBox(MidiSetupClass);
        chkEnableInput->setObjectName("chkEnableInput");
        chkEnableInput->setChecked(true);

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

        chkOmni = new QCheckBox(MidiSetupClass);
        chkOmni->setObjectName("chkOmni");

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

        labelInputBackend = new QLabel(MidiSetupClass);
        labelInputBackend->setObjectName("labelInputBackend");

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

        comboinputBackends = new QComboBox(MidiSetupClass);
        comboinputBackends->setObjectName("comboinputBackends");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(comboinputBackends->sizePolicy().hasHeightForWidth());
        comboinputBackends->setSizePolicy(sizePolicy);

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

        btnConfigInput = new QToolButton(MidiSetupClass);
        btnConfigInput->setObjectName("btnConfigInput");
        btnConfigInput->setEnabled(false);

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

        labelInput = new QLabel(MidiSetupClass);
        labelInput->setObjectName("labelInput");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(labelInput->sizePolicy().hasHeightForWidth());
        labelInput->setSizePolicy(sizePolicy1);

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

        comboInput = new QComboBox(MidiSetupClass);
        comboInput->setObjectName("comboInput");
        sizePolicy.setHeightForWidth(comboInput->sizePolicy().hasHeightForWidth());
        comboInput->setSizePolicy(sizePolicy);
        comboInput->setMinimumSize(QSize(180, 0));

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

        chkEnableThru = new QCheckBox(MidiSetupClass);
        chkEnableThru->setObjectName("chkEnableThru");

        gridLayout->addWidget(chkEnableThru, 4, 0, 1, 3);

        labelOutputBackend = new QLabel(MidiSetupClass);
        labelOutputBackend->setObjectName("labelOutputBackend");

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

        comboOutputBackends = new QComboBox(MidiSetupClass);
        comboOutputBackends->setObjectName("comboOutputBackends");
        sizePolicy.setHeightForWidth(comboOutputBackends->sizePolicy().hasHeightForWidth());
        comboOutputBackends->setSizePolicy(sizePolicy);

        gridLayout->addWidget(comboOutputBackends, 5, 1, 1, 1);

        btnConfigOutput = new QToolButton(MidiSetupClass);
        btnConfigOutput->setObjectName("btnConfigOutput");
        btnConfigOutput->setEnabled(false);

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

        labelOutput = new QLabel(MidiSetupClass);
        labelOutput->setObjectName("labelOutput");
        sizePolicy1.setHeightForWidth(labelOutput->sizePolicy().hasHeightForWidth());
        labelOutput->setSizePolicy(sizePolicy1);

        gridLayout->addWidget(labelOutput, 6, 0, 1, 1);

        comboOutput = new QComboBox(MidiSetupClass);
        comboOutput->setObjectName("comboOutput");
        sizePolicy.setHeightForWidth(comboOutput->sizePolicy().hasHeightForWidth());
        comboOutput->setSizePolicy(sizePolicy);
        comboOutput->setMinimumSize(QSize(180, 0));

        gridLayout->addWidget(comboOutput, 6, 1, 1, 2);

        chkAdvanced = new QCheckBox(MidiSetupClass);
        chkAdvanced->setObjectName("chkAdvanced");

        gridLayout->addWidget(chkAdvanced, 7, 0, 1, 3);

        buttonBox = new QDialogButtonBox(MidiSetupClass);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        gridLayout->addWidget(buttonBox, 8, 0, 1, 3);

#if QT_CONFIG(shortcut)
        labelInput->setBuddy(comboInput);
        labelOutput->setBuddy(comboOutput);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(chkEnableInput, chkOmni);
        QWidget::setTabOrder(chkOmni, buttonBox);

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

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

    void retranslateUi(QDialog *MidiSetupClass)
    {
        MidiSetupClass->setWindowTitle(QCoreApplication::translate("MidiSetupClass", "MIDI Setup", nullptr));
#if QT_CONFIG(whatsthis)
        chkEnableInput->setWhatsThis(QCoreApplication::translate("MidiSetupClass", "Check this box to enable MIDI input for the program. In Linux and Mac OSX the input port is always enabled and can't be un-ckecked", nullptr));
#endif // QT_CONFIG(whatsthis)
        chkEnableInput->setText(QCoreApplication::translate("MidiSetupClass", "Enable MIDI Input", nullptr));
        chkOmni->setText(QCoreApplication::translate("MidiSetupClass", "MIDI Omni Mode", nullptr));
        labelInputBackend->setText(QCoreApplication::translate("MidiSetupClass", "MIDI IN Driver", nullptr));
        btnConfigInput->setText(QCoreApplication::translate("MidiSetupClass", "...", nullptr));
        labelInput->setText(QCoreApplication::translate("MidiSetupClass", "Input MIDI Connection", nullptr));
#if QT_CONFIG(whatsthis)
        comboInput->setWhatsThis(QCoreApplication::translate("MidiSetupClass", "Use this control to change the connection for the MIDI input port, if it is enabled", nullptr));
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(whatsthis)
        chkEnableThru->setWhatsThis(QCoreApplication::translate("MidiSetupClass", "Check this box to enable the MIDI Thru function: any MIDI event received in the input port will be copied unchanged to the output port", nullptr));
#endif // QT_CONFIG(whatsthis)
        chkEnableThru->setText(QCoreApplication::translate("MidiSetupClass", "Enable MIDI Thru on MIDI Output", nullptr));
        labelOutputBackend->setText(QCoreApplication::translate("MidiSetupClass", "MIDI OUT Driver", nullptr));
        btnConfigOutput->setText(QCoreApplication::translate("MidiSetupClass", "...", nullptr));
        labelOutput->setText(QCoreApplication::translate("MidiSetupClass", "Output MIDI Connection", nullptr));
#if QT_CONFIG(whatsthis)
        comboOutput->setWhatsThis(QCoreApplication::translate("MidiSetupClass", "Use this control to change the connection for the MIDI output port", nullptr));
#endif // QT_CONFIG(whatsthis)
        chkAdvanced->setText(QCoreApplication::translate("MidiSetupClass", "Show Advanced Connections", nullptr));
    } // retranslateUi

};

namespace Ui {
    class MidiSetupClass: public Ui_MidiSetupClass {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_MIDISETUP_H
