프로젝트

일반

사용자정보

개정판 261421bd

ID261421bd1252e1a62f0c4533cd505e79d5bf085f
상위 f6966a92
하위 eab3e43f, a907a6f2

함의성이(가) 약 4년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)