You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
287 lines
12 KiB
C++
287 lines
12 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'TmsKey.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.14.1
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_TMSKEY_H
|
|
#define UI_TMSKEY_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QTabWidget>
|
|
#include <QtWidgets/QTextEdit>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_Widget
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout_2;
|
|
QWidget *widget_2;
|
|
QHBoxLayout *horizontalLayout;
|
|
QTabWidget *tabWidgetSerialPortSetup;
|
|
QWidget *tab;
|
|
QVBoxLayout *verticalLayout_3;
|
|
QWidget *widget_4;
|
|
QGridLayout *gridLayout;
|
|
QLabel *labelBaudRate;
|
|
QComboBox *comboBoxPortName;
|
|
QLabel *labelPortName;
|
|
QComboBox *comboBoxStopBits;
|
|
QSpacerItem *verticalSpacer_4;
|
|
QLabel *labelDataBits;
|
|
QLabel *labelParity;
|
|
QPushButton *pushButtonSearchSerial;
|
|
QComboBox *comboBoxBaudRate;
|
|
QComboBox *comboBoxDataBits;
|
|
QComboBox *comboBoxParity;
|
|
QLabel *labelStopBits;
|
|
QPushButton *pushButtonOpenSerial;
|
|
QTabWidget *tabWidgetServiceSetup;
|
|
QWidget *widget_3;
|
|
QHBoxLayout *horizontalLayout_2;
|
|
QSpacerItem *verticalSpacer;
|
|
QWidget *widget_6;
|
|
QVBoxLayout *verticalLayout_2;
|
|
QTextEdit *textEdit;
|
|
QWidget *widgetClear;
|
|
QHBoxLayout *horizontalLayout_3;
|
|
QPushButton *pushButtonClearTextEdit;
|
|
|
|
void setupUi(QWidget *Widget)
|
|
{
|
|
if (Widget->objectName().isEmpty())
|
|
Widget->setObjectName(QString::fromUtf8("Widget"));
|
|
Widget->resize(1366, 768);
|
|
Widget->setMinimumSize(QSize(1366, 768));
|
|
gridLayout_2 = new QGridLayout(Widget);
|
|
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
|
widget_2 = new QWidget(Widget);
|
|
widget_2->setObjectName(QString::fromUtf8("widget_2"));
|
|
widget_2->setMaximumSize(QSize(16777215, 16777215));
|
|
horizontalLayout = new QHBoxLayout(widget_2);
|
|
horizontalLayout->setSpacing(6);
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
horizontalLayout->setContentsMargins(0, 0, 0, 0);
|
|
tabWidgetSerialPortSetup = new QTabWidget(widget_2);
|
|
tabWidgetSerialPortSetup->setObjectName(QString::fromUtf8("tabWidgetSerialPortSetup"));
|
|
tabWidgetSerialPortSetup->setMinimumSize(QSize(0, 0));
|
|
tabWidgetSerialPortSetup->setMaximumSize(QSize(16777215, 16777215));
|
|
tab = new QWidget();
|
|
tab->setObjectName(QString::fromUtf8("tab"));
|
|
verticalLayout_3 = new QVBoxLayout(tab);
|
|
verticalLayout_3->setSpacing(0);
|
|
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
|
verticalLayout_3->setContentsMargins(0, 0, 0, 0);
|
|
widget_4 = new QWidget(tab);
|
|
widget_4->setObjectName(QString::fromUtf8("widget_4"));
|
|
widget_4->setMinimumSize(QSize(0, 0));
|
|
gridLayout = new QGridLayout(widget_4);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
gridLayout->setHorizontalSpacing(6);
|
|
gridLayout->setVerticalSpacing(12);
|
|
gridLayout->setContentsMargins(9, 9, 9, 9);
|
|
labelBaudRate = new QLabel(widget_4);
|
|
labelBaudRate->setObjectName(QString::fromUtf8("labelBaudRate"));
|
|
labelBaudRate->setMinimumSize(QSize(0, 36));
|
|
labelBaudRate->setMaximumSize(QSize(16777215, 16777215));
|
|
labelBaudRate->setAlignment(Qt::AlignCenter);
|
|
|
|
gridLayout->addWidget(labelBaudRate, 1, 0, 1, 1);
|
|
|
|
comboBoxPortName = new QComboBox(widget_4);
|
|
comboBoxPortName->setObjectName(QString::fromUtf8("comboBoxPortName"));
|
|
comboBoxPortName->setMinimumSize(QSize(0, 36));
|
|
comboBoxPortName->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
gridLayout->addWidget(comboBoxPortName, 0, 1, 1, 1);
|
|
|
|
labelPortName = new QLabel(widget_4);
|
|
labelPortName->setObjectName(QString::fromUtf8("labelPortName"));
|
|
labelPortName->setMinimumSize(QSize(0, 36));
|
|
labelPortName->setMaximumSize(QSize(16777215, 16777215));
|
|
labelPortName->setAlignment(Qt::AlignCenter);
|
|
|
|
gridLayout->addWidget(labelPortName, 0, 0, 1, 1);
|
|
|
|
comboBoxStopBits = new QComboBox(widget_4);
|
|
comboBoxStopBits->setObjectName(QString::fromUtf8("comboBoxStopBits"));
|
|
comboBoxStopBits->setMinimumSize(QSize(0, 36));
|
|
comboBoxStopBits->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
gridLayout->addWidget(comboBoxStopBits, 4, 1, 1, 1);
|
|
|
|
verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
gridLayout->addItem(verticalSpacer_4, 6, 0, 1, 1);
|
|
|
|
labelDataBits = new QLabel(widget_4);
|
|
labelDataBits->setObjectName(QString::fromUtf8("labelDataBits"));
|
|
labelDataBits->setMinimumSize(QSize(0, 36));
|
|
labelDataBits->setMaximumSize(QSize(16777215, 16777215));
|
|
labelDataBits->setAlignment(Qt::AlignCenter);
|
|
|
|
gridLayout->addWidget(labelDataBits, 2, 0, 1, 1);
|
|
|
|
labelParity = new QLabel(widget_4);
|
|
labelParity->setObjectName(QString::fromUtf8("labelParity"));
|
|
labelParity->setMinimumSize(QSize(0, 36));
|
|
labelParity->setMaximumSize(QSize(16777215, 16777215));
|
|
labelParity->setAlignment(Qt::AlignCenter);
|
|
|
|
gridLayout->addWidget(labelParity, 3, 0, 1, 1);
|
|
|
|
pushButtonSearchSerial = new QPushButton(widget_4);
|
|
pushButtonSearchSerial->setObjectName(QString::fromUtf8("pushButtonSearchSerial"));
|
|
pushButtonSearchSerial->setMinimumSize(QSize(0, 36));
|
|
pushButtonSearchSerial->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
gridLayout->addWidget(pushButtonSearchSerial, 5, 0, 1, 1);
|
|
|
|
comboBoxBaudRate = new QComboBox(widget_4);
|
|
comboBoxBaudRate->setObjectName(QString::fromUtf8("comboBoxBaudRate"));
|
|
comboBoxBaudRate->setMinimumSize(QSize(0, 36));
|
|
comboBoxBaudRate->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
gridLayout->addWidget(comboBoxBaudRate, 1, 1, 1, 1);
|
|
|
|
comboBoxDataBits = new QComboBox(widget_4);
|
|
comboBoxDataBits->setObjectName(QString::fromUtf8("comboBoxDataBits"));
|
|
comboBoxDataBits->setMinimumSize(QSize(0, 36));
|
|
comboBoxDataBits->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
gridLayout->addWidget(comboBoxDataBits, 2, 1, 1, 1);
|
|
|
|
comboBoxParity = new QComboBox(widget_4);
|
|
comboBoxParity->setObjectName(QString::fromUtf8("comboBoxParity"));
|
|
comboBoxParity->setMinimumSize(QSize(0, 36));
|
|
comboBoxParity->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
gridLayout->addWidget(comboBoxParity, 3, 1, 1, 1);
|
|
|
|
labelStopBits = new QLabel(widget_4);
|
|
labelStopBits->setObjectName(QString::fromUtf8("labelStopBits"));
|
|
labelStopBits->setMinimumSize(QSize(0, 36));
|
|
labelStopBits->setMaximumSize(QSize(16777215, 16777215));
|
|
labelStopBits->setAlignment(Qt::AlignCenter);
|
|
|
|
gridLayout->addWidget(labelStopBits, 4, 0, 1, 1);
|
|
|
|
pushButtonOpenSerial = new QPushButton(widget_4);
|
|
pushButtonOpenSerial->setObjectName(QString::fromUtf8("pushButtonOpenSerial"));
|
|
pushButtonOpenSerial->setMinimumSize(QSize(0, 36));
|
|
pushButtonOpenSerial->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
gridLayout->addWidget(pushButtonOpenSerial, 5, 1, 1, 1);
|
|
|
|
|
|
verticalLayout_3->addWidget(widget_4);
|
|
|
|
tabWidgetSerialPortSetup->addTab(tab, QString());
|
|
|
|
horizontalLayout->addWidget(tabWidgetSerialPortSetup);
|
|
|
|
tabWidgetServiceSetup = new QTabWidget(widget_2);
|
|
tabWidgetServiceSetup->setObjectName(QString::fromUtf8("tabWidgetServiceSetup"));
|
|
|
|
horizontalLayout->addWidget(tabWidgetServiceSetup);
|
|
|
|
|
|
gridLayout_2->addWidget(widget_2, 0, 0, 1, 1);
|
|
|
|
widget_3 = new QWidget(Widget);
|
|
widget_3->setObjectName(QString::fromUtf8("widget_3"));
|
|
horizontalLayout_2 = new QHBoxLayout(widget_3);
|
|
horizontalLayout_2->setSpacing(0);
|
|
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
|
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
|
|
verticalSpacer = new QSpacerItem(2, 99999, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
horizontalLayout_2->addItem(verticalSpacer);
|
|
|
|
widget_6 = new QWidget(widget_3);
|
|
widget_6->setObjectName(QString::fromUtf8("widget_6"));
|
|
verticalLayout_2 = new QVBoxLayout(widget_6);
|
|
verticalLayout_2->setSpacing(0);
|
|
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
|
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
|
|
textEdit = new QTextEdit(widget_6);
|
|
textEdit->setObjectName(QString::fromUtf8("textEdit"));
|
|
|
|
verticalLayout_2->addWidget(textEdit);
|
|
|
|
widgetClear = new QWidget(widget_6);
|
|
widgetClear->setObjectName(QString::fromUtf8("widgetClear"));
|
|
horizontalLayout_3 = new QHBoxLayout(widgetClear);
|
|
horizontalLayout_3->setSpacing(0);
|
|
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
|
horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
|
|
pushButtonClearTextEdit = new QPushButton(widgetClear);
|
|
pushButtonClearTextEdit->setObjectName(QString::fromUtf8("pushButtonClearTextEdit"));
|
|
pushButtonClearTextEdit->setMinimumSize(QSize(0, 36));
|
|
pushButtonClearTextEdit->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
horizontalLayout_3->addWidget(pushButtonClearTextEdit);
|
|
|
|
|
|
verticalLayout_2->addWidget(widgetClear);
|
|
|
|
|
|
horizontalLayout_2->addWidget(widget_6);
|
|
|
|
|
|
gridLayout_2->addWidget(widget_3, 1, 0, 1, 1);
|
|
|
|
|
|
retranslateUi(Widget);
|
|
|
|
tabWidgetSerialPortSetup->setCurrentIndex(0);
|
|
tabWidgetServiceSetup->setCurrentIndex(-1);
|
|
|
|
|
|
QMetaObject::connectSlotsByName(Widget);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *Widget)
|
|
{
|
|
Widget->setWindowTitle(QCoreApplication::translate("Widget", "Widget", nullptr));
|
|
labelBaudRate->setText(QCoreApplication::translate("Widget", "\346\263\242\347\211\271\347\216\207\n"
|
|
"Baud Rate", nullptr));
|
|
labelPortName->setText(QCoreApplication::translate("Widget", "\344\270\262\345\217\243\345\217\267\n"
|
|
"Port", nullptr));
|
|
labelDataBits->setText(QCoreApplication::translate("Widget", "\346\225\260\346\215\256\344\275\215\n"
|
|
"Data Bits", nullptr));
|
|
labelParity->setText(QCoreApplication::translate("Widget", "\346\240\241\351\252\214\344\275\215\n"
|
|
"Pairty", nullptr));
|
|
pushButtonSearchSerial->setText(QCoreApplication::translate("Widget", "\346\220\234\347\264\242\344\270\262\345\217\243\n"
|
|
"Search Port", nullptr));
|
|
labelStopBits->setText(QCoreApplication::translate("Widget", "\345\201\234\346\255\242\344\275\215\n"
|
|
"Stop Bits", nullptr));
|
|
pushButtonOpenSerial->setText(QCoreApplication::translate("Widget", "\346\211\223\345\274\200\344\270\262\345\217\243\n"
|
|
"Start", nullptr));
|
|
tabWidgetSerialPortSetup->setTabText(tabWidgetSerialPortSetup->indexOf(tab), QCoreApplication::translate("Widget", "\344\270\262\345\217\243\350\256\276\347\275\256(Seria lPort Sertup)", nullptr));
|
|
pushButtonClearTextEdit->setText(QCoreApplication::translate("Widget", "\346\270\205\347\251\272\n"
|
|
"Clear", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class Widget: public Ui_Widget {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_TMSKEY_H
|