| 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/QComboBox> |
| 16 | #include <QtWidgets/QGridLayout> |
| 17 | #include <QtWidgets/QGroupBox> |
| 18 | #include <QtWidgets/QHBoxLayout> |
| 19 | #include <QtWidgets/QHeaderView> |
| 20 | #include <QtWidgets/QLabel> |
| 21 | #include <QtWidgets/QLineEdit> |
| 22 | #include <QtWidgets/QListWidget> |
| 23 | #include <QtWidgets/QMainWindow> |
| 24 | #include <QtWidgets/QMenu> |
| 25 | #include <QtWidgets/QMenuBar> |
| 26 | #include <QtWidgets/QPushButton> |
| 27 | #include <QtWidgets/QSpacerItem> |
| 28 | #include <QtWidgets/QSpinBox> |
| 29 | #include <QtWidgets/QStatusBar> |
| 30 | #include <QtWidgets/QTreeView> |
| 31 | #include <QtWidgets/QVBoxLayout> |
| 32 | #include <QtWidgets/QWidget> |
| 33 | |
| 34 | QT_BEGIN_NAMESPACE |
| 35 | |
| 36 | class Ui_MainWindow |
| 37 | { |
| 38 | public: |
| 39 | QAction *actionConnect; |
| 40 | QAction *actionDisconnect; |
| 41 | QAction *actionExit; |
| 42 | QAction *actionOptions; |
| 43 | QWidget *centralWidget; |
| 44 | QVBoxLayout *verticalLayout; |
| 45 | QGridLayout *gridLayout; |
| 46 | QLabel *label_27; |
| 47 | QPushButton *connectButton; |
| 48 | QSpacerItem *horizontalSpacer; |
| 49 | QSpinBox *serverEdit; |
| 50 | QComboBox *connectType; |
| 51 | QLabel *label_2; |
| 52 | QLabel *label; |
| 53 | QLineEdit *portEdit; |
| 54 | QHBoxLayout *horizontalLayout_2; |
| 55 | QGroupBox *groupBox_2; |
| 56 | QGridLayout *gridLayout_3; |
| 57 | QLabel *label_4; |
| 58 | QSpinBox *readAddress; |
| 59 | QLabel *label_5; |
| 60 | QComboBox *readSize; |
| 61 | QLabel *label_9; |
| 62 | QListWidget *readValue; |
| 63 | QGroupBox *writeGroupBox; |
| 64 | QGridLayout *gridLayout_2; |
| 65 | QLabel *label_7; |
| 66 | QTreeView *writeValueTable; |
| 67 | QSpinBox *writeAddress; |
| 68 | QLabel *label_8; |
| 69 | QComboBox *writeSize; |
| 70 | QLabel *label_3; |
| 71 | QHBoxLayout *horizontalLayout; |
| 72 | QLabel *label_6; |
| 73 | QComboBox *writeTable; |
| 74 | QSpacerItem *horizontalSpacer_2; |
| 75 | QPushButton *readButton; |
| 76 | QPushButton *writeButton; |
| 77 | QPushButton *readWriteButton; |
| 78 | QStatusBar *statusBar; |
| 79 | QMenuBar *menuBar; |
| 80 | QMenu *menuDevice; |
| 81 | QMenu *menuToo_ls; |
| 82 | |
| 83 | void setupUi(QMainWindow *MainWindow) |
| 84 | { |
| 85 | if (MainWindow->objectName().isEmpty()) |
| 86 | MainWindow->setObjectName(QString::fromUtf8(str: "MainWindow" )); |
| 87 | MainWindow->resize(w: 516, h: 378); |
| 88 | MainWindow->setMaximumSize(QSize(16777215, 1000)); |
| 89 | actionConnect = new QAction(MainWindow); |
| 90 | actionConnect->setObjectName(QString::fromUtf8(str: "actionConnect" )); |
| 91 | QIcon icon; |
| 92 | icon.addFile(fileName: QString::fromUtf8(str: ":/images/connect.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 93 | actionConnect->setIcon(icon); |
| 94 | actionDisconnect = new QAction(MainWindow); |
| 95 | actionDisconnect->setObjectName(QString::fromUtf8(str: "actionDisconnect" )); |
| 96 | QIcon icon1; |
| 97 | icon1.addFile(fileName: QString::fromUtf8(str: ":/images/disconnect.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 98 | actionDisconnect->setIcon(icon1); |
| 99 | actionExit = new QAction(MainWindow); |
| 100 | actionExit->setObjectName(QString::fromUtf8(str: "actionExit" )); |
| 101 | QIcon icon2; |
| 102 | icon2.addFile(fileName: QString::fromUtf8(str: ":/images/application-exit.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 103 | actionExit->setIcon(icon2); |
| 104 | actionOptions = new QAction(MainWindow); |
| 105 | actionOptions->setObjectName(QString::fromUtf8(str: "actionOptions" )); |
| 106 | QIcon icon3; |
| 107 | icon3.addFile(fileName: QString::fromUtf8(str: ":/images/settings.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
| 108 | actionOptions->setIcon(icon3); |
| 109 | centralWidget = new QWidget(MainWindow); |
| 110 | centralWidget->setObjectName(QString::fromUtf8(str: "centralWidget" )); |
| 111 | verticalLayout = new QVBoxLayout(centralWidget); |
| 112 | verticalLayout->setSpacing(6); |
| 113 | verticalLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
| 114 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
| 115 | gridLayout = new QGridLayout(); |
| 116 | gridLayout->setSpacing(6); |
| 117 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
| 118 | label_27 = new QLabel(centralWidget); |
| 119 | label_27->setObjectName(QString::fromUtf8(str: "label_27" )); |
| 120 | QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred); |
| 121 | sizePolicy.setHorizontalStretch(0); |
| 122 | sizePolicy.setVerticalStretch(0); |
| 123 | sizePolicy.setHeightForWidth(label_27->sizePolicy().hasHeightForWidth()); |
| 124 | label_27->setSizePolicy(sizePolicy); |
| 125 | |
| 126 | gridLayout->addWidget(label_27, row: 0, column: 5, rowSpan: 1, columnSpan: 1); |
| 127 | |
| 128 | connectButton = new QPushButton(centralWidget); |
| 129 | connectButton->setObjectName(QString::fromUtf8(str: "connectButton" )); |
| 130 | QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Fixed); |
| 131 | sizePolicy1.setHorizontalStretch(0); |
| 132 | sizePolicy1.setVerticalStretch(0); |
| 133 | sizePolicy1.setHeightForWidth(connectButton->sizePolicy().hasHeightForWidth()); |
| 134 | connectButton->setSizePolicy(sizePolicy1); |
| 135 | connectButton->setCheckable(false); |
| 136 | connectButton->setAutoDefault(false); |
| 137 | |
| 138 | gridLayout->addWidget(connectButton, row: 0, column: 7, rowSpan: 1, columnSpan: 1); |
| 139 | |
| 140 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 141 | |
| 142 | gridLayout->addItem(item: horizontalSpacer, row: 0, column: 4, rowSpan: 1, columnSpan: 1); |
| 143 | |
| 144 | serverEdit = new QSpinBox(centralWidget); |
| 145 | serverEdit->setObjectName(QString::fromUtf8(str: "serverEdit" )); |
| 146 | sizePolicy1.setHeightForWidth(serverEdit->sizePolicy().hasHeightForWidth()); |
| 147 | serverEdit->setSizePolicy(sizePolicy1); |
| 148 | serverEdit->setMinimum(1); |
| 149 | serverEdit->setMaximum(247); |
| 150 | |
| 151 | gridLayout->addWidget(serverEdit, row: 0, column: 6, rowSpan: 1, columnSpan: 1); |
| 152 | |
| 153 | connectType = new QComboBox(centralWidget); |
| 154 | connectType->addItem(atext: QString()); |
| 155 | connectType->addItem(atext: QString()); |
| 156 | connectType->setObjectName(QString::fromUtf8(str: "connectType" )); |
| 157 | |
| 158 | gridLayout->addWidget(connectType, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 159 | |
| 160 | label_2 = new QLabel(centralWidget); |
| 161 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
| 162 | sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth()); |
| 163 | label_2->setSizePolicy(sizePolicy); |
| 164 | |
| 165 | gridLayout->addWidget(label_2, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
| 166 | |
| 167 | label = new QLabel(centralWidget); |
| 168 | label->setObjectName(QString::fromUtf8(str: "label" )); |
| 169 | |
| 170 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 171 | |
| 172 | portEdit = new QLineEdit(centralWidget); |
| 173 | portEdit->setObjectName(QString::fromUtf8(str: "portEdit" )); |
| 174 | QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed); |
| 175 | sizePolicy2.setHorizontalStretch(0); |
| 176 | sizePolicy2.setVerticalStretch(0); |
| 177 | sizePolicy2.setHeightForWidth(portEdit->sizePolicy().hasHeightForWidth()); |
| 178 | portEdit->setSizePolicy(sizePolicy2); |
| 179 | |
| 180 | gridLayout->addWidget(portEdit, row: 0, column: 3, rowSpan: 1, columnSpan: 1); |
| 181 | |
| 182 | |
| 183 | verticalLayout->addLayout(layout: gridLayout); |
| 184 | |
| 185 | horizontalLayout_2 = new QHBoxLayout(); |
| 186 | horizontalLayout_2->setSpacing(6); |
| 187 | horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2" )); |
| 188 | groupBox_2 = new QGroupBox(centralWidget); |
| 189 | groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2" )); |
| 190 | groupBox_2->setMinimumSize(QSize(250, 0)); |
| 191 | gridLayout_3 = new QGridLayout(groupBox_2); |
| 192 | gridLayout_3->setSpacing(6); |
| 193 | gridLayout_3->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
| 194 | gridLayout_3->setObjectName(QString::fromUtf8(str: "gridLayout_3" )); |
| 195 | label_4 = new QLabel(groupBox_2); |
| 196 | label_4->setObjectName(QString::fromUtf8(str: "label_4" )); |
| 197 | |
| 198 | gridLayout_3->addWidget(label_4, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 199 | |
| 200 | readAddress = new QSpinBox(groupBox_2); |
| 201 | readAddress->setObjectName(QString::fromUtf8(str: "readAddress" )); |
| 202 | readAddress->setMaximum(9); |
| 203 | |
| 204 | gridLayout_3->addWidget(readAddress, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 205 | |
| 206 | label_5 = new QLabel(groupBox_2); |
| 207 | label_5->setObjectName(QString::fromUtf8(str: "label_5" )); |
| 208 | |
| 209 | gridLayout_3->addWidget(label_5, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 210 | |
| 211 | readSize = new QComboBox(groupBox_2); |
| 212 | readSize->addItem(atext: QString()); |
| 213 | readSize->addItem(atext: QString()); |
| 214 | readSize->addItem(atext: QString()); |
| 215 | readSize->addItem(atext: QString()); |
| 216 | readSize->addItem(atext: QString()); |
| 217 | readSize->addItem(atext: QString()); |
| 218 | readSize->addItem(atext: QString()); |
| 219 | readSize->addItem(atext: QString()); |
| 220 | readSize->addItem(atext: QString()); |
| 221 | readSize->addItem(atext: QString()); |
| 222 | readSize->setObjectName(QString::fromUtf8(str: "readSize" )); |
| 223 | |
| 224 | gridLayout_3->addWidget(readSize, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
| 225 | |
| 226 | label_9 = new QLabel(groupBox_2); |
| 227 | label_9->setObjectName(QString::fromUtf8(str: "label_9" )); |
| 228 | |
| 229 | gridLayout_3->addWidget(label_9, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 230 | |
| 231 | readValue = new QListWidget(groupBox_2); |
| 232 | readValue->setObjectName(QString::fromUtf8(str: "readValue" )); |
| 233 | readValue->setMinimumSize(QSize(0, 0)); |
| 234 | |
| 235 | gridLayout_3->addWidget(readValue, row: 3, column: 0, rowSpan: 1, columnSpan: 2); |
| 236 | |
| 237 | |
| 238 | horizontalLayout_2->addWidget(groupBox_2); |
| 239 | |
| 240 | writeGroupBox = new QGroupBox(centralWidget); |
| 241 | writeGroupBox->setObjectName(QString::fromUtf8(str: "writeGroupBox" )); |
| 242 | writeGroupBox->setMinimumSize(QSize(225, 0)); |
| 243 | gridLayout_2 = new QGridLayout(writeGroupBox); |
| 244 | gridLayout_2->setSpacing(6); |
| 245 | gridLayout_2->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
| 246 | gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2" )); |
| 247 | label_7 = new QLabel(writeGroupBox); |
| 248 | label_7->setObjectName(QString::fromUtf8(str: "label_7" )); |
| 249 | |
| 250 | gridLayout_2->addWidget(label_7, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
| 251 | |
| 252 | writeValueTable = new QTreeView(writeGroupBox); |
| 253 | writeValueTable->setObjectName(QString::fromUtf8(str: "writeValueTable" )); |
| 254 | writeValueTable->setProperty(name: "showDropIndicator" , value: QVariant(true)); |
| 255 | writeValueTable->setAlternatingRowColors(true); |
| 256 | writeValueTable->setRootIsDecorated(false); |
| 257 | writeValueTable->setUniformRowHeights(true); |
| 258 | writeValueTable->setItemsExpandable(false); |
| 259 | writeValueTable->setExpandsOnDoubleClick(false); |
| 260 | writeValueTable->header()->setVisible(true); |
| 261 | |
| 262 | gridLayout_2->addWidget(writeValueTable, row: 3, column: 0, rowSpan: 1, columnSpan: 2); |
| 263 | |
| 264 | writeAddress = new QSpinBox(writeGroupBox); |
| 265 | writeAddress->setObjectName(QString::fromUtf8(str: "writeAddress" )); |
| 266 | writeAddress->setMaximum(9); |
| 267 | |
| 268 | gridLayout_2->addWidget(writeAddress, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
| 269 | |
| 270 | label_8 = new QLabel(writeGroupBox); |
| 271 | label_8->setObjectName(QString::fromUtf8(str: "label_8" )); |
| 272 | |
| 273 | gridLayout_2->addWidget(label_8, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 274 | |
| 275 | writeSize = new QComboBox(writeGroupBox); |
| 276 | writeSize->addItem(atext: QString()); |
| 277 | writeSize->addItem(atext: QString()); |
| 278 | writeSize->addItem(atext: QString()); |
| 279 | writeSize->addItem(atext: QString()); |
| 280 | writeSize->addItem(atext: QString()); |
| 281 | writeSize->addItem(atext: QString()); |
| 282 | writeSize->addItem(atext: QString()); |
| 283 | writeSize->addItem(atext: QString()); |
| 284 | writeSize->addItem(atext: QString()); |
| 285 | writeSize->addItem(atext: QString()); |
| 286 | writeSize->setObjectName(QString::fromUtf8(str: "writeSize" )); |
| 287 | |
| 288 | gridLayout_2->addWidget(writeSize, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
| 289 | |
| 290 | label_3 = new QLabel(writeGroupBox); |
| 291 | label_3->setObjectName(QString::fromUtf8(str: "label_3" )); |
| 292 | |
| 293 | gridLayout_2->addWidget(label_3, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 294 | |
| 295 | |
| 296 | horizontalLayout_2->addWidget(writeGroupBox); |
| 297 | |
| 298 | |
| 299 | verticalLayout->addLayout(layout: horizontalLayout_2); |
| 300 | |
| 301 | horizontalLayout = new QHBoxLayout(); |
| 302 | horizontalLayout->setSpacing(6); |
| 303 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
| 304 | label_6 = new QLabel(centralWidget); |
| 305 | label_6->setObjectName(QString::fromUtf8(str: "label_6" )); |
| 306 | |
| 307 | horizontalLayout->addWidget(label_6); |
| 308 | |
| 309 | writeTable = new QComboBox(centralWidget); |
| 310 | writeTable->setObjectName(QString::fromUtf8(str: "writeTable" )); |
| 311 | |
| 312 | horizontalLayout->addWidget(writeTable); |
| 313 | |
| 314 | horizontalSpacer_2 = new QSpacerItem(13, 17, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 315 | |
| 316 | horizontalLayout->addItem(horizontalSpacer_2); |
| 317 | |
| 318 | readButton = new QPushButton(centralWidget); |
| 319 | readButton->setObjectName(QString::fromUtf8(str: "readButton" )); |
| 320 | sizePolicy1.setHeightForWidth(readButton->sizePolicy().hasHeightForWidth()); |
| 321 | readButton->setSizePolicy(sizePolicy1); |
| 322 | |
| 323 | horizontalLayout->addWidget(readButton); |
| 324 | |
| 325 | writeButton = new QPushButton(centralWidget); |
| 326 | writeButton->setObjectName(QString::fromUtf8(str: "writeButton" )); |
| 327 | |
| 328 | horizontalLayout->addWidget(writeButton); |
| 329 | |
| 330 | readWriteButton = new QPushButton(centralWidget); |
| 331 | readWriteButton->setObjectName(QString::fromUtf8(str: "readWriteButton" )); |
| 332 | readWriteButton->setEnabled(false); |
| 333 | |
| 334 | horizontalLayout->addWidget(readWriteButton); |
| 335 | |
| 336 | |
| 337 | verticalLayout->addLayout(layout: horizontalLayout); |
| 338 | |
| 339 | MainWindow->setCentralWidget(centralWidget); |
| 340 | statusBar = new QStatusBar(MainWindow); |
| 341 | statusBar->setObjectName(QString::fromUtf8(str: "statusBar" )); |
| 342 | MainWindow->setStatusBar(statusBar); |
| 343 | menuBar = new QMenuBar(MainWindow); |
| 344 | menuBar->setObjectName(QString::fromUtf8(str: "menuBar" )); |
| 345 | menuBar->setGeometry(QRect(0, 0, 516, 21)); |
| 346 | menuDevice = new QMenu(menuBar); |
| 347 | menuDevice->setObjectName(QString::fromUtf8(str: "menuDevice" )); |
| 348 | menuToo_ls = new QMenu(menuBar); |
| 349 | menuToo_ls->setObjectName(QString::fromUtf8(str: "menuToo_ls" )); |
| 350 | MainWindow->setMenuBar(menuBar); |
| 351 | QWidget::setTabOrder(connectType, portEdit); |
| 352 | QWidget::setTabOrder(portEdit, serverEdit); |
| 353 | QWidget::setTabOrder(serverEdit, connectButton); |
| 354 | QWidget::setTabOrder(connectButton, readAddress); |
| 355 | QWidget::setTabOrder(readAddress, readSize); |
| 356 | QWidget::setTabOrder(readSize, readValue); |
| 357 | QWidget::setTabOrder(readValue, writeAddress); |
| 358 | QWidget::setTabOrder(writeAddress, writeSize); |
| 359 | QWidget::setTabOrder(writeSize, writeValueTable); |
| 360 | QWidget::setTabOrder(writeValueTable, writeTable); |
| 361 | QWidget::setTabOrder(writeTable, readButton); |
| 362 | QWidget::setTabOrder(readButton, writeButton); |
| 363 | QWidget::setTabOrder(writeButton, readWriteButton); |
| 364 | |
| 365 | menuBar->addAction(action: menuDevice->menuAction()); |
| 366 | menuBar->addAction(action: menuToo_ls->menuAction()); |
| 367 | menuDevice->addAction(action: actionConnect); |
| 368 | menuDevice->addAction(action: actionDisconnect); |
| 369 | menuDevice->addSeparator(); |
| 370 | menuDevice->addAction(action: actionExit); |
| 371 | menuToo_ls->addAction(action: actionOptions); |
| 372 | |
| 373 | retranslateUi(MainWindow); |
| 374 | |
| 375 | connectButton->setDefault(true); |
| 376 | readSize->setCurrentIndex(9); |
| 377 | writeSize->setCurrentIndex(9); |
| 378 | |
| 379 | |
| 380 | QMetaObject::connectSlotsByName(o: MainWindow); |
| 381 | } // setupUi |
| 382 | |
| 383 | void retranslateUi(QMainWindow *MainWindow) |
| 384 | { |
| 385 | MainWindow->setWindowTitle(QCoreApplication::translate(context: "MainWindow" , key: "Modbus Client Example" , disambiguation: nullptr)); |
| 386 | actionConnect->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Connect" , disambiguation: nullptr)); |
| 387 | actionDisconnect->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Disconnect" , disambiguation: nullptr)); |
| 388 | actionExit->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Quit" , disambiguation: nullptr)); |
| 389 | actionOptions->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Options" , disambiguation: nullptr)); |
| 390 | label_27->setText(QCoreApplication::translate(context: "MainWindow" , key: "Server Address:" , disambiguation: nullptr)); |
| 391 | connectButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Connect" , disambiguation: nullptr)); |
| 392 | connectType->setItemText(index: 0, text: QCoreApplication::translate(context: "MainWindow" , key: "Serial" , disambiguation: nullptr)); |
| 393 | connectType->setItemText(index: 1, text: QCoreApplication::translate(context: "MainWindow" , key: "TCP" , disambiguation: nullptr)); |
| 394 | |
| 395 | label_2->setText(QCoreApplication::translate(context: "MainWindow" , key: "Port:" , disambiguation: nullptr)); |
| 396 | label->setText(QCoreApplication::translate(context: "MainWindow" , key: "Connection type:" , disambiguation: nullptr)); |
| 397 | groupBox_2->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Read" , disambiguation: nullptr)); |
| 398 | label_4->setText(QCoreApplication::translate(context: "MainWindow" , key: "Start address:" , disambiguation: nullptr)); |
| 399 | label_5->setText(QCoreApplication::translate(context: "MainWindow" , key: "Number of values:" , disambiguation: nullptr)); |
| 400 | readSize->setItemText(index: 0, text: QCoreApplication::translate(context: "MainWindow" , key: "1" , disambiguation: nullptr)); |
| 401 | readSize->setItemText(index: 1, text: QCoreApplication::translate(context: "MainWindow" , key: "2" , disambiguation: nullptr)); |
| 402 | readSize->setItemText(index: 2, text: QCoreApplication::translate(context: "MainWindow" , key: "3" , disambiguation: nullptr)); |
| 403 | readSize->setItemText(index: 3, text: QCoreApplication::translate(context: "MainWindow" , key: "4" , disambiguation: nullptr)); |
| 404 | readSize->setItemText(index: 4, text: QCoreApplication::translate(context: "MainWindow" , key: "5" , disambiguation: nullptr)); |
| 405 | readSize->setItemText(index: 5, text: QCoreApplication::translate(context: "MainWindow" , key: "6" , disambiguation: nullptr)); |
| 406 | readSize->setItemText(index: 6, text: QCoreApplication::translate(context: "MainWindow" , key: "7" , disambiguation: nullptr)); |
| 407 | readSize->setItemText(index: 7, text: QCoreApplication::translate(context: "MainWindow" , key: "8" , disambiguation: nullptr)); |
| 408 | readSize->setItemText(index: 8, text: QCoreApplication::translate(context: "MainWindow" , key: "9" , disambiguation: nullptr)); |
| 409 | readSize->setItemText(index: 9, text: QCoreApplication::translate(context: "MainWindow" , key: "10" , disambiguation: nullptr)); |
| 410 | |
| 411 | label_9->setText(QCoreApplication::translate(context: "MainWindow" , key: "Result:" , disambiguation: nullptr)); |
| 412 | writeGroupBox->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Write" , disambiguation: nullptr)); |
| 413 | label_7->setText(QCoreApplication::translate(context: "MainWindow" , key: "Start address:" , disambiguation: nullptr)); |
| 414 | label_8->setText(QCoreApplication::translate(context: "MainWindow" , key: "Number of values:" , disambiguation: nullptr)); |
| 415 | writeSize->setItemText(index: 0, text: QCoreApplication::translate(context: "MainWindow" , key: "1" , disambiguation: nullptr)); |
| 416 | writeSize->setItemText(index: 1, text: QCoreApplication::translate(context: "MainWindow" , key: "2" , disambiguation: nullptr)); |
| 417 | writeSize->setItemText(index: 2, text: QCoreApplication::translate(context: "MainWindow" , key: "3" , disambiguation: nullptr)); |
| 418 | writeSize->setItemText(index: 3, text: QCoreApplication::translate(context: "MainWindow" , key: "4" , disambiguation: nullptr)); |
| 419 | writeSize->setItemText(index: 4, text: QCoreApplication::translate(context: "MainWindow" , key: "5" , disambiguation: nullptr)); |
| 420 | writeSize->setItemText(index: 5, text: QCoreApplication::translate(context: "MainWindow" , key: "6" , disambiguation: nullptr)); |
| 421 | writeSize->setItemText(index: 6, text: QCoreApplication::translate(context: "MainWindow" , key: "7" , disambiguation: nullptr)); |
| 422 | writeSize->setItemText(index: 7, text: QCoreApplication::translate(context: "MainWindow" , key: "8" , disambiguation: nullptr)); |
| 423 | writeSize->setItemText(index: 8, text: QCoreApplication::translate(context: "MainWindow" , key: "9" , disambiguation: nullptr)); |
| 424 | writeSize->setItemText(index: 9, text: QCoreApplication::translate(context: "MainWindow" , key: "10" , disambiguation: nullptr)); |
| 425 | |
| 426 | label_3->setText(QString()); |
| 427 | label_6->setText(QCoreApplication::translate(context: "MainWindow" , key: "Table:" , disambiguation: nullptr)); |
| 428 | readButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Read" , disambiguation: nullptr)); |
| 429 | writeButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Write" , disambiguation: nullptr)); |
| 430 | readWriteButton->setText(QCoreApplication::translate(context: "MainWindow" , key: "Read-Write" , disambiguation: nullptr)); |
| 431 | menuDevice->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "&Device" , disambiguation: nullptr)); |
| 432 | menuToo_ls->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Too&ls" , disambiguation: nullptr)); |
| 433 | } // retranslateUi |
| 434 | |
| 435 | }; |
| 436 | |
| 437 | namespace Ui { |
| 438 | class MainWindow: public Ui_MainWindow {}; |
| 439 | } // namespace Ui |
| 440 | |
| 441 | QT_END_NAMESPACE |
| 442 | |
| 443 | #endif // UI_MAINWINDOW_H |
| 444 | |