| 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/QApplication> | 
| 14 | #include <QtWidgets/QHBoxLayout> | 
| 15 | #include <QtWidgets/QMainWindow> | 
| 16 | #include <QtWidgets/QPushButton> | 
| 17 | #include <QtWidgets/QScrollArea> | 
| 18 | #include <QtWidgets/QStatusBar> | 
| 19 | #include <QtWidgets/QVBoxLayout> | 
| 20 | #include <QtWidgets/QWidget> | 
| 21 |  | 
| 22 | QT_BEGIN_NAMESPACE | 
| 23 |  | 
| 24 | class Ui_MainWindow | 
| 25 | { | 
| 26 | public: | 
| 27 |     QWidget *centralWidget; | 
| 28 |     QVBoxLayout *verticalLayout; | 
| 29 |     QHBoxLayout *horizontalLayout; | 
| 30 |     QWidget *status; | 
| 31 |     QPushButton *touchRetrieve; | 
| 32 |     QPushButton *touchStore; | 
| 33 |     QPushButton *loadMessage; | 
| 34 |     QPushButton *saveMessage; | 
| 35 |     QPushButton *clearMessage; | 
| 36 |     QPushButton *addRecord; | 
| 37 |     QScrollArea *scrollArea; | 
| 38 |     QWidget *scrollAreaWidgetContents; | 
| 39 |     QStatusBar *statusBar; | 
| 40 |  | 
| 41 |     void setupUi(QMainWindow *MainWindow) | 
| 42 |     { | 
| 43 |         if (MainWindow->objectName().isEmpty()) | 
| 44 |             MainWindow->setObjectName(QString::fromUtf8(str: "MainWindow" )); | 
| 45 |         MainWindow->resize(w: 553, h: 397); | 
| 46 |         centralWidget = new QWidget(MainWindow); | 
| 47 |         centralWidget->setObjectName(QString::fromUtf8(str: "centralWidget" )); | 
| 48 |         verticalLayout = new QVBoxLayout(centralWidget); | 
| 49 |         verticalLayout->setSpacing(6); | 
| 50 |         verticalLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); | 
| 51 |         verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); | 
| 52 |         verticalLayout->setContentsMargins(left: 0, top: -1, right: 0, bottom: 0); | 
| 53 |         horizontalLayout = new QHBoxLayout(); | 
| 54 |         horizontalLayout->setSpacing(6); | 
| 55 |         horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); | 
| 56 |         horizontalLayout->setContentsMargins(left: 9, top: -1, right: 9, bottom: -1); | 
| 57 |         status = new QWidget(centralWidget); | 
| 58 |         status->setObjectName(QString::fromUtf8(str: "status" )); | 
| 59 |         QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); | 
| 60 |         sizePolicy.setHorizontalStretch(0); | 
| 61 |         sizePolicy.setVerticalStretch(0); | 
| 62 |         sizePolicy.setHeightForWidth(status->sizePolicy().hasHeightForWidth()); | 
| 63 |         status->setSizePolicy(sizePolicy); | 
| 64 |         status->setMinimumSize(QSize(25, 25)); | 
| 65 |         status->setMaximumSize(QSize(25, 25)); | 
| 66 |  | 
| 67 |         horizontalLayout->addWidget(status); | 
| 68 |  | 
| 69 |         touchRetrieve = new QPushButton(centralWidget); | 
| 70 |         touchRetrieve->setObjectName(QString::fromUtf8(str: "touchRetrieve" )); | 
| 71 |  | 
| 72 |         horizontalLayout->addWidget(touchRetrieve); | 
| 73 |  | 
| 74 |         touchStore = new QPushButton(centralWidget); | 
| 75 |         touchStore->setObjectName(QString::fromUtf8(str: "touchStore" )); | 
| 76 |  | 
| 77 |         horizontalLayout->addWidget(touchStore); | 
| 78 |  | 
| 79 |         loadMessage = new QPushButton(centralWidget); | 
| 80 |         loadMessage->setObjectName(QString::fromUtf8(str: "loadMessage" )); | 
| 81 |  | 
| 82 |         horizontalLayout->addWidget(loadMessage); | 
| 83 |  | 
| 84 |         saveMessage = new QPushButton(centralWidget); | 
| 85 |         saveMessage->setObjectName(QString::fromUtf8(str: "saveMessage" )); | 
| 86 |  | 
| 87 |         horizontalLayout->addWidget(saveMessage); | 
| 88 |  | 
| 89 |         clearMessage = new QPushButton(centralWidget); | 
| 90 |         clearMessage->setObjectName(QString::fromUtf8(str: "clearMessage" )); | 
| 91 |  | 
| 92 |         horizontalLayout->addWidget(clearMessage); | 
| 93 |  | 
| 94 |         addRecord = new QPushButton(centralWidget); | 
| 95 |         addRecord->setObjectName(QString::fromUtf8(str: "addRecord" )); | 
| 96 |  | 
| 97 |         horizontalLayout->addWidget(addRecord); | 
| 98 |  | 
| 99 |  | 
| 100 |         verticalLayout->addLayout(layout: horizontalLayout); | 
| 101 |  | 
| 102 |         scrollArea = new QScrollArea(centralWidget); | 
| 103 |         scrollArea->setObjectName(QString::fromUtf8(str: "scrollArea" )); | 
| 104 |         scrollArea->setFrameShape(QFrame::NoFrame); | 
| 105 |         scrollArea->setFrameShadow(QFrame::Plain); | 
| 106 |         scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); | 
| 107 |         scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); | 
| 108 |         scrollArea->setWidgetResizable(true); | 
| 109 |         scrollAreaWidgetContents = new QWidget(); | 
| 110 |         scrollAreaWidgetContents->setObjectName(QString::fromUtf8(str: "scrollAreaWidgetContents" )); | 
| 111 |         scrollAreaWidgetContents->setGeometry(QRect(0, 0, 553, 335)); | 
| 112 |         scrollArea->setWidget(scrollAreaWidgetContents); | 
| 113 |  | 
| 114 |         verticalLayout->addWidget(scrollArea); | 
| 115 |  | 
| 116 |         MainWindow->setCentralWidget(centralWidget); | 
| 117 |         statusBar = new QStatusBar(MainWindow); | 
| 118 |         statusBar->setObjectName(QString::fromUtf8(str: "statusBar" )); | 
| 119 |         MainWindow->setStatusBar(statusBar); | 
| 120 |  | 
| 121 |         retranslateUi(MainWindow); | 
| 122 |         QObject::connect(sender: saveMessage, SIGNAL(clicked()), receiver: MainWindow, SLOT(saveMessage())); | 
| 123 |         QObject::connect(sender: touchRetrieve, SIGNAL(clicked()), receiver: MainWindow, SLOT(touchReceive())); | 
| 124 |         QObject::connect(sender: touchStore, SIGNAL(clicked()), receiver: MainWindow, SLOT(touchStore())); | 
| 125 |         QObject::connect(sender: loadMessage, SIGNAL(clicked()), receiver: MainWindow, SLOT(loadMessage())); | 
| 126 |         QObject::connect(sender: clearMessage, SIGNAL(clicked()), receiver: MainWindow, SLOT(clearMessage())); | 
| 127 |  | 
| 128 |         QMetaObject::connectSlotsByName(o: MainWindow); | 
| 129 |     } // setupUi | 
| 130 |  | 
| 131 |     void retranslateUi(QMainWindow *MainWindow) | 
| 132 |     { | 
| 133 |         MainWindow->setWindowTitle(QCoreApplication::translate(context: "MainWindow" , key: "NDEF Message Editor" , disambiguation: nullptr)); | 
| 134 |         touchRetrieve->setText(QCoreApplication::translate(context: "MainWindow" , key: "Retrieve" , disambiguation: nullptr)); | 
| 135 |         touchStore->setText(QCoreApplication::translate(context: "MainWindow" , key: "Store" , disambiguation: nullptr)); | 
| 136 |         loadMessage->setText(QCoreApplication::translate(context: "MainWindow" , key: "Load" , disambiguation: nullptr)); | 
| 137 |         saveMessage->setText(QCoreApplication::translate(context: "MainWindow" , key: "Save" , disambiguation: nullptr)); | 
| 138 |         clearMessage->setText(QCoreApplication::translate(context: "MainWindow" , key: "Clear" , disambiguation: nullptr)); | 
| 139 |         addRecord->setText(QCoreApplication::translate(context: "MainWindow" , key: "Add" , disambiguation: nullptr)); | 
| 140 |     } // retranslateUi | 
| 141 |  | 
| 142 | }; | 
| 143 |  | 
| 144 | namespace Ui { | 
| 145 |     class MainWindow: public Ui_MainWindow {}; | 
| 146 | } // namespace Ui | 
| 147 |  | 
| 148 | QT_END_NAMESPACE | 
| 149 |  | 
| 150 | #endif // UI_MAINWINDOW_H | 
| 151 |  |