| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'mainwindow.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_MAINWINDOW_H |
| 10 | #define UI_MAINWINDOW_H |
| 11 | |
| 12 | #include <QtCore/QVariant> |
| 13 | #include <QtWidgets/QAction> |
| 14 | #include <QtWidgets/QApplication> |
| 15 | #include <QtWidgets/QCheckBox> |
| 16 | #include <QtWidgets/QComboBox> |
| 17 | #include <QtWidgets/QGridLayout> |
| 18 | #include <QtWidgets/QHBoxLayout> |
| 19 | #include <QtWidgets/QLabel> |
| 20 | #include <QtWidgets/QLineEdit> |
| 21 | #include <QtWidgets/QMainWindow> |
| 22 | #include <QtWidgets/QMenu> |
| 23 | #include <QtWidgets/QMenuBar> |
| 24 | #include <QtWidgets/QPushButton> |
| 25 | #include <QtWidgets/QSpacerItem> |
| 26 | #include <QtWidgets/QSpinBox> |
| 27 | #include <QtWidgets/QStatusBar> |
| 28 | #include <QtWidgets/QVBoxLayout> |
| 29 | #include <QtWidgets/QWidget> |
| 30 | |
| 31 | QT_BEGIN_NAMESPACE |
| 32 | |
| 33 | class Ui_MainWindow |
| 34 | { |
| 35 | public: |
| 36 | QAction *actionConnect; |
| 37 | QAction *actionDisconnect; |
| 38 | QAction *actionExit; |
| 39 | QAction *actionOptions; |
| 40 | QWidget *centralWidget; |
| 41 | QVBoxLayout *verticalLayout; |
| 42 | QGridLayout *gridLayout; |
| 43 | QLabel *label_27; |
| 44 | QPushButton *connectButton; |
| 45 | QSpinBox *serverEdit; |
| 46 | QSpacerItem *horizontalSpacer; |
| 47 | QComboBox *connectType; |
| 48 | QLabel *label_2; |
| 49 | QLabel *label; |
| 50 | QLineEdit *portEdit; |
| 51 | QHBoxLayout *horizontalLayout; |
| 52 | QCheckBox *setBusyBox; |
| 53 | QCheckBox *listenOnlyBox; |
| 54 | QSpacerItem *horizontalSpacer_2; |
| 55 | QSpacerItem *verticalSpacer; |
| 56 | QGridLayout *gridLayout_2; |
| 57 | QCheckBox *disc_2; |
| 58 | QLabel *label_23; |
| 59 | QLineEdit *holdReg_2; |
| 60 | QCheckBox *coils_3; |
| 61 | QLineEdit *inReg_2; |
| 62 | QCheckBox *disc_3; |
| 63 | QLabel *label_11; |
| 64 | QLineEdit *inReg_3; |
| 65 | QCheckBox *coils_4; |
| 66 | QLineEdit *holdReg_3; |
| 67 | QCheckBox *disc_4; |
| 68 | QLabel *label_8; |
| 69 | QLineEdit *inReg_4; |
| 70 | QLineEdit *holdReg_4; |
| 71 | QCheckBox *coils_5; |
| 72 | QLineEdit *inReg_5; |
| 73 | QCheckBox *disc_5; |
| 74 | QLabel *label_12; |
| 75 | QLineEdit *holdReg_5; |
| 76 | QCheckBox *coils_6; |
| 77 | QLineEdit *holdReg_0; |
| 78 | QCheckBox *coils_1; |
| 79 | QCheckBox *disc_1; |
| 80 | QLabel *label_22; |
| 81 | QLineEdit *inReg_1; |
| 82 | QLineEdit *holdReg_1; |
| 83 | QCheckBox *coils_2; |
| 84 | QLineEdit *inReg_9; |
| 85 | QLabel *label_16; |
| 86 | QCheckBox *disc_9; |
| 87 | QLineEdit *holdReg_9; |
| 88 | QLineEdit *inReg_6; |
| 89 | QCheckBox *disc_6; |
| 90 | QLineEdit *holdReg_6; |
| 91 | QCheckBox *coils_7; |
| 92 | QLabel *label_13; |
| 93 | QCheckBox *disc_7; |
| 94 | QLineEdit *inReg_7; |
| 95 | QLabel *label_14; |
| 96 | QLineEdit *holdReg_7; |
| 97 | QCheckBox *coils_8; |
| 98 | QCheckBox *disc_8; |
| 99 | QLabel *label_15; |
| 100 | QLineEdit *inReg_8; |
| 101 | QCheckBox *coils_9; |
| 102 | QLineEdit *holdReg_8; |
| 103 | QLabel *discreteInputs; |
| 104 | QLabel *inputRegisters; |
| 105 | QLabel *coils; |
| 106 | QLabel *address; |
| 107 | QLabel *holdingRegisters; |
| 108 | QCheckBox *coils_0; |
| 109 | QCheckBox *disc_0; |
| 110 | QLineEdit *inReg_0; |
| 111 | QLabel *label_21; |
| 112 | QSpacerItem *verticalSpacer_2; |
| 113 | QStatusBar *statusBar; |
| 114 | QMenuBar *menuBar; |
| 115 | QMenu *menu_Device; |
| 116 | QMenu *menuToo_ls; |
| 117 | |
| 118 | void setupUi(QMainWindow *MainWindow) |
| 119 | { |
| 120 | if (MainWindow->objectName().isEmpty()) |
| 121 | MainWindow->setObjectName(QString::fromUtf8(str: "MainWindow" )); |
| 122 | MainWindow->resize(w: 516, h: 396); |
| 123 | actionConnect = new QAction(MainWindow); |
| 124 | actionConnect->setObjectName(QString::fromUtf8(str: "actionConnect" )); |
| 125 | QIcon icon; |
| 126 | icon.addFile(fileName: QString::fromUtf8(str: ":/images/connect.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 127 | actionConnect->setIcon(icon); |
| 128 | actionDisconnect = new QAction(MainWindow); |
| 129 | actionDisconnect->setObjectName(QString::fromUtf8(str: "actionDisconnect" )); |
| 130 | QIcon icon1; |
| 131 | icon1.addFile(fileName: QString::fromUtf8(str: ":/images/disconnect.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 132 | actionDisconnect->setIcon(icon1); |
| 133 | actionExit = new QAction(MainWindow); |
| 134 | actionExit->setObjectName(QString::fromUtf8(str: "actionExit" )); |
| 135 | QIcon icon2; |
| 136 | icon2.addFile(fileName: QString::fromUtf8(str: ":/images/application-exit.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 137 | actionExit->setIcon(icon2); |
| 138 | actionOptions = new QAction(MainWindow); |
| 139 | actionOptions->setObjectName(QString::fromUtf8(str: "actionOptions" )); |
| 140 | QIcon icon3; |
| 141 | icon3.addFile(fileName: QString::fromUtf8(str: ":/images/settings.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 142 | actionOptions->setIcon(icon3); |
| 143 | centralWidget = new QWidget(MainWindow); |
| 144 | centralWidget->setObjectName(QString::fromUtf8(str: "centralWidget" )); |
| 145 | verticalLayout = new QVBoxLayout(centralWidget); |
| 146 | verticalLayout->setSpacing(6); |
| 147 | verticalLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
| 148 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 149 | verticalLayout->setContentsMargins(left: -1, top: 9, right: -1, bottom: 0); |
| 150 | gridLayout = new QGridLayout(); |
| 151 | gridLayout->setSpacing(6); |
| 152 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
| 153 | label_27 = new QLabel(centralWidget); |
| 154 | label_27->setObjectName(QString::fromUtf8(str: "label_27" )); |
| 155 | QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred); |
| 156 | sizePolicy.setHorizontalStretch(0); |
| 157 | sizePolicy.setVerticalStretch(0); |
| 158 | sizePolicy.setHeightForWidth(label_27->sizePolicy().hasHeightForWidth()); |
| 159 | label_27->setSizePolicy(sizePolicy); |
| 160 | |
| 161 | gridLayout->addWidget(label_27, row: 0, column: 5, rowSpan: 1, columnSpan: 1); |
| 162 | |
| 163 | connectButton = new QPushButton(centralWidget); |
| 164 | connectButton->setObjectName(QString::fromUtf8(str: "connectButton" )); |
| 165 | QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Fixed); |
| 166 | sizePolicy1.setHorizontalStretch(0); |
| 167 | sizePolicy1.setVerticalStretch(0); |
| 168 | sizePolicy1.setHeightForWidth(connectButton->sizePolicy().hasHeightForWidth()); |
| 169 | connectButton->setSizePolicy(sizePolicy1); |
| 170 | connectButton->setCheckable(false); |
| 171 | connectButton->setAutoDefault(false); |
| 172 | |
| 173 | gridLayout->addWidget(connectButton, row: 0, column: 7, rowSpan: 1, columnSpan: 1); |
| 174 | |
| 175 | serverEdit = new QSpinBox(centralWidget); |
| 176 | serverEdit->setObjectName(QString::fromUtf8(str: "serverEdit" )); |
| 177 | sizePolicy1.setHeightForWidth(serverEdit->sizePolicy().hasHeightForWidth()); |
| 178 | serverEdit->setSizePolicy(sizePolicy1); |
| 179 | serverEdit->setMinimum(1); |
| 180 | serverEdit->setMaximum(247); |
| 181 | |
| 182 | gridLayout->addWidget(serverEdit, row: 0, column: 6, rowSpan: 1, columnSpan: 1); |
| 183 | |
| 184 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 185 | |
| 186 | gridLayout->addItem(item: horizontalSpacer, row: 0, column: 4, rowSpan: 1, columnSpan: 1); |
| 187 | |
| 188 | connectType = new QComboBox(centralWidget); |
| 189 | connectType->addItem(atext: QString()); |
| 190 | connectType->addItem(atext: QString()); |
| 191 | connectType->setObjectName(QString::fromUtf8(str: "connectType" )); |
| 192 | |
| 193 | gridLayout->addWidget(connectType, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 194 | |
| 195 | label_2 = new QLabel(centralWidget); |
| 196 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
| 197 | sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth()); |
| 198 | label_2->setSizePolicy(sizePolicy); |
| 199 | |
| 200 | gridLayout->addWidget(label_2, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
| 201 | |
| 202 | label = new QLabel(centralWidget); |
| 203 | label->setObjectName(QString::fromUtf8(str: "label" )); |
| 204 | |
| 205 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 206 | |
| 207 | portEdit = new QLineEdit(centralWidget); |
| 208 | portEdit->setObjectName(QString::fromUtf8(str: "portEdit" )); |
| 209 | QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed); |
| 210 | sizePolicy2.setHorizontalStretch(0); |
| 211 | sizePolicy2.setVerticalStretch(0); |
| 212 | sizePolicy2.setHeightForWidth(portEdit->sizePolicy().hasHeightForWidth()); |
| 213 | portEdit->setSizePolicy(sizePolicy2); |
| 214 | |
| 215 | gridLayout->addWidget(portEdit, row: 0, column: 3, rowSpan: 1, columnSpan: 1); |
| 216 | |
| 217 | |
| 218 | verticalLayout->addLayout(layout: gridLayout); |
| 219 | |
| 220 | horizontalLayout = new QHBoxLayout(); |
| 221 | horizontalLayout->setSpacing(6); |
| 222 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
| 223 | setBusyBox = new QCheckBox(centralWidget); |
| 224 | setBusyBox->setObjectName(QString::fromUtf8(str: "setBusyBox" )); |
| 225 | |
| 226 | horizontalLayout->addWidget(setBusyBox); |
| 227 | |
| 228 | listenOnlyBox = new QCheckBox(centralWidget); |
| 229 | listenOnlyBox->setObjectName(QString::fromUtf8(str: "listenOnlyBox" )); |
| 230 | |
| 231 | horizontalLayout->addWidget(listenOnlyBox); |
| 232 | |
| 233 | horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 234 | |
| 235 | horizontalLayout->addItem(horizontalSpacer_2); |
| 236 | |
| 237 | |
| 238 | verticalLayout->addLayout(layout: horizontalLayout); |
| 239 | |
| 240 | verticalSpacer = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Maximum); |
| 241 | |
| 242 | verticalLayout->addItem(verticalSpacer); |
| 243 | |
| 244 | gridLayout_2 = new QGridLayout(); |
| 245 | gridLayout_2->setSpacing(6); |
| 246 | gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2" )); |
| 247 | disc_2 = new QCheckBox(centralWidget); |
| 248 | disc_2->setObjectName(QString::fromUtf8(str: "disc_2" )); |
| 249 | |
| 250 | gridLayout_2->addWidget(disc_2, row: 3, column: 1, rowSpan: 1, columnSpan: 1); |
| 251 | |
| 252 | label_23 = new QLabel(centralWidget); |
| 253 | label_23->setObjectName(QString::fromUtf8(str: "label_23" )); |
| 254 | label_23->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 255 | |
| 256 | gridLayout_2->addWidget(label_23, row: 3, column: 2, rowSpan: 1, columnSpan: 1); |
| 257 | |
| 258 | holdReg_2 = new QLineEdit(centralWidget); |
| 259 | holdReg_2->setObjectName(QString::fromUtf8(str: "holdReg_2" )); |
| 260 | holdReg_2->setMaxLength(32767); |
| 261 | |
| 262 | gridLayout_2->addWidget(holdReg_2, row: 3, column: 4, rowSpan: 1, columnSpan: 1); |
| 263 | |
| 264 | coils_3 = new QCheckBox(centralWidget); |
| 265 | coils_3->setObjectName(QString::fromUtf8(str: "coils_3" )); |
| 266 | sizePolicy1.setHeightForWidth(coils_3->sizePolicy().hasHeightForWidth()); |
| 267 | coils_3->setSizePolicy(sizePolicy1); |
| 268 | |
| 269 | gridLayout_2->addWidget(coils_3, row: 4, column: 0, rowSpan: 1, columnSpan: 1); |
| 270 | |
| 271 | inReg_2 = new QLineEdit(centralWidget); |
| 272 | inReg_2->setObjectName(QString::fromUtf8(str: "inReg_2" )); |
| 273 | inReg_2->setMaxLength(32767); |
| 274 | |
| 275 | gridLayout_2->addWidget(inReg_2, row: 3, column: 3, rowSpan: 1, columnSpan: 1); |
| 276 | |
| 277 | disc_3 = new QCheckBox(centralWidget); |
| 278 | disc_3->setObjectName(QString::fromUtf8(str: "disc_3" )); |
| 279 | |
| 280 | gridLayout_2->addWidget(disc_3, row: 4, column: 1, rowSpan: 1, columnSpan: 1); |
| 281 | |
| 282 | label_11 = new QLabel(centralWidget); |
| 283 | label_11->setObjectName(QString::fromUtf8(str: "label_11" )); |
| 284 | label_11->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 285 | |
| 286 | gridLayout_2->addWidget(label_11, row: 4, column: 2, rowSpan: 1, columnSpan: 1); |
| 287 | |
| 288 | inReg_3 = new QLineEdit(centralWidget); |
| 289 | inReg_3->setObjectName(QString::fromUtf8(str: "inReg_3" )); |
| 290 | inReg_3->setMaxLength(32767); |
| 291 | |
| 292 | gridLayout_2->addWidget(inReg_3, row: 4, column: 3, rowSpan: 1, columnSpan: 1); |
| 293 | |
| 294 | coils_4 = new QCheckBox(centralWidget); |
| 295 | coils_4->setObjectName(QString::fromUtf8(str: "coils_4" )); |
| 296 | sizePolicy1.setHeightForWidth(coils_4->sizePolicy().hasHeightForWidth()); |
| 297 | coils_4->setSizePolicy(sizePolicy1); |
| 298 | |
| 299 | gridLayout_2->addWidget(coils_4, row: 5, column: 0, rowSpan: 1, columnSpan: 1); |
| 300 | |
| 301 | holdReg_3 = new QLineEdit(centralWidget); |
| 302 | holdReg_3->setObjectName(QString::fromUtf8(str: "holdReg_3" )); |
| 303 | holdReg_3->setMaxLength(32767); |
| 304 | |
| 305 | gridLayout_2->addWidget(holdReg_3, row: 4, column: 4, rowSpan: 1, columnSpan: 1); |
| 306 | |
| 307 | disc_4 = new QCheckBox(centralWidget); |
| 308 | disc_4->setObjectName(QString::fromUtf8(str: "disc_4" )); |
| 309 | |
| 310 | gridLayout_2->addWidget(disc_4, row: 5, column: 1, rowSpan: 1, columnSpan: 1); |
| 311 | |
| 312 | label_8 = new QLabel(centralWidget); |
| 313 | label_8->setObjectName(QString::fromUtf8(str: "label_8" )); |
| 314 | label_8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 315 | |
| 316 | gridLayout_2->addWidget(label_8, row: 5, column: 2, rowSpan: 1, columnSpan: 1); |
| 317 | |
| 318 | inReg_4 = new QLineEdit(centralWidget); |
| 319 | inReg_4->setObjectName(QString::fromUtf8(str: "inReg_4" )); |
| 320 | inReg_4->setMaxLength(32767); |
| 321 | |
| 322 | gridLayout_2->addWidget(inReg_4, row: 5, column: 3, rowSpan: 1, columnSpan: 1); |
| 323 | |
| 324 | holdReg_4 = new QLineEdit(centralWidget); |
| 325 | holdReg_4->setObjectName(QString::fromUtf8(str: "holdReg_4" )); |
| 326 | holdReg_4->setMaxLength(32767); |
| 327 | |
| 328 | gridLayout_2->addWidget(holdReg_4, row: 5, column: 4, rowSpan: 1, columnSpan: 1); |
| 329 | |
| 330 | coils_5 = new QCheckBox(centralWidget); |
| 331 | coils_5->setObjectName(QString::fromUtf8(str: "coils_5" )); |
| 332 | sizePolicy1.setHeightForWidth(coils_5->sizePolicy().hasHeightForWidth()); |
| 333 | coils_5->setSizePolicy(sizePolicy1); |
| 334 | |
| 335 | gridLayout_2->addWidget(coils_5, row: 6, column: 0, rowSpan: 1, columnSpan: 1); |
| 336 | |
| 337 | inReg_5 = new QLineEdit(centralWidget); |
| 338 | inReg_5->setObjectName(QString::fromUtf8(str: "inReg_5" )); |
| 339 | inReg_5->setMaxLength(32767); |
| 340 | |
| 341 | gridLayout_2->addWidget(inReg_5, row: 6, column: 3, rowSpan: 1, columnSpan: 1); |
| 342 | |
| 343 | disc_5 = new QCheckBox(centralWidget); |
| 344 | disc_5->setObjectName(QString::fromUtf8(str: "disc_5" )); |
| 345 | |
| 346 | gridLayout_2->addWidget(disc_5, row: 6, column: 1, rowSpan: 1, columnSpan: 1); |
| 347 | |
| 348 | label_12 = new QLabel(centralWidget); |
| 349 | label_12->setObjectName(QString::fromUtf8(str: "label_12" )); |
| 350 | label_12->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 351 | |
| 352 | gridLayout_2->addWidget(label_12, row: 6, column: 2, rowSpan: 1, columnSpan: 1); |
| 353 | |
| 354 | holdReg_5 = new QLineEdit(centralWidget); |
| 355 | holdReg_5->setObjectName(QString::fromUtf8(str: "holdReg_5" )); |
| 356 | holdReg_5->setMaxLength(32767); |
| 357 | |
| 358 | gridLayout_2->addWidget(holdReg_5, row: 6, column: 4, rowSpan: 1, columnSpan: 1); |
| 359 | |
| 360 | coils_6 = new QCheckBox(centralWidget); |
| 361 | coils_6->setObjectName(QString::fromUtf8(str: "coils_6" )); |
| 362 | sizePolicy1.setHeightForWidth(coils_6->sizePolicy().hasHeightForWidth()); |
| 363 | coils_6->setSizePolicy(sizePolicy1); |
| 364 | |
| 365 | gridLayout_2->addWidget(coils_6, row: 7, column: 0, rowSpan: 1, columnSpan: 1); |
| 366 | |
| 367 | holdReg_0 = new QLineEdit(centralWidget); |
| 368 | holdReg_0->setObjectName(QString::fromUtf8(str: "holdReg_0" )); |
| 369 | holdReg_0->setMaxLength(32767); |
| 370 | |
| 371 | gridLayout_2->addWidget(holdReg_0, row: 1, column: 4, rowSpan: 1, columnSpan: 1); |
| 372 | |
| 373 | coils_1 = new QCheckBox(centralWidget); |
| 374 | coils_1->setObjectName(QString::fromUtf8(str: "coils_1" )); |
| 375 | sizePolicy1.setHeightForWidth(coils_1->sizePolicy().hasHeightForWidth()); |
| 376 | coils_1->setSizePolicy(sizePolicy1); |
| 377 | |
| 378 | gridLayout_2->addWidget(coils_1, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 379 | |
| 380 | disc_1 = new QCheckBox(centralWidget); |
| 381 | disc_1->setObjectName(QString::fromUtf8(str: "disc_1" )); |
| 382 | |
| 383 | gridLayout_2->addWidget(disc_1, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
| 384 | |
| 385 | label_22 = new QLabel(centralWidget); |
| 386 | label_22->setObjectName(QString::fromUtf8(str: "label_22" )); |
| 387 | label_22->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 388 | |
| 389 | gridLayout_2->addWidget(label_22, row: 2, column: 2, rowSpan: 1, columnSpan: 1); |
| 390 | |
| 391 | inReg_1 = new QLineEdit(centralWidget); |
| 392 | inReg_1->setObjectName(QString::fromUtf8(str: "inReg_1" )); |
| 393 | inReg_1->setMaxLength(32767); |
| 394 | |
| 395 | gridLayout_2->addWidget(inReg_1, row: 2, column: 3, rowSpan: 1, columnSpan: 1); |
| 396 | |
| 397 | holdReg_1 = new QLineEdit(centralWidget); |
| 398 | holdReg_1->setObjectName(QString::fromUtf8(str: "holdReg_1" )); |
| 399 | holdReg_1->setMaxLength(32767); |
| 400 | |
| 401 | gridLayout_2->addWidget(holdReg_1, row: 2, column: 4, rowSpan: 1, columnSpan: 1); |
| 402 | |
| 403 | coils_2 = new QCheckBox(centralWidget); |
| 404 | coils_2->setObjectName(QString::fromUtf8(str: "coils_2" )); |
| 405 | sizePolicy1.setHeightForWidth(coils_2->sizePolicy().hasHeightForWidth()); |
| 406 | coils_2->setSizePolicy(sizePolicy1); |
| 407 | |
| 408 | gridLayout_2->addWidget(coils_2, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
| 409 | |
| 410 | inReg_9 = new QLineEdit(centralWidget); |
| 411 | inReg_9->setObjectName(QString::fromUtf8(str: "inReg_9" )); |
| 412 | inReg_9->setMaxLength(32767); |
| 413 | |
| 414 | gridLayout_2->addWidget(inReg_9, row: 10, column: 3, rowSpan: 1, columnSpan: 1); |
| 415 | |
| 416 | label_16 = new QLabel(centralWidget); |
| 417 | label_16->setObjectName(QString::fromUtf8(str: "label_16" )); |
| 418 | label_16->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 419 | |
| 420 | gridLayout_2->addWidget(label_16, row: 10, column: 2, rowSpan: 1, columnSpan: 1); |
| 421 | |
| 422 | disc_9 = new QCheckBox(centralWidget); |
| 423 | disc_9->setObjectName(QString::fromUtf8(str: "disc_9" )); |
| 424 | |
| 425 | gridLayout_2->addWidget(disc_9, row: 10, column: 1, rowSpan: 1, columnSpan: 1); |
| 426 | |
| 427 | holdReg_9 = new QLineEdit(centralWidget); |
| 428 | holdReg_9->setObjectName(QString::fromUtf8(str: "holdReg_9" )); |
| 429 | holdReg_9->setMaxLength(32767); |
| 430 | |
| 431 | gridLayout_2->addWidget(holdReg_9, row: 10, column: 4, rowSpan: 1, columnSpan: 1); |
| 432 | |
| 433 | inReg_6 = new QLineEdit(centralWidget); |
| 434 | inReg_6->setObjectName(QString::fromUtf8(str: "inReg_6" )); |
| 435 | inReg_6->setMaxLength(32767); |
| 436 | |
| 437 | gridLayout_2->addWidget(inReg_6, row: 7, column: 3, rowSpan: 1, columnSpan: 1); |
| 438 | |
| 439 | disc_6 = new QCheckBox(centralWidget); |
| 440 | disc_6->setObjectName(QString::fromUtf8(str: "disc_6" )); |
| 441 | |
| 442 | gridLayout_2->addWidget(disc_6, row: 7, column: 1, rowSpan: 1, columnSpan: 1); |
| 443 | |
| 444 | holdReg_6 = new QLineEdit(centralWidget); |
| 445 | holdReg_6->setObjectName(QString::fromUtf8(str: "holdReg_6" )); |
| 446 | holdReg_6->setMaxLength(32767); |
| 447 | |
| 448 | gridLayout_2->addWidget(holdReg_6, row: 7, column: 4, rowSpan: 1, columnSpan: 1); |
| 449 | |
| 450 | coils_7 = new QCheckBox(centralWidget); |
| 451 | coils_7->setObjectName(QString::fromUtf8(str: "coils_7" )); |
| 452 | sizePolicy1.setHeightForWidth(coils_7->sizePolicy().hasHeightForWidth()); |
| 453 | coils_7->setSizePolicy(sizePolicy1); |
| 454 | |
| 455 | gridLayout_2->addWidget(coils_7, row: 8, column: 0, rowSpan: 1, columnSpan: 1); |
| 456 | |
| 457 | label_13 = new QLabel(centralWidget); |
| 458 | label_13->setObjectName(QString::fromUtf8(str: "label_13" )); |
| 459 | label_13->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 460 | |
| 461 | gridLayout_2->addWidget(label_13, row: 7, column: 2, rowSpan: 1, columnSpan: 1); |
| 462 | |
| 463 | disc_7 = new QCheckBox(centralWidget); |
| 464 | disc_7->setObjectName(QString::fromUtf8(str: "disc_7" )); |
| 465 | |
| 466 | gridLayout_2->addWidget(disc_7, row: 8, column: 1, rowSpan: 1, columnSpan: 1); |
| 467 | |
| 468 | inReg_7 = new QLineEdit(centralWidget); |
| 469 | inReg_7->setObjectName(QString::fromUtf8(str: "inReg_7" )); |
| 470 | inReg_7->setMaxLength(32767); |
| 471 | |
| 472 | gridLayout_2->addWidget(inReg_7, row: 8, column: 3, rowSpan: 1, columnSpan: 1); |
| 473 | |
| 474 | label_14 = new QLabel(centralWidget); |
| 475 | label_14->setObjectName(QString::fromUtf8(str: "label_14" )); |
| 476 | label_14->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 477 | |
| 478 | gridLayout_2->addWidget(label_14, row: 8, column: 2, rowSpan: 1, columnSpan: 1); |
| 479 | |
| 480 | holdReg_7 = new QLineEdit(centralWidget); |
| 481 | holdReg_7->setObjectName(QString::fromUtf8(str: "holdReg_7" )); |
| 482 | holdReg_7->setMaxLength(32767); |
| 483 | |
| 484 | gridLayout_2->addWidget(holdReg_7, row: 8, column: 4, rowSpan: 1, columnSpan: 1); |
| 485 | |
| 486 | coils_8 = new QCheckBox(centralWidget); |
| 487 | coils_8->setObjectName(QString::fromUtf8(str: "coils_8" )); |
| 488 | sizePolicy1.setHeightForWidth(coils_8->sizePolicy().hasHeightForWidth()); |
| 489 | coils_8->setSizePolicy(sizePolicy1); |
| 490 | |
| 491 | gridLayout_2->addWidget(coils_8, row: 9, column: 0, rowSpan: 1, columnSpan: 1); |
| 492 | |
| 493 | disc_8 = new QCheckBox(centralWidget); |
| 494 | disc_8->setObjectName(QString::fromUtf8(str: "disc_8" )); |
| 495 | |
| 496 | gridLayout_2->addWidget(disc_8, row: 9, column: 1, rowSpan: 1, columnSpan: 1); |
| 497 | |
| 498 | label_15 = new QLabel(centralWidget); |
| 499 | label_15->setObjectName(QString::fromUtf8(str: "label_15" )); |
| 500 | label_15->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 501 | |
| 502 | gridLayout_2->addWidget(label_15, row: 9, column: 2, rowSpan: 1, columnSpan: 1); |
| 503 | |
| 504 | inReg_8 = new QLineEdit(centralWidget); |
| 505 | inReg_8->setObjectName(QString::fromUtf8(str: "inReg_8" )); |
| 506 | inReg_8->setMaxLength(32767); |
| 507 | |
| 508 | gridLayout_2->addWidget(inReg_8, row: 9, column: 3, rowSpan: 1, columnSpan: 1); |
| 509 | |
| 510 | coils_9 = new QCheckBox(centralWidget); |
| 511 | coils_9->setObjectName(QString::fromUtf8(str: "coils_9" )); |
| 512 | sizePolicy1.setHeightForWidth(coils_9->sizePolicy().hasHeightForWidth()); |
| 513 | coils_9->setSizePolicy(sizePolicy1); |
| 514 | |
| 515 | gridLayout_2->addWidget(coils_9, row: 10, column: 0, rowSpan: 1, columnSpan: 1); |
| 516 | |
| 517 | holdReg_8 = new QLineEdit(centralWidget); |
| 518 | holdReg_8->setObjectName(QString::fromUtf8(str: "holdReg_8" )); |
| 519 | holdReg_8->setMaxLength(32767); |
| 520 | |
| 521 | gridLayout_2->addWidget(holdReg_8, row: 9, column: 4, rowSpan: 1, columnSpan: 1); |
| 522 | |
| 523 | discreteInputs = new QLabel(centralWidget); |
| 524 | discreteInputs->setObjectName(QString::fromUtf8(str: "discreteInputs" )); |
| 525 | |
| 526 | gridLayout_2->addWidget(discreteInputs, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 527 | |
| 528 | inputRegisters = new QLabel(centralWidget); |
| 529 | inputRegisters->setObjectName(QString::fromUtf8(str: "inputRegisters" )); |
| 530 | |
| 531 | gridLayout_2->addWidget(inputRegisters, row: 0, column: 3, rowSpan: 1, columnSpan: 1); |
| 532 | |
| 533 | coils = new QLabel(centralWidget); |
| 534 | coils->setObjectName(QString::fromUtf8(str: "coils" )); |
| 535 | sizePolicy.setHeightForWidth(coils->sizePolicy().hasHeightForWidth()); |
| 536 | coils->setSizePolicy(sizePolicy); |
| 537 | |
| 538 | gridLayout_2->addWidget(coils, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 539 | |
| 540 | address = new QLabel(centralWidget); |
| 541 | address->setObjectName(QString::fromUtf8(str: "address" )); |
| 542 | address->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 543 | |
| 544 | gridLayout_2->addWidget(address, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
| 545 | |
| 546 | holdingRegisters = new QLabel(centralWidget); |
| 547 | holdingRegisters->setObjectName(QString::fromUtf8(str: "holdingRegisters" )); |
| 548 | |
| 549 | gridLayout_2->addWidget(holdingRegisters, row: 0, column: 4, rowSpan: 1, columnSpan: 1); |
| 550 | |
| 551 | coils_0 = new QCheckBox(centralWidget); |
| 552 | coils_0->setObjectName(QString::fromUtf8(str: "coils_0" )); |
| 553 | sizePolicy1.setHeightForWidth(coils_0->sizePolicy().hasHeightForWidth()); |
| 554 | coils_0->setSizePolicy(sizePolicy1); |
| 555 | |
| 556 | gridLayout_2->addWidget(coils_0, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 557 | |
| 558 | disc_0 = new QCheckBox(centralWidget); |
| 559 | disc_0->setObjectName(QString::fromUtf8(str: "disc_0" )); |
| 560 | |
| 561 | gridLayout_2->addWidget(disc_0, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
| 562 | |
| 563 | inReg_0 = new QLineEdit(centralWidget); |
| 564 | inReg_0->setObjectName(QString::fromUtf8(str: "inReg_0" )); |
| 565 | inReg_0->setMaxLength(32767); |
| 566 | |
| 567 | gridLayout_2->addWidget(inReg_0, row: 1, column: 3, rowSpan: 1, columnSpan: 1); |
| 568 | |
| 569 | label_21 = new QLabel(centralWidget); |
| 570 | label_21->setObjectName(QString::fromUtf8(str: "label_21" )); |
| 571 | label_21->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
| 572 | |
| 573 | gridLayout_2->addWidget(label_21, row: 1, column: 2, rowSpan: 1, columnSpan: 1); |
| 574 | |
| 575 | |
| 576 | verticalLayout->addLayout(layout: gridLayout_2); |
| 577 | |
| 578 | verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding); |
| 579 | |
| 580 | verticalLayout->addItem(verticalSpacer_2); |
| 581 | |
| 582 | MainWindow->setCentralWidget(centralWidget); |
| 583 | statusBar = new QStatusBar(MainWindow); |
| 584 | statusBar->setObjectName(QString::fromUtf8(str: "statusBar" )); |
| 585 | MainWindow->setStatusBar(statusBar); |
| 586 | menuBar = new QMenuBar(MainWindow); |
| 587 | menuBar->setObjectName(QString::fromUtf8(str: "menuBar" )); |
| 588 | menuBar->setGeometry(QRect(0, 0, 516, 21)); |
| 589 | menu_Device = new QMenu(menuBar); |
| 590 | menu_Device->setObjectName(QString::fromUtf8(str: "menu_Device" )); |
| 591 | menuToo_ls = new QMenu(menuBar); |
| 592 | menuToo_ls->setObjectName(QString::fromUtf8(str: "menuToo_ls" )); |
| 593 | MainWindow->setMenuBar(menuBar); |
| 594 | QWidget::setTabOrder(connectType, portEdit); |
| 595 | QWidget::setTabOrder(portEdit, serverEdit); |
| 596 | QWidget::setTabOrder(serverEdit, connectButton); |
| 597 | QWidget::setTabOrder(connectButton, coils_0); |
| 598 | QWidget::setTabOrder(coils_0, disc_0); |
| 599 | QWidget::setTabOrder(disc_0, inReg_0); |
| 600 | QWidget::setTabOrder(inReg_0, holdReg_0); |
| 601 | QWidget::setTabOrder(holdReg_0, coils_1); |
| 602 | QWidget::setTabOrder(coils_1, disc_1); |
| 603 | QWidget::setTabOrder(disc_1, inReg_1); |
| 604 | QWidget::setTabOrder(inReg_1, holdReg_1); |
| 605 | QWidget::setTabOrder(holdReg_1, coils_2); |
| 606 | QWidget::setTabOrder(coils_2, disc_2); |
| 607 | QWidget::setTabOrder(disc_2, inReg_2); |
| 608 | QWidget::setTabOrder(inReg_2, holdReg_2); |
| 609 | QWidget::setTabOrder(holdReg_2, coils_3); |
| 610 | QWidget::setTabOrder(coils_3, disc_3); |
| 611 | QWidget::setTabOrder(disc_3, inReg_3); |
| 612 | QWidget::setTabOrder(inReg_3, holdReg_3); |
| 613 | QWidget::setTabOrder(holdReg_3, coils_4); |
| 614 | QWidget::setTabOrder(coils_4, disc_4); |
| 615 | QWidget::setTabOrder(disc_4, inReg_4); |
| 616 | QWidget::setTabOrder(inReg_4, holdReg_4); |
| 617 | QWidget::setTabOrder(holdReg_4, coils_5); |
| 618 | QWidget::setTabOrder(coils_5, disc_5); |
| 619 | QWidget::setTabOrder(disc_5, inReg_5); |
| 620 | QWidget::setTabOrder(inReg_5, holdReg_5); |
| 621 | QWidget::setTabOrder(holdReg_5, coils_6); |
| 622 | QWidget::setTabOrder(coils_6, disc_6); |
| 623 | QWidget::setTabOrder(disc_6, inReg_6); |
| 624 | QWidget::setTabOrder(inReg_6, holdReg_6); |
| 625 | QWidget::setTabOrder(holdReg_6, coils_7); |
| 626 | QWidget::setTabOrder(coils_7, disc_7); |
| 627 | QWidget::setTabOrder(disc_7, inReg_7); |
| 628 | QWidget::setTabOrder(inReg_7, holdReg_7); |
| 629 | QWidget::setTabOrder(holdReg_7, coils_8); |
| 630 | QWidget::setTabOrder(coils_8, disc_8); |
| 631 | QWidget::setTabOrder(disc_8, inReg_8); |
| 632 | QWidget::setTabOrder(inReg_8, holdReg_8); |
| 633 | QWidget::setTabOrder(holdReg_8, coils_9); |
| 634 | QWidget::setTabOrder(coils_9, disc_9); |
| 635 | QWidget::setTabOrder(disc_9, inReg_9); |
| 636 | QWidget::setTabOrder(inReg_9, holdReg_9); |
| 637 | |
| 638 | menuBar->addAction(action: menu_Device->menuAction()); |
| 639 | menuBar->addAction(action: menuToo_ls->menuAction()); |
| 640 | menu_Device->addAction(action: actionConnect); |
| 641 | menu_Device->addAction(action: actionDisconnect); |
| 642 | menu_Device->addSeparator(); |
| 643 | menu_Device->addAction(action: actionExit); |
| 644 | menuToo_ls->addAction(action: actionOptions); |
| 645 | |
| 646 | retranslateUi(MainWindow); |
| 647 | |
| 648 | connectButton->setDefault(true); |
| 649 | |
| 650 | |
| 651 | QMetaObject::connectSlotsByName(o: MainWindow); |
| 652 | } // setupUi |
| 653 | |
| 654 | void retranslateUi(QMainWindow *MainWindow) |
| 655 | { |
| 656 | MainWindow->setWindowTitle(QCoreApplication::translate(context: "MainWindow" , key: "Modbus Server Example" , disambiguation: nullptr)); |
| 657 | actionConnect->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Connect" , disambiguation: nullptr)); |
| 658 | actionDisconnect->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Disconnect" , disambiguation: nullptr)); |
| 659 | actionExit->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Quit" , disambiguation: nullptr)); |
| 660 | actionOptions->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Options" , disambiguation: nullptr)); |
| 661 | label_27->setText(QCoreApplication::translate(context: "MainWindow" , key: "Server Address:" , disambiguation: nullptr)); |
| 662 | connectButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Connect" , disambiguation: nullptr)); |
| 663 | connectType->setItemText(index: 0, text: QCoreApplication::translate(context: "MainWindow" , key: "Serial" , disambiguation: nullptr)); |
| 664 | connectType->setItemText(index: 1, text: QCoreApplication::translate(context: "MainWindow" , key: "TCP" , disambiguation: nullptr)); |
| 665 | |
| 666 | label_2->setText(QCoreApplication::translate(context: "MainWindow" , key: "Port:" , disambiguation: nullptr)); |
| 667 | label->setText(QCoreApplication::translate(context: "MainWindow" , key: "Connection type:" , disambiguation: nullptr)); |
| 668 | setBusyBox->setText(QCoreApplication::translate(context: "MainWindow" , key: "Set server busy" , disambiguation: nullptr)); |
| 669 | listenOnlyBox->setText(QCoreApplication::translate(context: "MainWindow" , key: "Set server listen only" , disambiguation: nullptr)); |
| 670 | disc_2->setText(QCoreApplication::translate(context: "MainWindow" , key: "2" , disambiguation: nullptr)); |
| 671 | label_23->setText(QCoreApplication::translate(context: "MainWindow" , key: "2" , disambiguation: nullptr)); |
| 672 | holdReg_2->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 673 | coils_3->setText(QCoreApplication::translate(context: "MainWindow" , key: "3" , disambiguation: nullptr)); |
| 674 | inReg_2->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 675 | disc_3->setText(QCoreApplication::translate(context: "MainWindow" , key: "3" , disambiguation: nullptr)); |
| 676 | label_11->setText(QCoreApplication::translate(context: "MainWindow" , key: "3" , disambiguation: nullptr)); |
| 677 | inReg_3->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 678 | coils_4->setText(QCoreApplication::translate(context: "MainWindow" , key: "4" , disambiguation: nullptr)); |
| 679 | holdReg_3->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 680 | disc_4->setText(QCoreApplication::translate(context: "MainWindow" , key: "4" , disambiguation: nullptr)); |
| 681 | label_8->setText(QCoreApplication::translate(context: "MainWindow" , key: "4" , disambiguation: nullptr)); |
| 682 | inReg_4->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 683 | holdReg_4->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 684 | coils_5->setText(QCoreApplication::translate(context: "MainWindow" , key: "5" , disambiguation: nullptr)); |
| 685 | inReg_5->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 686 | disc_5->setText(QCoreApplication::translate(context: "MainWindow" , key: "5" , disambiguation: nullptr)); |
| 687 | label_12->setText(QCoreApplication::translate(context: "MainWindow" , key: "5" , disambiguation: nullptr)); |
| 688 | holdReg_5->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 689 | coils_6->setText(QCoreApplication::translate(context: "MainWindow" , key: "6" , disambiguation: nullptr)); |
| 690 | holdReg_0->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 691 | coils_1->setText(QCoreApplication::translate(context: "MainWindow" , key: "1" , disambiguation: nullptr)); |
| 692 | disc_1->setText(QCoreApplication::translate(context: "MainWindow" , key: "1" , disambiguation: nullptr)); |
| 693 | label_22->setText(QCoreApplication::translate(context: "MainWindow" , key: "1" , disambiguation: nullptr)); |
| 694 | inReg_1->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 695 | holdReg_1->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 696 | coils_2->setText(QCoreApplication::translate(context: "MainWindow" , key: "2" , disambiguation: nullptr)); |
| 697 | inReg_9->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 698 | label_16->setText(QCoreApplication::translate(context: "MainWindow" , key: "9" , disambiguation: nullptr)); |
| 699 | disc_9->setText(QCoreApplication::translate(context: "MainWindow" , key: "9" , disambiguation: nullptr)); |
| 700 | holdReg_9->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 701 | inReg_6->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 702 | disc_6->setText(QCoreApplication::translate(context: "MainWindow" , key: "6" , disambiguation: nullptr)); |
| 703 | holdReg_6->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 704 | coils_7->setText(QCoreApplication::translate(context: "MainWindow" , key: "7" , disambiguation: nullptr)); |
| 705 | label_13->setText(QCoreApplication::translate(context: "MainWindow" , key: "6" , disambiguation: nullptr)); |
| 706 | disc_7->setText(QCoreApplication::translate(context: "MainWindow" , key: "7" , disambiguation: nullptr)); |
| 707 | inReg_7->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 708 | label_14->setText(QCoreApplication::translate(context: "MainWindow" , key: "7" , disambiguation: nullptr)); |
| 709 | holdReg_7->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 710 | coils_8->setText(QCoreApplication::translate(context: "MainWindow" , key: "8" , disambiguation: nullptr)); |
| 711 | disc_8->setText(QCoreApplication::translate(context: "MainWindow" , key: "8" , disambiguation: nullptr)); |
| 712 | label_15->setText(QCoreApplication::translate(context: "MainWindow" , key: "8" , disambiguation: nullptr)); |
| 713 | inReg_8->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 714 | coils_9->setText(QCoreApplication::translate(context: "MainWindow" , key: "9" , disambiguation: nullptr)); |
| 715 | holdReg_8->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 716 | discreteInputs->setText(QCoreApplication::translate(context: "MainWindow" , key: "Discrete Inputs" , disambiguation: nullptr)); |
| 717 | inputRegisters->setText(QCoreApplication::translate(context: "MainWindow" , key: "Input Registers" , disambiguation: nullptr)); |
| 718 | coils->setText(QCoreApplication::translate(context: "MainWindow" , key: "Coils" , disambiguation: nullptr)); |
| 719 | address->setText(QCoreApplication::translate(context: "MainWindow" , key: "Address" , disambiguation: nullptr)); |
| 720 | holdingRegisters->setText(QCoreApplication::translate(context: "MainWindow" , key: "Holding Registers" , disambiguation: nullptr)); |
| 721 | coils_0->setText(QCoreApplication::translate(context: "MainWindow" , key: "0" , disambiguation: nullptr)); |
| 722 | disc_0->setText(QCoreApplication::translate(context: "MainWindow" , key: "0" , disambiguation: nullptr)); |
| 723 | inReg_0->setPlaceholderText(QCoreApplication::translate(context: "MainWindow" , key: "Hexadecimal A-F, a-f, 0-9." , disambiguation: nullptr)); |
| 724 | label_21->setText(QCoreApplication::translate(context: "MainWindow" , key: "0" , disambiguation: nullptr)); |
| 725 | menu_Device->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "&Device" , disambiguation: nullptr)); |
| 726 | menuToo_ls->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Too&ls" , disambiguation: nullptr)); |
| 727 | } // retranslateUi |
| 728 | |
| 729 | }; |
| 730 | |
| 731 | namespace Ui { |
| 732 | class MainWindow: public Ui_MainWindow {}; |
| 733 | } // namespace Ui |
| 734 | |
| 735 | QT_END_NAMESPACE |
| 736 | |
| 737 | #endif // UI_MAINWINDOW_H |
| 738 | |