개정판 261421bd
issue #1489: save load test
Change-Id: I335641d851c0a4af097aa8777322803ea7de5930
DTI_PID/DTI_PID/HMB_UI.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | 2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\HMB.ui'
|
|
3 |
# Form implementation generated from reading ui file './UI/HMB.ui'
|
|
4 | 4 |
# |
5 |
# Created by: PyQt5 UI code generator 5.13.1
|
|
5 |
# Created by: PyQt5 UI code generator 5.11.3
|
|
6 | 6 |
# |
7 | 7 |
# WARNING! All changes made in this file will be lost! |
8 | 8 |
|
9 |
|
|
10 | 9 |
from PyQt5 import QtCore, QtGui, QtWidgets |
11 | 10 |
|
12 |
|
|
13 | 11 |
class Ui_HMBDialog(object): |
14 | 12 |
def setupUi(self, HMBDialog): |
15 | 13 |
HMBDialog.setObjectName("HMBDialog") |
... | ... | |
44 | 42 |
self.gridLayout.addLayout(self.gridLayout_5, 0, 0, 1, 1) |
45 | 43 |
self.buttonBox = QtWidgets.QDialogButtonBox(HMBDialog) |
46 | 44 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
47 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
|
45 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
|
|
48 | 46 |
self.buttonBox.setObjectName("buttonBox") |
49 | 47 |
self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1) |
50 | 48 |
|
... | ... | |
57 | 55 |
_translate = QtCore.QCoreApplication.translate |
58 | 56 |
HMBDialog.setWindowTitle(_translate("HMBDialog", "HMB")) |
59 | 57 |
self.label_4.setText(_translate("HMBDialog", "Import HMB : ")) |
58 |
|
|
60 | 59 |
import MainWindow_rc |
60 |
|
|
61 |
if __name__ == "__main__": |
|
62 |
import sys |
|
63 |
app = QtWidgets.QApplication(sys.argv) |
|
64 |
HMBDialog = QtWidgets.QDialog() |
|
65 |
ui = Ui_HMBDialog() |
|
66 |
ui.setupUi(HMBDialog) |
|
67 |
HMBDialog.show() |
|
68 |
sys.exit(app.exec_()) |
|
69 |
|
내보내기 Unified diff