| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'settingsdialog.ui' |
| 3 | ** |
| 4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 | ********************************************************************************/ |
| 8 | |
| 9 | #ifndef UI_SETTINGSDIALOG_H |
| 10 | #define UI_SETTINGSDIALOG_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QApplication> |
| 14 | #include <QtWidgets/QCheckBox> |
| 15 | #include <QtWidgets/QComboBox> |
| 16 | #include <QtWidgets/QDialog> |
| 17 | #include <QtWidgets/QGridLayout> |
| 18 | #include <QtWidgets/QGroupBox> |
| 19 | #include <QtWidgets/QHBoxLayout> |
| 20 | #include <QtWidgets/QLabel> |
| 21 | #include <QtWidgets/QPushButton> |
| 22 | #include <QtWidgets/QSpacerItem> |
| 23 | #include <QtWidgets/QVBoxLayout> |
| 24 | |
| 25 | QT_BEGIN_NAMESPACE |
| 26 | |
| 27 | class Ui_SettingsDialog |
| 28 | { |
| 29 | public: |
| 30 | QGridLayout *gridLayout_3; |
| 31 | QGroupBox *parametersBox; |
| 32 | QGridLayout *gridLayout_2; |
| 33 | QLabel *baudRateLabel; |
| 34 | QComboBox *baudRateBox; |
| 35 | QLabel *dataBitsLabel; |
| 36 | QComboBox *dataBitsBox; |
| 37 | QLabel *parityLabel; |
| 38 | QComboBox *parityBox; |
| 39 | QLabel *stopBitsLabel; |
| 40 | QComboBox *stopBitsBox; |
| 41 | QLabel *flowControlLabel; |
| 42 | QComboBox *flowControlBox; |
| 43 | QGroupBox *selectBox; |
| 44 | QGridLayout *gridLayout; |
| 45 | QComboBox *serialPortInfoListBox; |
| 46 | QLabel *descriptionLabel; |
| 47 | QLabel *manufacturerLabel; |
| 48 | QLabel *serialNumberLabel; |
| 49 | QLabel *locationLabel; |
| 50 | QLabel *vidLabel; |
| 51 | QLabel *pidLabel; |
| 52 | QHBoxLayout *horizontalLayout; |
| 53 | QSpacerItem *horizontalSpacer; |
| 54 | QPushButton *applyButton; |
| 55 | QGroupBox *additionalOptionsGroupBox; |
| 56 | QVBoxLayout *verticalLayout; |
| 57 | QCheckBox *localEchoCheckBox; |
| 58 | |
| 59 | void setupUi(QDialog *SettingsDialog) |
| 60 | { |
| 61 | if (SettingsDialog->objectName().isEmpty()) |
| 62 | SettingsDialog->setObjectName(QString::fromUtf8(str: "SettingsDialog" )); |
| 63 | SettingsDialog->resize(w: 281, h: 262); |
| 64 | gridLayout_3 = new QGridLayout(SettingsDialog); |
| 65 | gridLayout_3->setObjectName(QString::fromUtf8(str: "gridLayout_3" )); |
| 66 | parametersBox = new QGroupBox(SettingsDialog); |
| 67 | parametersBox->setObjectName(QString::fromUtf8(str: "parametersBox" )); |
| 68 | gridLayout_2 = new QGridLayout(parametersBox); |
| 69 | gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2" )); |
| 70 | baudRateLabel = new QLabel(parametersBox); |
| 71 | baudRateLabel->setObjectName(QString::fromUtf8(str: "baudRateLabel" )); |
| 72 | |
| 73 | gridLayout_2->addWidget(baudRateLabel, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 74 | |
| 75 | baudRateBox = new QComboBox(parametersBox); |
| 76 | baudRateBox->setObjectName(QString::fromUtf8(str: "baudRateBox" )); |
| 77 | |
| 78 | gridLayout_2->addWidget(baudRateBox, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 79 | |
| 80 | dataBitsLabel = new QLabel(parametersBox); |
| 81 | dataBitsLabel->setObjectName(QString::fromUtf8(str: "dataBitsLabel" )); |
| 82 | |
| 83 | gridLayout_2->addWidget(dataBitsLabel, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 84 | |
| 85 | dataBitsBox = new QComboBox(parametersBox); |
| 86 | dataBitsBox->setObjectName(QString::fromUtf8(str: "dataBitsBox" )); |
| 87 | |
| 88 | gridLayout_2->addWidget(dataBitsBox, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
| 89 | |
| 90 | parityLabel = new QLabel(parametersBox); |
| 91 | parityLabel->setObjectName(QString::fromUtf8(str: "parityLabel" )); |
| 92 | |
| 93 | gridLayout_2->addWidget(parityLabel, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 94 | |
| 95 | parityBox = new QComboBox(parametersBox); |
| 96 | parityBox->setObjectName(QString::fromUtf8(str: "parityBox" )); |
| 97 | |
| 98 | gridLayout_2->addWidget(parityBox, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
| 99 | |
| 100 | stopBitsLabel = new QLabel(parametersBox); |
| 101 | stopBitsLabel->setObjectName(QString::fromUtf8(str: "stopBitsLabel" )); |
| 102 | |
| 103 | gridLayout_2->addWidget(stopBitsLabel, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
| 104 | |
| 105 | stopBitsBox = new QComboBox(parametersBox); |
| 106 | stopBitsBox->setObjectName(QString::fromUtf8(str: "stopBitsBox" )); |
| 107 | |
| 108 | gridLayout_2->addWidget(stopBitsBox, row: 3, column: 1, rowSpan: 1, columnSpan: 1); |
| 109 | |
| 110 | flowControlLabel = new QLabel(parametersBox); |
| 111 | flowControlLabel->setObjectName(QString::fromUtf8(str: "flowControlLabel" )); |
| 112 | |
| 113 | gridLayout_2->addWidget(flowControlLabel, row: 4, column: 0, rowSpan: 1, columnSpan: 1); |
| 114 | |
| 115 | flowControlBox = new QComboBox(parametersBox); |
| 116 | flowControlBox->setObjectName(QString::fromUtf8(str: "flowControlBox" )); |
| 117 | |
| 118 | gridLayout_2->addWidget(flowControlBox, row: 4, column: 1, rowSpan: 1, columnSpan: 1); |
| 119 | |
| 120 | |
| 121 | gridLayout_3->addWidget(parametersBox, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 122 | |
| 123 | selectBox = new QGroupBox(SettingsDialog); |
| 124 | selectBox->setObjectName(QString::fromUtf8(str: "selectBox" )); |
| 125 | gridLayout = new QGridLayout(selectBox); |
| 126 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
| 127 | serialPortInfoListBox = new QComboBox(selectBox); |
| 128 | serialPortInfoListBox->setObjectName(QString::fromUtf8(str: "serialPortInfoListBox" )); |
| 129 | |
| 130 | gridLayout->addWidget(serialPortInfoListBox, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 131 | |
| 132 | descriptionLabel = new QLabel(selectBox); |
| 133 | descriptionLabel->setObjectName(QString::fromUtf8(str: "descriptionLabel" )); |
| 134 | |
| 135 | gridLayout->addWidget(descriptionLabel, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 136 | |
| 137 | manufacturerLabel = new QLabel(selectBox); |
| 138 | manufacturerLabel->setObjectName(QString::fromUtf8(str: "manufacturerLabel" )); |
| 139 | |
| 140 | gridLayout->addWidget(manufacturerLabel, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 141 | |
| 142 | serialNumberLabel = new QLabel(selectBox); |
| 143 | serialNumberLabel->setObjectName(QString::fromUtf8(str: "serialNumberLabel" )); |
| 144 | |
| 145 | gridLayout->addWidget(serialNumberLabel, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
| 146 | |
| 147 | locationLabel = new QLabel(selectBox); |
| 148 | locationLabel->setObjectName(QString::fromUtf8(str: "locationLabel" )); |
| 149 | |
| 150 | gridLayout->addWidget(locationLabel, row: 4, column: 0, rowSpan: 1, columnSpan: 1); |
| 151 | |
| 152 | vidLabel = new QLabel(selectBox); |
| 153 | vidLabel->setObjectName(QString::fromUtf8(str: "vidLabel" )); |
| 154 | |
| 155 | gridLayout->addWidget(vidLabel, row: 5, column: 0, rowSpan: 1, columnSpan: 1); |
| 156 | |
| 157 | pidLabel = new QLabel(selectBox); |
| 158 | pidLabel->setObjectName(QString::fromUtf8(str: "pidLabel" )); |
| 159 | |
| 160 | gridLayout->addWidget(pidLabel, row: 6, column: 0, rowSpan: 1, columnSpan: 1); |
| 161 | |
| 162 | |
| 163 | gridLayout_3->addWidget(selectBox, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 164 | |
| 165 | horizontalLayout = new QHBoxLayout(); |
| 166 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
| 167 | horizontalSpacer = new QSpacerItem(96, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 168 | |
| 169 | horizontalLayout->addItem(horizontalSpacer); |
| 170 | |
| 171 | applyButton = new QPushButton(SettingsDialog); |
| 172 | applyButton->setObjectName(QString::fromUtf8(str: "applyButton" )); |
| 173 | |
| 174 | horizontalLayout->addWidget(applyButton); |
| 175 | |
| 176 | |
| 177 | gridLayout_3->addLayout(horizontalLayout, row: 2, column: 0, rowSpan: 1, columnSpan: 2); |
| 178 | |
| 179 | additionalOptionsGroupBox = new QGroupBox(SettingsDialog); |
| 180 | additionalOptionsGroupBox->setObjectName(QString::fromUtf8(str: "additionalOptionsGroupBox" )); |
| 181 | verticalLayout = new QVBoxLayout(additionalOptionsGroupBox); |
| 182 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 183 | localEchoCheckBox = new QCheckBox(additionalOptionsGroupBox); |
| 184 | localEchoCheckBox->setObjectName(QString::fromUtf8(str: "localEchoCheckBox" )); |
| 185 | localEchoCheckBox->setChecked(true); |
| 186 | |
| 187 | verticalLayout->addWidget(localEchoCheckBox); |
| 188 | |
| 189 | |
| 190 | gridLayout_3->addWidget(additionalOptionsGroupBox, row: 1, column: 0, rowSpan: 1, columnSpan: 2); |
| 191 | |
| 192 | |
| 193 | retranslateUi(SettingsDialog); |
| 194 | |
| 195 | QMetaObject::connectSlotsByName(o: SettingsDialog); |
| 196 | } // setupUi |
| 197 | |
| 198 | void retranslateUi(QDialog *SettingsDialog) |
| 199 | { |
| 200 | SettingsDialog->setWindowTitle(QCoreApplication::translate(context: "SettingsDialog" , key: "Settings" , disambiguation: nullptr)); |
| 201 | parametersBox->setTitle(QCoreApplication::translate(context: "SettingsDialog" , key: "Select Parameters" , disambiguation: nullptr)); |
| 202 | baudRateLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "BaudRate:" , disambiguation: nullptr)); |
| 203 | dataBitsLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Data bits:" , disambiguation: nullptr)); |
| 204 | parityLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Parity:" , disambiguation: nullptr)); |
| 205 | stopBitsLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Stop bits:" , disambiguation: nullptr)); |
| 206 | flowControlLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Flow control:" , disambiguation: nullptr)); |
| 207 | selectBox->setTitle(QCoreApplication::translate(context: "SettingsDialog" , key: "Select Serial Port" , disambiguation: nullptr)); |
| 208 | descriptionLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Description:" , disambiguation: nullptr)); |
| 209 | manufacturerLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Manufacturer:" , disambiguation: nullptr)); |
| 210 | serialNumberLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Serial number:" , disambiguation: nullptr)); |
| 211 | locationLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Location:" , disambiguation: nullptr)); |
| 212 | vidLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Vendor ID:" , disambiguation: nullptr)); |
| 213 | pidLabel->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Product ID:" , disambiguation: nullptr)); |
| 214 | applyButton->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Apply" , disambiguation: nullptr)); |
| 215 | additionalOptionsGroupBox->setTitle(QCoreApplication::translate(context: "SettingsDialog" , key: "Additional options" , disambiguation: nullptr)); |
| 216 | localEchoCheckBox->setText(QCoreApplication::translate(context: "SettingsDialog" , key: "Local echo" , disambiguation: nullptr)); |
| 217 | } // retranslateUi |
| 218 | |
| 219 | }; |
| 220 | |
| 221 | namespace Ui { |
| 222 | class SettingsDialog: public Ui_SettingsDialog {}; |
| 223 | } // namespace Ui |
| 224 | |
| 225 | QT_END_NAMESPACE |
| 226 | |
| 227 | #endif // UI_SETTINGSDIALOG_H |
| 228 | |