|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +################################################################################ |
| 4 | +## Form generated from reading UI file 'dialogrzLvaw.ui' |
| 5 | +## |
| 6 | +## Created by: Qt User Interface Compiler version 6.8.2 |
| 7 | +## |
| 8 | +## WARNING! All changes made in this file will be lost when recompiling UI file! |
| 9 | +################################################################################ |
| 10 | + |
| 11 | +from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale, |
| 12 | + QMetaObject, QObject, QPoint, QRect, |
| 13 | + QSize, QTime, QUrl, Qt) |
| 14 | +from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor, |
| 15 | + QFont, QFontDatabase, QGradient, QIcon, |
| 16 | + QImage, QKeySequence, QLinearGradient, QPainter, |
| 17 | + QPalette, QPixmap, QRadialGradient, QTransform) |
| 18 | +from PySide6.QtWidgets import (QApplication, QDialog, QHBoxLayout, QLabel, |
| 19 | + QLayout, QLineEdit, QProgressBar, QPushButton, |
| 20 | + QSizePolicy, QVBoxLayout, QWidget) |
| 21 | + |
| 22 | +class Ui_Memory25QDialog(object): |
| 23 | + def setupUi(self, Memory25QDialog): |
| 24 | + if not Memory25QDialog.objectName(): |
| 25 | + Memory25QDialog.setObjectName(u"Memory25QDialog") |
| 26 | + Memory25QDialog.resize(764, 150) |
| 27 | + sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed) |
| 28 | + sizePolicy.setHorizontalStretch(0) |
| 29 | + sizePolicy.setVerticalStretch(0) |
| 30 | + sizePolicy.setHeightForWidth(Memory25QDialog.sizePolicy().hasHeightForWidth()) |
| 31 | + Memory25QDialog.setSizePolicy(sizePolicy) |
| 32 | + Memory25QDialog.setMinimumSize(QSize(0, 150)) |
| 33 | + Memory25QDialog.setModal(True) |
| 34 | + self.verticalLayout = QVBoxLayout(Memory25QDialog) |
| 35 | + self.verticalLayout.setObjectName(u"verticalLayout") |
| 36 | + self.horizontalLayout = QHBoxLayout() |
| 37 | + self.horizontalLayout.setObjectName(u"horizontalLayout") |
| 38 | + self.horizontalLayout.setSizeConstraint(QLayout.SizeConstraint.SetMinimumSize) |
| 39 | + self.fileNameLineEdit = QLineEdit(Memory25QDialog) |
| 40 | + self.fileNameLineEdit.setObjectName(u"fileNameLineEdit") |
| 41 | + self.fileNameLineEdit.setMinimumSize(QSize(300, 0)) |
| 42 | + |
| 43 | + self.horizontalLayout.addWidget(self.fileNameLineEdit) |
| 44 | + |
| 45 | + self.locateFileButton = QPushButton(Memory25QDialog) |
| 46 | + self.locateFileButton.setObjectName(u"locateFileButton") |
| 47 | + sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) |
| 48 | + sizePolicy1.setHorizontalStretch(0) |
| 49 | + sizePolicy1.setVerticalStretch(0) |
| 50 | + sizePolicy1.setHeightForWidth(self.locateFileButton.sizePolicy().hasHeightForWidth()) |
| 51 | + self.locateFileButton.setSizePolicy(sizePolicy1) |
| 52 | + |
| 53 | + self.horizontalLayout.addWidget(self.locateFileButton) |
| 54 | + |
| 55 | + self.jedecButton = QPushButton(Memory25QDialog) |
| 56 | + self.jedecButton.setObjectName(u"jedecButton") |
| 57 | + sizePolicy1.setHeightForWidth(self.jedecButton.sizePolicy().hasHeightForWidth()) |
| 58 | + self.jedecButton.setSizePolicy(sizePolicy1) |
| 59 | + |
| 60 | + self.horizontalLayout.addWidget(self.jedecButton) |
| 61 | + |
| 62 | + self.writeButton = QPushButton(Memory25QDialog) |
| 63 | + self.writeButton.setObjectName(u"writeButton") |
| 64 | + sizePolicy1.setHeightForWidth(self.writeButton.sizePolicy().hasHeightForWidth()) |
| 65 | + self.writeButton.setSizePolicy(sizePolicy1) |
| 66 | + |
| 67 | + self.horizontalLayout.addWidget(self.writeButton) |
| 68 | + |
| 69 | + self.verifyButton = QPushButton(Memory25QDialog) |
| 70 | + self.verifyButton.setObjectName(u"verifyButton") |
| 71 | + sizePolicy1.setHeightForWidth(self.verifyButton.sizePolicy().hasHeightForWidth()) |
| 72 | + self.verifyButton.setSizePolicy(sizePolicy1) |
| 73 | + |
| 74 | + self.horizontalLayout.addWidget(self.verifyButton) |
| 75 | + |
| 76 | + self.readButton = QPushButton(Memory25QDialog) |
| 77 | + self.readButton.setObjectName(u"readButton") |
| 78 | + sizePolicy1.setHeightForWidth(self.readButton.sizePolicy().hasHeightForWidth()) |
| 79 | + self.readButton.setSizePolicy(sizePolicy1) |
| 80 | + |
| 81 | + self.horizontalLayout.addWidget(self.readButton) |
| 82 | + |
| 83 | + |
| 84 | + self.verticalLayout.addLayout(self.horizontalLayout) |
| 85 | + |
| 86 | + self.progressBar = QProgressBar(Memory25QDialog) |
| 87 | + self.progressBar.setObjectName(u"progressBar") |
| 88 | + self.progressBar.setValue(0) |
| 89 | + self.progressBar.setTextVisible(False) |
| 90 | + self.progressBar.setInvertedAppearance(False) |
| 91 | + |
| 92 | + self.verticalLayout.addWidget(self.progressBar) |
| 93 | + |
| 94 | + self.statusLabel = QLabel(Memory25QDialog) |
| 95 | + self.statusLabel.setObjectName(u"statusLabel") |
| 96 | + self.statusLabel.setScaledContents(False) |
| 97 | + self.statusLabel.setAlignment(Qt.AlignmentFlag.AlignCenter) |
| 98 | + |
| 99 | + self.verticalLayout.addWidget(self.statusLabel) |
| 100 | + |
| 101 | + |
| 102 | + self.retranslateUi(Memory25QDialog) |
| 103 | + |
| 104 | + self.jedecButton.setDefault(True) |
| 105 | + |
| 106 | + |
| 107 | + QMetaObject.connectSlotsByName(Memory25QDialog) |
| 108 | + # setupUi |
| 109 | + |
| 110 | + def retranslateUi(self, Memory25QDialog): |
| 111 | + Memory25QDialog.setWindowTitle(QCoreApplication.translate("Memory25QDialog", u"Glasgow Flash Burning Tool", None)) |
| 112 | + self.locateFileButton.setText(QCoreApplication.translate("Memory25QDialog", u"...", None)) |
| 113 | + self.jedecButton.setText(QCoreApplication.translate("Memory25QDialog", u"ID", None)) |
| 114 | + self.writeButton.setText(QCoreApplication.translate("Memory25QDialog", u"Write", None)) |
| 115 | + self.verifyButton.setText(QCoreApplication.translate("Memory25QDialog", u"Verify", None)) |
| 116 | + self.readButton.setText(QCoreApplication.translate("Memory25QDialog", u"Read", None)) |
| 117 | + self.statusLabel.setText(QCoreApplication.translate("Memory25QDialog", u"ready", None)) |
| 118 | + # retranslateUi |
| 119 | + |
0 commit comments