개정판 efb90851
issue #000: add uid search in text search and replace dialog, last item message
Change-Id: I2c7e8e79426d728fb33c444ef27b61a032276467
DTI_PID/DTI_PID/TextItemEdit_UI.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | 2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\TextItemEdit.ui'
|
|
3 |
# Form implementation generated from reading ui file './UI/TextItemEdit.ui'
|
|
4 | 4 |
# |
5 | 5 |
# Created by: PyQt5 UI code generator 5.11.3 |
6 | 6 |
# |
... | ... | |
11 | 11 |
class Ui_TextItemEditDialog(object): |
12 | 12 |
def setupUi(self, TextItemEditDialog): |
13 | 13 |
TextItemEditDialog.setObjectName("TextItemEditDialog") |
14 |
TextItemEditDialog.resize(349, 99)
|
|
14 |
TextItemEditDialog.resize(307, 99)
|
|
15 | 15 |
self.gridLayout = QtWidgets.QGridLayout(TextItemEditDialog) |
16 | 16 |
self.gridLayout.setObjectName("gridLayout") |
17 |
self.label = QtWidgets.QLabel(TextItemEditDialog) |
|
18 |
self.label.setObjectName("label") |
|
19 |
self.gridLayout.addWidget(self.label, 1, 0, 1, 1) |
|
20 | 17 |
self.pushButtonReplaceText = QtWidgets.QPushButton(TextItemEditDialog) |
21 | 18 |
self.pushButtonReplaceText.setObjectName("pushButtonReplaceText") |
22 |
self.gridLayout.addWidget(self.pushButtonReplaceText, 1, 3, 1, 1) |
|
23 |
self.lineEditReplaceText = QtWidgets.QLineEdit(TextItemEditDialog) |
|
24 |
self.lineEditReplaceText.setObjectName("lineEditReplaceText") |
|
25 |
self.gridLayout.addWidget(self.lineEditReplaceText, 1, 2, 1, 1) |
|
19 |
self.gridLayout.addWidget(self.pushButtonReplaceText, 2, 3, 1, 1) |
|
26 | 20 |
self.buttonBox = QtWidgets.QDialogButtonBox(TextItemEditDialog) |
27 | 21 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
28 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
|
22 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
|
|
29 | 23 |
self.buttonBox.setObjectName("buttonBox") |
30 |
self.gridLayout.addWidget(self.buttonBox, 3, 2, 1, 2) |
|
31 |
self.label_2 = QtWidgets.QLabel(TextItemEditDialog) |
|
32 |
self.label_2.setObjectName("label_2") |
|
33 |
self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1) |
|
24 |
self.gridLayout.addWidget(self.buttonBox, 4, 2, 1, 2) |
|
34 | 25 |
self.pushButtonFindText = QtWidgets.QPushButton(TextItemEditDialog) |
35 | 26 |
self.pushButtonFindText.setObjectName("pushButtonFindText") |
36 |
self.gridLayout.addWidget(self.pushButtonFindText, 0, 3, 1, 1)
|
|
27 |
self.gridLayout.addWidget(self.pushButtonFindText, 1, 3, 1, 1)
|
|
37 | 28 |
self.lineEditFindText = QtWidgets.QLineEdit(TextItemEditDialog) |
38 | 29 |
self.lineEditFindText.setObjectName("lineEditFindText") |
39 |
self.gridLayout.addWidget(self.lineEditFindText, 0, 2, 1, 1) |
|
30 |
self.gridLayout.addWidget(self.lineEditFindText, 1, 1, 1, 2) |
|
31 |
self.label = QtWidgets.QLabel(TextItemEditDialog) |
|
32 |
self.label.setObjectName("label") |
|
33 |
self.gridLayout.addWidget(self.label, 2, 0, 1, 1) |
|
34 |
self.lineEditReplaceText = QtWidgets.QLineEdit(TextItemEditDialog) |
|
35 |
self.lineEditReplaceText.setObjectName("lineEditReplaceText") |
|
36 |
self.gridLayout.addWidget(self.lineEditReplaceText, 2, 1, 1, 2) |
|
37 |
self.label_2 = QtWidgets.QLabel(TextItemEditDialog) |
|
38 |
self.label_2.setObjectName("label_2") |
|
39 |
self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) |
|
40 |
self.checkBoxUID = QtWidgets.QCheckBox(TextItemEditDialog) |
|
41 |
self.checkBoxUID.setFocusPolicy(QtCore.Qt.NoFocus) |
|
42 |
self.checkBoxUID.setObjectName("checkBoxUID") |
|
43 |
self.gridLayout.addWidget(self.checkBoxUID, 4, 0, 1, 1) |
|
40 | 44 |
|
41 | 45 |
self.retranslateUi(TextItemEditDialog) |
42 | 46 |
self.buttonBox.accepted.connect(TextItemEditDialog.accept) |
... | ... | |
46 | 50 |
def retranslateUi(self, TextItemEditDialog): |
47 | 51 |
_translate = QtCore.QCoreApplication.translate |
48 | 52 |
TextItemEditDialog.setWindowTitle(_translate("TextItemEditDialog", "Text Find / Replace")) |
49 |
self.label.setText(_translate("TextItemEditDialog", "Replace")) |
|
50 | 53 |
self.pushButtonReplaceText.setText(_translate("TextItemEditDialog", "Replace")) |
51 |
self.label_2.setText(_translate("TextItemEditDialog", "Text")) |
|
52 | 54 |
self.pushButtonFindText.setText(_translate("TextItemEditDialog", "→")) |
55 |
self.label.setText(_translate("TextItemEditDialog", "Replace")) |
|
56 |
self.label_2.setText(_translate("TextItemEditDialog", "Text")) |
|
57 |
self.checkBoxUID.setText(_translate("TextItemEditDialog", "UID")) |
|
53 | 58 |
|
54 | 59 |
|
55 | 60 |
if __name__ == "__main__": |
내보내기 Unified diff