/******************************************************************************** ** Form generated from reading UI file 'mainwindow.ui' ** ** Created by: Qt User Interface Compiler version 5.14.2 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ #ifndef UI_MAINWINDOW_H #define UI_MAINWINDOW_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "clickablecombobox.h" QT_BEGIN_NAMESPACE class Ui_MainWindow { public: QWidget *centralwidget; QVBoxLayout *verticalLayout; QHBoxLayout *horizontalLayout; QLabel *portLabel; ClickableComboBox *portComboBox; QLabel *baudRateLabel; QComboBox *baudRateComboBox; QPushButton *openButton; QPushButton *closeButton; QLabel *statusLabel; QLabel *sendDataLabel; QGridLayout *gridLayout; QPushButton *sendButton; QPushButton *clearSendButton; QPlainTextEdit *sendTextEdit; QHBoxLayout *horizontalLayout_2; QCheckBox *hexSendCheckBox; QSpacerItem *horizontalSpacer; QPushButton *timerButton; QLineEdit *timerIntervalLineEdit; QLabel *label; QLabel *receiveDataLabel; QPlainTextEdit *receiveTextEdit; QHBoxLayout *horizontalLayout_3; QCheckBox *hexDisplayCheckBox; QPushButton *clearReceiveButton; QLabel *convertedDataLabel; QPlainTextEdit *decimalTextEdit; QHBoxLayout *horizontalLayout_4; QPushButton *clearDecimalButton; QPushButton *saveButton; QCheckBox *realTimeSaveCheckBox; QMenuBar *menubar; QStatusBar *statusBar; void setupUi(QMainWindow *MainWindow) { if (MainWindow->objectName().isEmpty()) MainWindow->setObjectName(QString::fromUtf8("MainWindow")); MainWindow->resize(859, 984); centralwidget = new QWidget(MainWindow); centralwidget->setObjectName(QString::fromUtf8("centralwidget")); verticalLayout = new QVBoxLayout(centralwidget); verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); horizontalLayout = new QHBoxLayout(); horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); portLabel = new QLabel(centralwidget); portLabel->setObjectName(QString::fromUtf8("portLabel")); QFont font; font.setFamily(QString::fromUtf8("Times New Roman")); font.setPointSize(12); font.setBold(false); font.setItalic(false); font.setUnderline(false); font.setWeight(50); portLabel->setFont(font); portLabel->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout->addWidget(portLabel); portComboBox = new ClickableComboBox(centralwidget); portComboBox->setObjectName(QString::fromUtf8("portComboBox")); portComboBox->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout->addWidget(portComboBox); baudRateLabel = new QLabel(centralwidget); baudRateLabel->setObjectName(QString::fromUtf8("baudRateLabel")); baudRateLabel->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout->addWidget(baudRateLabel); baudRateComboBox = new QComboBox(centralwidget); baudRateComboBox->setObjectName(QString::fromUtf8("baudRateComboBox")); baudRateComboBox->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout->addWidget(baudRateComboBox); openButton = new QPushButton(centralwidget); openButton->setObjectName(QString::fromUtf8("openButton")); QFont font1; font1.setFamily(QString::fromUtf8("Times New Roman")); font1.setPointSize(12); font1.setBold(false); font1.setItalic(false); font1.setWeight(50); openButton->setFont(font1); openButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout->addWidget(openButton); closeButton = new QPushButton(centralwidget); closeButton->setObjectName(QString::fromUtf8("closeButton")); closeButton->setEnabled(false); closeButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout->addWidget(closeButton); verticalLayout->addLayout(horizontalLayout); statusLabel = new QLabel(centralwidget); statusLabel->setObjectName(QString::fromUtf8("statusLabel")); statusLabel->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); verticalLayout->addWidget(statusLabel); sendDataLabel = new QLabel(centralwidget); sendDataLabel->setObjectName(QString::fromUtf8("sendDataLabel")); sendDataLabel->setEnabled(true); sendDataLabel->setFont(font1); sendDataLabel->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); verticalLayout->addWidget(sendDataLabel); gridLayout = new QGridLayout(); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); sendButton = new QPushButton(centralwidget); sendButton->setObjectName(QString::fromUtf8("sendButton")); sendButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); sendButton->setIconSize(QSize(24, 24)); gridLayout->addWidget(sendButton, 0, 1, 1, 1); clearSendButton = new QPushButton(centralwidget); clearSendButton->setObjectName(QString::fromUtf8("clearSendButton")); clearSendButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); gridLayout->addWidget(clearSendButton, 1, 1, 1, 1); sendTextEdit = new QPlainTextEdit(centralwidget); sendTextEdit->setObjectName(QString::fromUtf8("sendTextEdit")); gridLayout->addWidget(sendTextEdit, 0, 0, 2, 1); verticalLayout->addLayout(gridLayout); horizontalLayout_2 = new QHBoxLayout(); horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); hexSendCheckBox = new QCheckBox(centralwidget); hexSendCheckBox->setObjectName(QString::fromUtf8("hexSendCheckBox")); hexSendCheckBox->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_2->addWidget(hexSendCheckBox); horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_2->addItem(horizontalSpacer); timerButton = new QPushButton(centralwidget); timerButton->setObjectName(QString::fromUtf8("timerButton")); timerButton->setMaximumSize(QSize(999, 32)); timerButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_2->addWidget(timerButton); timerIntervalLineEdit = new QLineEdit(centralwidget); timerIntervalLineEdit->setObjectName(QString::fromUtf8("timerIntervalLineEdit")); timerIntervalLineEdit->setMaximumSize(QSize(80, 23)); timerIntervalLineEdit->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_2->addWidget(timerIntervalLineEdit); label = new QLabel(centralwidget); label->setObjectName(QString::fromUtf8("label")); label->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_2->addWidget(label); verticalLayout->addLayout(horizontalLayout_2); receiveDataLabel = new QLabel(centralwidget); receiveDataLabel->setObjectName(QString::fromUtf8("receiveDataLabel")); receiveDataLabel->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); verticalLayout->addWidget(receiveDataLabel); receiveTextEdit = new QPlainTextEdit(centralwidget); receiveTextEdit->setObjectName(QString::fromUtf8("receiveTextEdit")); verticalLayout->addWidget(receiveTextEdit); horizontalLayout_3 = new QHBoxLayout(); horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); hexDisplayCheckBox = new QCheckBox(centralwidget); hexDisplayCheckBox->setObjectName(QString::fromUtf8("hexDisplayCheckBox")); hexDisplayCheckBox->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_3->addWidget(hexDisplayCheckBox); clearReceiveButton = new QPushButton(centralwidget); clearReceiveButton->setObjectName(QString::fromUtf8("clearReceiveButton")); clearReceiveButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_3->addWidget(clearReceiveButton); verticalLayout->addLayout(horizontalLayout_3); convertedDataLabel = new QLabel(centralwidget); convertedDataLabel->setObjectName(QString::fromUtf8("convertedDataLabel")); convertedDataLabel->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); verticalLayout->addWidget(convertedDataLabel); decimalTextEdit = new QPlainTextEdit(centralwidget); decimalTextEdit->setObjectName(QString::fromUtf8("decimalTextEdit")); verticalLayout->addWidget(decimalTextEdit); horizontalLayout_4 = new QHBoxLayout(); horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); clearDecimalButton = new QPushButton(centralwidget); clearDecimalButton->setObjectName(QString::fromUtf8("clearDecimalButton")); clearDecimalButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_4->addWidget(clearDecimalButton); saveButton = new QPushButton(centralwidget); saveButton->setObjectName(QString::fromUtf8("saveButton")); saveButton->setStyleSheet(QString::fromUtf8("font: 12pt \"Times New Roman\";")); horizontalLayout_4->addWidget(saveButton); realTimeSaveCheckBox = new QCheckBox(centralwidget); realTimeSaveCheckBox->setObjectName(QString::fromUtf8("realTimeSaveCheckBox")); QFont font2; font2.setFamily(QString::fromUtf8("Times New Roman")); font2.setPointSize(12); realTimeSaveCheckBox->setFont(font2); horizontalLayout_4->addWidget(realTimeSaveCheckBox); verticalLayout->addLayout(horizontalLayout_4); MainWindow->setCentralWidget(centralwidget); menubar = new QMenuBar(MainWindow); menubar->setObjectName(QString::fromUtf8("menubar")); menubar->setGeometry(QRect(0, 0, 859, 21)); MainWindow->setMenuBar(menubar); statusBar = new QStatusBar(MainWindow); statusBar->setObjectName(QString::fromUtf8("statusBar")); MainWindow->setStatusBar(statusBar); retranslateUi(MainWindow); QMetaObject::connectSlotsByName(MainWindow); } // setupUi void retranslateUi(QMainWindow *MainWindow) { MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "MainWindow", nullptr)); portLabel->setText(QCoreApplication::translate("MainWindow", "\347\253\257\345\217\243", nullptr)); baudRateLabel->setText(QCoreApplication::translate("MainWindow", "\346\263\242\347\211\271\347\216\207", nullptr)); openButton->setText(QCoreApplication::translate("MainWindow", "\346\211\223\345\274\200", nullptr)); closeButton->setText(QCoreApplication::translate("MainWindow", "\345\205\263\351\227\255", nullptr)); statusLabel->setText(QCoreApplication::translate("MainWindow", "\344\270\262\345\217\243\347\212\266\346\200\201\357\274\232", nullptr)); sendDataLabel->setText(QCoreApplication::translate("MainWindow", "\345\217\221\351\200\201\345\214\272", nullptr)); sendButton->setText(QCoreApplication::translate("MainWindow", "\345\217\221\351\200\201", nullptr)); clearSendButton->setText(QCoreApplication::translate("MainWindow", "\346\270\205\351\231\244", nullptr)); hexSendCheckBox->setText(QCoreApplication::translate("MainWindow", "\345\215\201\345\205\255\350\277\233\345\210\266", nullptr)); timerButton->setText(QCoreApplication::translate("MainWindow", "\345\221\250\346\234\237\345\217\221\351\200\201", nullptr)); label->setText(QCoreApplication::translate("MainWindow", "ms", nullptr)); receiveDataLabel->setText(QCoreApplication::translate("MainWindow", "\346\216\245\346\224\266\345\214\272", nullptr)); hexDisplayCheckBox->setText(QCoreApplication::translate("MainWindow", "\345\215\201\345\205\255\350\277\233\345\210\266", nullptr)); clearReceiveButton->setText(QCoreApplication::translate("MainWindow", "\346\270\205\351\231\244", nullptr)); convertedDataLabel->setText(QCoreApplication::translate("MainWindow", "\350\247\243\346\236\220\345\214\272", nullptr)); clearDecimalButton->setText(QCoreApplication::translate("MainWindow", "\346\270\205\351\231\244", nullptr)); saveButton->setText(QCoreApplication::translate("MainWindow", "\344\277\235\345\255\230\346\226\207\344\273\266", nullptr)); realTimeSaveCheckBox->setText(QCoreApplication::translate("MainWindow", "\345\256\236\346\227\266\344\277\235\345\255\230", nullptr)); } // retranslateUi }; namespace Ui { class MainWindow: public Ui_MainWindow {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_MAINWINDOW_H