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

#ifndef UI_ROTATORWIDGET_H
#define UI_ROTATORWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGraphicsView>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "ui/component/BaseDoubleSpinBox.h"

QT_BEGIN_NAMESPACE

class Ui_RotatorWidget
{
public:
    QAction *actionQSO_LP;
    QAction *actionQSO_SP;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout;
    QComboBox *rotProfileCombo;
    QComboBox *userButtonsProfileCombo;
    QSpacerItem *horizontalSpacer;
    QLabel *azLabel;
    BaseDoubleSpinBox *gotoDoubleSpinBox;
    QPushButton *gotoButton;
    QGraphicsView *compassView;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer_2;
    QToolButton *qsoBearingButton;
    QPushButton *leftButton;
    QPushButton *userButton_1;
    QPushButton *userButton_2;
    QPushButton *userButton_3;
    QPushButton *userButton_4;
    QPushButton *rightButton;
    QSpacerItem *horizontalSpacer_3;

    void setupUi(QWidget *RotatorWidget)
    {
        if (RotatorWidget->objectName().isEmpty())
            RotatorWidget->setObjectName("RotatorWidget");
        RotatorWidget->resize(387, 257);
        actionQSO_LP = new QAction(RotatorWidget);
        actionQSO_LP->setObjectName("actionQSO_LP");
        actionQSO_SP = new QAction(RotatorWidget);
        actionQSO_SP->setObjectName("actionQSO_SP");
        verticalLayout = new QVBoxLayout(RotatorWidget);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        rotProfileCombo = new QComboBox(RotatorWidget);
        rotProfileCombo->setObjectName("rotProfileCombo");
        rotProfileCombo->setFocusPolicy(Qt::ClickFocus);
        rotProfileCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        horizontalLayout->addWidget(rotProfileCombo);

        userButtonsProfileCombo = new QComboBox(RotatorWidget);
        userButtonsProfileCombo->setObjectName("userButtonsProfileCombo");
        userButtonsProfileCombo->setEnabled(false);

        horizontalLayout->addWidget(userButtonsProfileCombo);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        azLabel = new QLabel(RotatorWidget);
        azLabel->setObjectName("azLabel");

        horizontalLayout->addWidget(azLabel);

        gotoDoubleSpinBox = new BaseDoubleSpinBox(RotatorWidget);
        gotoDoubleSpinBox->setObjectName("gotoDoubleSpinBox");
        gotoDoubleSpinBox->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(gotoDoubleSpinBox->sizePolicy().hasHeightForWidth());
        gotoDoubleSpinBox->setSizePolicy(sizePolicy);
        gotoDoubleSpinBox->setFocusPolicy(Qt::ClickFocus);
        gotoDoubleSpinBox->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        gotoDoubleSpinBox->setDecimals(1);
        gotoDoubleSpinBox->setMaximum(359.899999999999977);

        horizontalLayout->addWidget(gotoDoubleSpinBox);

        gotoButton = new QPushButton(RotatorWidget);
        gotoButton->setObjectName("gotoButton");
        gotoButton->setEnabled(false);
        gotoButton->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(gotoButton);


        verticalLayout->addLayout(horizontalLayout);

        compassView = new QGraphicsView(RotatorWidget);
        compassView->setObjectName("compassView");
        compassView->setFocusPolicy(Qt::ClickFocus);
        compassView->setFrameShape(QFrame::NoFrame);
        compassView->setFrameShadow(QFrame::Plain);
        compassView->setRenderHints(QPainter::Antialiasing|QPainter::SmoothPixmapTransform|QPainter::TextAntialiasing);

        verticalLayout->addWidget(compassView);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        horizontalLayout_2->setContentsMargins(-1, -1, 0, 0);
        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer_2);

        qsoBearingButton = new QToolButton(RotatorWidget);
        qsoBearingButton->setObjectName("qsoBearingButton");
        qsoBearingButton->setEnabled(false);
        qsoBearingButton->setFocusPolicy(Qt::NoFocus);
        qsoBearingButton->setPopupMode(QToolButton::MenuButtonPopup);
        qsoBearingButton->setToolButtonStyle(Qt::ToolButtonTextOnly);

        horizontalLayout_2->addWidget(qsoBearingButton);

        leftButton = new QPushButton(RotatorWidget);
        leftButton->setObjectName("leftButton");
        leftButton->setMaximumSize(QSize(15, 16777215));
        leftButton->setText(QString::fromUtf8(""));
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/icons/baseline-play_back-24px.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        leftButton->setIcon(icon);

        horizontalLayout_2->addWidget(leftButton);

        userButton_1 = new QPushButton(RotatorWidget);
        userButton_1->setObjectName("userButton_1");
        userButton_1->setEnabled(false);
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(userButton_1->sizePolicy().hasHeightForWidth());
        userButton_1->setSizePolicy(sizePolicy1);
        userButton_1->setMaximumSize(QSize(50, 16777215));

        horizontalLayout_2->addWidget(userButton_1);

        userButton_2 = new QPushButton(RotatorWidget);
        userButton_2->setObjectName("userButton_2");
        userButton_2->setEnabled(false);
        sizePolicy1.setHeightForWidth(userButton_2->sizePolicy().hasHeightForWidth());
        userButton_2->setSizePolicy(sizePolicy1);
        userButton_2->setMaximumSize(QSize(50, 16777215));

        horizontalLayout_2->addWidget(userButton_2);

        userButton_3 = new QPushButton(RotatorWidget);
        userButton_3->setObjectName("userButton_3");
        userButton_3->setEnabled(false);
        sizePolicy1.setHeightForWidth(userButton_3->sizePolicy().hasHeightForWidth());
        userButton_3->setSizePolicy(sizePolicy1);
        userButton_3->setMaximumSize(QSize(50, 16777215));

        horizontalLayout_2->addWidget(userButton_3);

        userButton_4 = new QPushButton(RotatorWidget);
        userButton_4->setObjectName("userButton_4");
        userButton_4->setEnabled(false);
        sizePolicy1.setHeightForWidth(userButton_4->sizePolicy().hasHeightForWidth());
        userButton_4->setSizePolicy(sizePolicy1);
        userButton_4->setMaximumSize(QSize(50, 16777215));

        horizontalLayout_2->addWidget(userButton_4);

        rightButton = new QPushButton(RotatorWidget);
        rightButton->setObjectName("rightButton");
        rightButton->setMaximumSize(QSize(15, 16777215));
        rightButton->setText(QString::fromUtf8(""));
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/icons/baseline-play_arrow-24px.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        rightButton->setIcon(icon1);

        horizontalLayout_2->addWidget(rightButton);

        horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer_3);


        verticalLayout->addLayout(horizontalLayout_2);


        retranslateUi(RotatorWidget);
        QObject::connect(gotoButton, SIGNAL(clicked()), RotatorWidget, SLOT(gotoPosition()));
        QObject::connect(rotProfileCombo, SIGNAL(currentTextChanged(QString)), RotatorWidget, SLOT(rotProfileComboChanged(QString)));
        QObject::connect(userButton_1, SIGNAL(clicked()), RotatorWidget, SLOT(userButton1()));
        QObject::connect(userButton_2, SIGNAL(clicked()), RotatorWidget, SLOT(userButton2()));
        QObject::connect(userButton_3, SIGNAL(clicked()), RotatorWidget, SLOT(userButton3()));
        QObject::connect(userButton_4, SIGNAL(clicked()), RotatorWidget, SLOT(userButton4()));
        QObject::connect(userButtonsProfileCombo, SIGNAL(currentTextChanged(QString)), RotatorWidget, SLOT(rotUserButtonProfileComboChanged(QString)));
        QObject::connect(actionQSO_LP, SIGNAL(triggered()), RotatorWidget, SLOT(qsoBearingLP()));
        QObject::connect(actionQSO_SP, SIGNAL(triggered()), RotatorWidget, SLOT(qsoBearingSP()));
        QObject::connect(gotoDoubleSpinBox, SIGNAL(valueChanged(double)), RotatorWidget, SLOT(setRequestedAz(double)));
        QObject::connect(rightButton, SIGNAL(clicked()), RotatorWidget, SLOT(shortcutProfileIncrease()));
        QObject::connect(leftButton, SIGNAL(clicked()), RotatorWidget, SLOT(shortcutProfileDecrease()));

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

    void retranslateUi(QWidget *RotatorWidget)
    {
        RotatorWidget->setWindowTitle(QCoreApplication::translate("RotatorWidget", "Form", nullptr));
        actionQSO_LP->setText(QCoreApplication::translate("RotatorWidget", "QSO LP", nullptr));
#if QT_CONFIG(tooltip)
        actionQSO_LP->setToolTip(QCoreApplication::translate("RotatorWidget", "QSO Long Path", nullptr));
#endif // QT_CONFIG(tooltip)
        actionQSO_SP->setText(QCoreApplication::translate("RotatorWidget", "QSO SP", nullptr));
#if QT_CONFIG(tooltip)
        actionQSO_SP->setToolTip(QCoreApplication::translate("RotatorWidget", "QSO Short Path", nullptr));
#endif // QT_CONFIG(tooltip)
        azLabel->setText(QCoreApplication::translate("RotatorWidget", "Az:", nullptr));
        gotoDoubleSpinBox->setSuffix(QCoreApplication::translate("RotatorWidget", "\302\260", nullptr));
        gotoButton->setText(QCoreApplication::translate("RotatorWidget", "Goto", nullptr));
        qsoBearingButton->setText(QString());
#if QT_CONFIG(tooltip)
        leftButton->setToolTip(QCoreApplication::translate("RotatorWidget", "Previous Button Profile", nullptr));
#endif // QT_CONFIG(tooltip)
        userButton_1->setText(QString());
        userButton_2->setText(QString());
        userButton_3->setText(QString());
        userButton_4->setText(QString());
#if QT_CONFIG(tooltip)
        rightButton->setToolTip(QCoreApplication::translate("RotatorWidget", "Next Button Profile", nullptr));
#endif // QT_CONFIG(tooltip)
    } // retranslateUi

};

namespace Ui {
    class RotatorWidget: public Ui_RotatorWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_ROTATORWIDGET_H
