171 lines
7.0 KiB
C++
171 lines
7.0 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.8.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_MAINWINDOW_H
|
|
#define UI_MAINWINDOW_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QButtonGroup>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QHeaderView>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QMainWindow>
|
|
#include <QtWidgets/QMenuBar>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QStatusBar>
|
|
#include <QtWidgets/QToolBar>
|
|
#include <QtWidgets/QToolButton>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MainWindow
|
|
{
|
|
public:
|
|
QWidget *centralWidget;
|
|
QGroupBox *gbPrimary;
|
|
QLineEdit *leFilePrimary;
|
|
QToolButton *tbFilePrimary;
|
|
QLabel *label_3;
|
|
QGroupBox *cbSecondary;
|
|
QToolButton *tbFileSecondary;
|
|
QLabel *label_4;
|
|
QLineEdit *leFileSecondary;
|
|
QGroupBox *gbHeader;
|
|
QLabel *label_5;
|
|
QComboBox *cbTgt;
|
|
QLabel *label_6;
|
|
QComboBox *cbArea;
|
|
QPushButton *btnCreateZipFile;
|
|
QMenuBar *menuBar;
|
|
QToolBar *mainToolBar;
|
|
QStatusBar *statusBar;
|
|
|
|
void setupUi(QMainWindow *MainWindow)
|
|
{
|
|
if (MainWindow->objectName().isEmpty())
|
|
MainWindow->setObjectName(QStringLiteral("MainWindow"));
|
|
MainWindow->resize(629, 274);
|
|
centralWidget = new QWidget(MainWindow);
|
|
centralWidget->setObjectName(QStringLiteral("centralWidget"));
|
|
gbPrimary = new QGroupBox(centralWidget);
|
|
gbPrimary->setObjectName(QStringLiteral("gbPrimary"));
|
|
gbPrimary->setGeometry(QRect(10, 60, 611, 71));
|
|
leFilePrimary = new QLineEdit(gbPrimary);
|
|
leFilePrimary->setObjectName(QStringLiteral("leFilePrimary"));
|
|
leFilePrimary->setEnabled(true);
|
|
leFilePrimary->setGeometry(QRect(10, 40, 571, 20));
|
|
leFilePrimary->setReadOnly(false);
|
|
tbFilePrimary = new QToolButton(gbPrimary);
|
|
tbFilePrimary->setObjectName(QStringLiteral("tbFilePrimary"));
|
|
tbFilePrimary->setGeometry(QRect(580, 40, 25, 21));
|
|
label_3 = new QLabel(gbPrimary);
|
|
label_3->setObjectName(QStringLiteral("label_3"));
|
|
label_3->setGeometry(QRect(10, 20, 211, 23));
|
|
QFont font;
|
|
font.setPointSize(9);
|
|
label_3->setFont(font);
|
|
cbSecondary = new QGroupBox(centralWidget);
|
|
cbSecondary->setObjectName(QStringLiteral("cbSecondary"));
|
|
cbSecondary->setGeometry(QRect(10, 140, 611, 80));
|
|
tbFileSecondary = new QToolButton(cbSecondary);
|
|
tbFileSecondary->setObjectName(QStringLiteral("tbFileSecondary"));
|
|
tbFileSecondary->setGeometry(QRect(580, 40, 25, 21));
|
|
label_4 = new QLabel(cbSecondary);
|
|
label_4->setObjectName(QStringLiteral("label_4"));
|
|
label_4->setGeometry(QRect(10, 20, 211, 23));
|
|
label_4->setFont(font);
|
|
leFileSecondary = new QLineEdit(cbSecondary);
|
|
leFileSecondary->setObjectName(QStringLiteral("leFileSecondary"));
|
|
leFileSecondary->setEnabled(true);
|
|
leFileSecondary->setGeometry(QRect(10, 40, 571, 20));
|
|
leFileSecondary->setReadOnly(false);
|
|
gbHeader = new QGroupBox(centralWidget);
|
|
gbHeader->setObjectName(QStringLiteral("gbHeader"));
|
|
gbHeader->setGeometry(QRect(10, 0, 441, 61));
|
|
label_5 = new QLabel(gbHeader);
|
|
label_5->setObjectName(QStringLiteral("label_5"));
|
|
label_5->setGeometry(QRect(10, 20, 131, 23));
|
|
label_5->setFont(font);
|
|
cbTgt = new QComboBox(gbHeader);
|
|
cbTgt->setObjectName(QStringLiteral("cbTgt"));
|
|
cbTgt->setGeometry(QRect(120, 20, 211, 22));
|
|
QFont font1;
|
|
font1.setPointSize(13);
|
|
cbTgt->setFont(font1);
|
|
label_6 = new QLabel(gbHeader);
|
|
label_6->setObjectName(QStringLiteral("label_6"));
|
|
label_6->setGeometry(QRect(340, 20, 41, 21));
|
|
label_6->setFont(font);
|
|
cbArea = new QComboBox(gbHeader);
|
|
cbArea->setObjectName(QStringLiteral("cbArea"));
|
|
cbArea->setGeometry(QRect(370, 20, 61, 22));
|
|
QFont font2;
|
|
font2.setPointSize(8);
|
|
cbArea->setFont(font2);
|
|
btnCreateZipFile = new QPushButton(centralWidget);
|
|
btnCreateZipFile->setObjectName(QStringLiteral("btnCreateZipFile"));
|
|
btnCreateZipFile->setGeometry(QRect(460, 10, 161, 41));
|
|
btnCreateZipFile->setFont(font1);
|
|
MainWindow->setCentralWidget(centralWidget);
|
|
menuBar = new QMenuBar(MainWindow);
|
|
menuBar->setObjectName(QStringLiteral("menuBar"));
|
|
menuBar->setGeometry(QRect(0, 0, 629, 21));
|
|
MainWindow->setMenuBar(menuBar);
|
|
mainToolBar = new QToolBar(MainWindow);
|
|
mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
|
|
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
|
|
statusBar = new QStatusBar(MainWindow);
|
|
statusBar->setObjectName(QStringLiteral("statusBar"));
|
|
MainWindow->setStatusBar(statusBar);
|
|
|
|
retranslateUi(MainWindow);
|
|
|
|
QMetaObject::connectSlotsByName(MainWindow);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *MainWindow)
|
|
{
|
|
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", Q_NULLPTR));
|
|
gbPrimary->setTitle(QApplication::translate("MainWindow", "Primary", Q_NULLPTR));
|
|
#ifndef QT_NO_TOOLTIP
|
|
tbFilePrimary->setToolTip(QApplication::translate("MainWindow", "Choose file...", Q_NULLPTR));
|
|
#endif // QT_NO_TOOLTIP
|
|
tbFilePrimary->setText(QApplication::translate("MainWindow", "...", Q_NULLPTR));
|
|
label_3->setText(QApplication::translate("MainWindow", "File for flash on spi primary channel :", Q_NULLPTR));
|
|
cbSecondary->setTitle(QApplication::translate("MainWindow", "Secondary", Q_NULLPTR));
|
|
#ifndef QT_NO_TOOLTIP
|
|
tbFileSecondary->setToolTip(QApplication::translate("MainWindow", "Choose file...", Q_NULLPTR));
|
|
#endif // QT_NO_TOOLTIP
|
|
tbFileSecondary->setText(QApplication::translate("MainWindow", "...", Q_NULLPTR));
|
|
label_4->setText(QApplication::translate("MainWindow", "File for flash on spi secondary channel :", Q_NULLPTR));
|
|
gbHeader->setTitle(QApplication::translate("MainWindow", "Header", Q_NULLPTR));
|
|
label_5->setText(QApplication::translate("MainWindow", "Select flash model : ", Q_NULLPTR));
|
|
label_6->setText(QApplication::translate("MainWindow", "Area", Q_NULLPTR));
|
|
cbArea->clear();
|
|
cbArea->insertItems(0, QStringList()
|
|
<< QApplication::translate("MainWindow", "Golden", Q_NULLPTR)
|
|
<< QApplication::translate("MainWindow", "User", Q_NULLPTR)
|
|
);
|
|
btnCreateZipFile->setText(QApplication::translate("MainWindow", "Create zip file", Q_NULLPTR));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|