프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / DTI_PID / ReplaceSymbol_UI.py @ 09024107

이력 | 보기 | 이력해설 | 다운로드 (5.54 KB)

1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file './UI/ReplaceSymbol.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.11.3
6
#
7
# WARNING! All changes made in this file will be lost!
8

    
9
from PyQt5 import QtCore, QtGui, QtWidgets
10

    
11
class Ui_ReplaceSymbolDialog(object):
12
    def setupUi(self, ReplaceSymbolDialog):
13
        ReplaceSymbolDialog.setObjectName("ReplaceSymbolDialog")
14
        ReplaceSymbolDialog.resize(529, 313)
15
        ReplaceSymbolDialog.setMinimumSize(QtCore.QSize(350, 0))
16
        ReplaceSymbolDialog.setMaximumSize(QtCore.QSize(9999, 9999))
17
        font = QtGui.QFont()
18
        font.setFamily("맑은 고딕")
19
        font.setBold(True)
20
        font.setWeight(75)
21
        ReplaceSymbolDialog.setFont(font)
22
        self.gridLayout_3 = QtWidgets.QGridLayout(ReplaceSymbolDialog)
23
        self.gridLayout_3.setObjectName("gridLayout_3")
24
        self.horizontalLayout = QtWidgets.QHBoxLayout()
25
        self.horizontalLayout.setObjectName("horizontalLayout")
26
        self.buttonBox = QtWidgets.QDialogButtonBox(ReplaceSymbolDialog)
27
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
28
        self.buttonBox.setObjectName("buttonBox")
29
        self.horizontalLayout.addWidget(self.buttonBox)
30
        self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1)
31
        self.widget = QtWidgets.QWidget(ReplaceSymbolDialog)
32
        self.widget.setObjectName("widget")
33
        self.gridLayout_2 = QtWidgets.QGridLayout(self.widget)
34
        self.gridLayout_2.setObjectName("gridLayout_2")
35
        self.gridLayout = QtWidgets.QGridLayout()
36
        self.gridLayout.setObjectName("gridLayout")
37
        self.lineEdit_2 = QtWidgets.QLineEdit(self.widget)
38
        self.lineEdit_2.setObjectName("lineEdit_2")
39
        self.gridLayout.addWidget(self.lineEdit_2, 1, 1, 1, 1)
40
        self.lineEdit = QtWidgets.QLineEdit(self.widget)
41
        self.lineEdit.setObjectName("lineEdit")
42
        self.gridLayout.addWidget(self.lineEdit, 0, 1, 1, 1)
43
        self.labelReplace = QtWidgets.QLabel(self.widget)
44
        font = QtGui.QFont()
45
        font.setBold(False)
46
        font.setWeight(50)
47
        self.labelReplace.setFont(font)
48
        self.labelReplace.setObjectName("labelReplace")
49
        self.gridLayout.addWidget(self.labelReplace, 1, 0, 1, 1)
50
        self.plainTextEdit = QtWidgets.QPlainTextEdit(self.widget)
51
        self.plainTextEdit.setObjectName("plainTextEdit")
52
        self.gridLayout.addWidget(self.plainTextEdit, 2, 1, 1, 2)
53
        self.pushButtonRun = QtWidgets.QPushButton(self.widget)
54
        font = QtGui.QFont()
55
        font.setBold(False)
56
        font.setWeight(50)
57
        self.pushButtonRun.setFont(font)
58
        self.pushButtonRun.setObjectName("pushButtonRun")
59
        self.gridLayout.addWidget(self.pushButtonRun, 1, 2, 1, 1)
60
        self.label = QtWidgets.QLabel(self.widget)
61
        font = QtGui.QFont()
62
        font.setBold(False)
63
        font.setWeight(50)
64
        self.label.setFont(font)
65
        self.label.setObjectName("label")
66
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
67
        self.label_3 = QtWidgets.QLabel(self.widget)
68
        font = QtGui.QFont()
69
        font.setBold(False)
70
        font.setWeight(50)
71
        self.label_3.setFont(font)
72
        self.label_3.setObjectName("label_3")
73
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
74
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
75
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
76
        self.radioButtonReplace = QtWidgets.QRadioButton(self.widget)
77
        font = QtGui.QFont()
78
        font.setBold(False)
79
        font.setWeight(50)
80
        self.radioButtonReplace.setFont(font)
81
        self.radioButtonReplace.setChecked(True)
82
        self.radioButtonReplace.setObjectName("radioButtonReplace")
83
        self.buttonGroup = QtWidgets.QButtonGroup(ReplaceSymbolDialog)
84
        self.buttonGroup.setObjectName("buttonGroup")
85
        self.buttonGroup.addButton(self.radioButtonReplace)
86
        self.horizontalLayout_2.addWidget(self.radioButtonReplace)
87
        self.radioButtonInsert = QtWidgets.QRadioButton(self.widget)
88
        font = QtGui.QFont()
89
        font.setBold(False)
90
        font.setWeight(50)
91
        self.radioButtonInsert.setFont(font)
92
        self.radioButtonInsert.setObjectName("radioButtonInsert")
93
        self.buttonGroup.addButton(self.radioButtonInsert)
94
        self.horizontalLayout_2.addWidget(self.radioButtonInsert)
95
        self.gridLayout.addLayout(self.horizontalLayout_2, 0, 2, 1, 1)
96
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
97
        self.gridLayout_3.addWidget(self.widget, 0, 0, 1, 1)
98

    
99
        self.retranslateUi(ReplaceSymbolDialog)
100
        QtCore.QMetaObject.connectSlotsByName(ReplaceSymbolDialog)
101

    
102
    def retranslateUi(self, ReplaceSymbolDialog):
103
        _translate = QtCore.QCoreApplication.translate
104
        ReplaceSymbolDialog.setWindowTitle(_translate("ReplaceSymbolDialog", "Symbol Replace"))
105
        self.labelReplace.setText(_translate("ReplaceSymbolDialog", "Replace :"))
106
        self.pushButtonRun.setText(_translate("ReplaceSymbolDialog", "Run"))
107
        self.label.setText(_translate("ReplaceSymbolDialog", "Find : "))
108
        self.label_3.setText(_translate("ReplaceSymbolDialog", "Condition: "))
109
        self.radioButtonReplace.setText(_translate("ReplaceSymbolDialog", "Replace"))
110
        self.radioButtonInsert.setText(_translate("ReplaceSymbolDialog", "Insert"))
111

    
112

    
113
if __name__ == "__main__":
114
    import sys
115
    app = QtWidgets.QApplication(sys.argv)
116
    ReplaceSymbolDialog = QtWidgets.QDialog()
117
    ui = Ui_ReplaceSymbolDialog()
118
    ui.setupUi(ReplaceSymbolDialog)
119
    ReplaceSymbolDialog.show()
120
    sys.exit(app.exec_())
121

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