/********************************************************************************
** Form generated from reading UI file 'CWConsoleWidget.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_CWCONSOLEWIDGET_H
#define UI_CWCONSOLEWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "ui/component/RepeatButton.h"
#include "ui/component/SwitchButton.h"

QT_BEGIN_NAMESPACE

class Ui_CWConsoleWidget
{
public:
    QAction *actionHaltCW;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout_3;
    QComboBox *cwKeyProfileCombo;
    QComboBox *cwShortcutProfileCombo;
    QSpacerItem *horizontalSpacer_3;
    QSpinBox *cwKeySpeedSpinBox;
    QSplitter *splitter;
    QTextEdit *cwConsoleText;
    QTextEdit *cwEchoConsoleText;
    QHBoxLayout *horizontalLayout_5;
    QLabel *label;
    QLineEdit *cwSendEdit;
    SwitchButton *modeSwitch;
    QLabel *sendModeLabel;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer_4;
    RepeatButton *macroButton1;
    RepeatButton *macroButton2;
    RepeatButton *macroButton3;
    RepeatButton *macroButton4;
    RepeatButton *macroButton5;
    RepeatButton *macroButton6;
    RepeatButton *macroButton7;
    QSpacerItem *horizontalSpacer_2;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer;
    QPushButton *haltButton;
    QSpacerItem *horizontalSpacer_6;
    QPushButton *clearButton;
    QSpacerItem *horizontalSpacer_5;
    QButtonGroup *macroButtonGroup;

    void setupUi(QWidget *CWConsoleWidget)
    {
        if (CWConsoleWidget->objectName().isEmpty())
            CWConsoleWidget->setObjectName("CWConsoleWidget");
        CWConsoleWidget->resize(412, 295);
        actionHaltCW = new QAction(CWConsoleWidget);
        actionHaltCW->setObjectName("actionHaltCW");
        actionHaltCW->setText(QString::fromUtf8("HaltCW"));
        actionHaltCW->setIconText(QString::fromUtf8("HaltCW"));
#if QT_CONFIG(shortcut)
        actionHaltCW->setShortcut(QString::fromUtf8("Alt+T"));
#endif // QT_CONFIG(shortcut)
        actionHaltCW->setShortcutContext(Qt::ApplicationShortcut);
        actionHaltCW->setProperty("changeableshortcut", QVariant(true));
        verticalLayout = new QVBoxLayout(CWConsoleWidget);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        horizontalLayout_3->setContentsMargins(-1, -1, -1, 0);
        cwKeyProfileCombo = new QComboBox(CWConsoleWidget);
        cwKeyProfileCombo->setObjectName("cwKeyProfileCombo");
        cwKeyProfileCombo->setFocusPolicy(Qt::ClickFocus);
        cwKeyProfileCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        horizontalLayout_3->addWidget(cwKeyProfileCombo);

        cwShortcutProfileCombo = new QComboBox(CWConsoleWidget);
        cwShortcutProfileCombo->setObjectName("cwShortcutProfileCombo");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(cwShortcutProfileCombo->sizePolicy().hasHeightForWidth());
        cwShortcutProfileCombo->setSizePolicy(sizePolicy);
        cwShortcutProfileCombo->setFocusPolicy(Qt::ClickFocus);
        cwShortcutProfileCombo->setContextMenuPolicy(Qt::DefaultContextMenu);
        cwShortcutProfileCombo->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        horizontalLayout_3->addWidget(cwShortcutProfileCombo);

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

        horizontalLayout_3->addItem(horizontalSpacer_3);

        cwKeySpeedSpinBox = new QSpinBox(CWConsoleWidget);
        cwKeySpeedSpinBox->setObjectName("cwKeySpeedSpinBox");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(cwKeySpeedSpinBox->sizePolicy().hasHeightForWidth());
        cwKeySpeedSpinBox->setSizePolicy(sizePolicy1);
        cwKeySpeedSpinBox->setFocusPolicy(Qt::ClickFocus);
        cwKeySpeedSpinBox->setKeyboardTracking(false);
        cwKeySpeedSpinBox->setProperty("showGroupSeparator", QVariant(false));
        cwKeySpeedSpinBox->setMinimum(0);
        cwKeySpeedSpinBox->setMaximum(99);

        horizontalLayout_3->addWidget(cwKeySpeedSpinBox);


        verticalLayout->addLayout(horizontalLayout_3);

        splitter = new QSplitter(CWConsoleWidget);
        splitter->setObjectName("splitter");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(splitter->sizePolicy().hasHeightForWidth());
        splitter->setSizePolicy(sizePolicy2);
        splitter->setFrameShadow(QFrame::Plain);
        splitter->setOrientation(Qt::Vertical);
        splitter->setHandleWidth(4);
        cwConsoleText = new QTextEdit(splitter);
        cwConsoleText->setObjectName("cwConsoleText");
        cwConsoleText->setFocusPolicy(Qt::NoFocus);
        cwConsoleText->setReadOnly(true);
        cwConsoleText->setTextInteractionFlags(Qt::TextSelectableByMouse);
        splitter->addWidget(cwConsoleText);
        cwEchoConsoleText = new QTextEdit(splitter);
        cwEchoConsoleText->setObjectName("cwEchoConsoleText");
        cwEchoConsoleText->setFocusPolicy(Qt::NoFocus);
        cwEchoConsoleText->setReadOnly(true);
        splitter->addWidget(cwEchoConsoleText);

        verticalLayout->addWidget(splitter);

        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName("horizontalLayout_5");
        horizontalLayout_5->setContentsMargins(-1, -1, -1, 0);
        label = new QLabel(CWConsoleWidget);
        label->setObjectName("label");

        horizontalLayout_5->addWidget(label);

        cwSendEdit = new QLineEdit(CWConsoleWidget);
        cwSendEdit->setObjectName("cwSendEdit");
        cwSendEdit->setFocusPolicy(Qt::ClickFocus);
        cwSendEdit->setClearButtonEnabled(true);

        horizontalLayout_5->addWidget(cwSendEdit);

        modeSwitch = new SwitchButton(CWConsoleWidget);
        modeSwitch->setObjectName("modeSwitch");

        horizontalLayout_5->addWidget(modeSwitch);

        sendModeLabel = new QLabel(CWConsoleWidget);
        sendModeLabel->setObjectName("sendModeLabel");

        horizontalLayout_5->addWidget(sendModeLabel);


        verticalLayout->addLayout(horizontalLayout_5);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer_4);

        macroButton1 = new RepeatButton(CWConsoleWidget);
        macroButtonGroup = new QButtonGroup(CWConsoleWidget);
        macroButtonGroup->setObjectName("macroButtonGroup");
        macroButtonGroup->addButton(macroButton1);
        macroButton1->setObjectName("macroButton1");
        macroButton1->setMaximumSize(QSize(50, 16777215));
        macroButton1->setFocusPolicy(Qt::ClickFocus);
        macroButton1->setAutoRepeatDelay(300);
        macroButton1->setAutoRepeatInterval(100);
        macroButton1->setFlat(false);

        horizontalLayout->addWidget(macroButton1);

        macroButton2 = new RepeatButton(CWConsoleWidget);
        macroButtonGroup->addButton(macroButton2);
        macroButton2->setObjectName("macroButton2");
        macroButton2->setMaximumSize(QSize(50, 16777215));
        macroButton2->setFocusPolicy(Qt::ClickFocus);
        macroButton2->setChecked(false);

        horizontalLayout->addWidget(macroButton2);

        macroButton3 = new RepeatButton(CWConsoleWidget);
        macroButtonGroup->addButton(macroButton3);
        macroButton3->setObjectName("macroButton3");
        macroButton3->setMaximumSize(QSize(50, 16777215));
        macroButton3->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(macroButton3);

        macroButton4 = new RepeatButton(CWConsoleWidget);
        macroButtonGroup->addButton(macroButton4);
        macroButton4->setObjectName("macroButton4");
        macroButton4->setMaximumSize(QSize(50, 16777215));
        macroButton4->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(macroButton4);

        macroButton5 = new RepeatButton(CWConsoleWidget);
        macroButtonGroup->addButton(macroButton5);
        macroButton5->setObjectName("macroButton5");
        macroButton5->setMaximumSize(QSize(50, 16777215));
        macroButton5->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(macroButton5);

        macroButton6 = new RepeatButton(CWConsoleWidget);
        macroButtonGroup->addButton(macroButton6);
        macroButton6->setObjectName("macroButton6");
        macroButton6->setMaximumSize(QSize(50, 16777215));
        macroButton6->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(macroButton6);

        macroButton7 = new RepeatButton(CWConsoleWidget);
        macroButtonGroup->addButton(macroButton7);
        macroButton7->setObjectName("macroButton7");
        macroButton7->setMaximumSize(QSize(50, 16777215));
        macroButton7->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(macroButton7);

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

        horizontalLayout->addItem(horizontalSpacer_2);


        verticalLayout->addLayout(horizontalLayout);

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

        horizontalLayout_2->addItem(horizontalSpacer);

        haltButton = new QPushButton(CWConsoleWidget);
        haltButton->setObjectName("haltButton");
        QSizePolicy sizePolicy3(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(haltButton->sizePolicy().hasHeightForWidth());
        haltButton->setSizePolicy(sizePolicy3);
        haltButton->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout_2->addWidget(haltButton);

        horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer_6);

        clearButton = new QPushButton(CWConsoleWidget);
        clearButton->setObjectName("clearButton");
        clearButton->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout_2->addWidget(clearButton);

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

        horizontalLayout_2->addItem(horizontalSpacer_5);


        verticalLayout->addLayout(horizontalLayout_2);

#if QT_CONFIG(shortcut)
        label->setBuddy(cwSendEdit);
#endif // QT_CONFIG(shortcut)

        retranslateUi(CWConsoleWidget);
        QObject::connect(cwKeySpeedSpinBox, SIGNAL(valueChanged(int)), CWConsoleWidget, SLOT(cwKeySpeedChanged(int)));
        QObject::connect(cwKeyProfileCombo, SIGNAL(currentTextChanged(QString)), CWConsoleWidget, SLOT(cwKeyProfileComboChanged(QString)));
        QObject::connect(cwSendEdit, SIGNAL(returnPressed()), CWConsoleWidget, SLOT(cwSendButtonPressed()));
        QObject::connect(haltButton, &QPushButton::clicked, actionHaltCW, qOverload<>(&QAction::trigger));
        QObject::connect(cwShortcutProfileCombo, SIGNAL(currentTextChanged(QString)), CWConsoleWidget, SLOT(cwShortcutProfileComboChanged(QString)));
        QObject::connect(clearButton, SIGNAL(clicked()), CWConsoleWidget, SLOT(clearConsoles()));
        QObject::connect(cwSendEdit, SIGNAL(textChanged(QString)), CWConsoleWidget, SLOT(cwTextChanged(QString)));
        QObject::connect(actionHaltCW, SIGNAL(triggered()), CWConsoleWidget, SLOT(haltButtonPressed()));

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

    void retranslateUi(QWidget *CWConsoleWidget)
    {
        CWConsoleWidget->setWindowTitle(QCoreApplication::translate("CWConsoleWidget", "Form", nullptr));
#if QT_CONFIG(tooltip)
        actionHaltCW->setToolTip(QCoreApplication::translate("CWConsoleWidget", "CW Console - Halt Sending", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        cwKeyProfileCombo->setToolTip(QCoreApplication::translate("CWConsoleWidget", "CW Keyer Profile", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        cwShortcutProfileCombo->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Shortcuts profile", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        cwKeySpeedSpinBox->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Speed", nullptr));
#endif // QT_CONFIG(tooltip)
        cwKeySpeedSpinBox->setSpecialValueText(QCoreApplication::translate("CWConsoleWidget", "N/A", nullptr));
        cwKeySpeedSpinBox->setSuffix(QCoreApplication::translate("CWConsoleWidget", " WPM", nullptr));
#if QT_CONFIG(tooltip)
        cwConsoleText->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Sent text", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        cwEchoConsoleText->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Echoed text", nullptr));
#endif // QT_CONFIG(tooltip)
        label->setText(QCoreApplication::translate("CWConsoleWidget", "&CW", nullptr));
#if QT_CONFIG(tooltip)
        cwSendEdit->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Text to send", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        modeSwitch->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Switch between sending <b>words</b> individually (separated by spaces)<br> and sending the entire text as a <b>whole</b> (separated by a new line).", nullptr));
#endif // QT_CONFIG(tooltip)
        sendModeLabel->setText(QString());
        macroButton1->setText(QCoreApplication::translate("CWConsoleWidget", "F1", nullptr));
        macroButton2->setText(QCoreApplication::translate("CWConsoleWidget", "F2", nullptr));
        macroButton3->setText(QCoreApplication::translate("CWConsoleWidget", "F3", nullptr));
        macroButton4->setText(QCoreApplication::translate("CWConsoleWidget", "F4", nullptr));
        macroButton5->setText(QCoreApplication::translate("CWConsoleWidget", "F5", nullptr));
        macroButton6->setText(QCoreApplication::translate("CWConsoleWidget", "F6", nullptr));
        macroButton7->setText(QCoreApplication::translate("CWConsoleWidget", "F7", nullptr));
#if QT_CONFIG(tooltip)
        haltButton->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Immediately stop CW sending", nullptr));
#endif // QT_CONFIG(tooltip)
        haltButton->setText(QCoreApplication::translate("CWConsoleWidget", "Halt", nullptr));
#if QT_CONFIG(tooltip)
        clearButton->setToolTip(QCoreApplication::translate("CWConsoleWidget", "Clear Sent and Echo Console", nullptr));
#endif // QT_CONFIG(tooltip)
        clearButton->setText(QCoreApplication::translate("CWConsoleWidget", "Clear", nullptr));
    } // retranslateUi

};

namespace Ui {
    class CWConsoleWidget: public Ui_CWConsoleWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CWCONSOLEWIDGET_H
