개정판 27797e99
psn opc
Change-Id: Ib79aa86fc1ee0fc5be01f620d5d9daaeba8ba192
DTI_PID/DTI_PID/PSNLineNoAttrTarget_UI.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 | ||
3 |
# Form implementation generated from reading ui file './UI/PSNLineNoAttrTarget.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.15.4 |
|
6 |
# |
|
7 |
# WARNING: Any manual changes made to this file will be lost when pyuic5 is |
|
8 |
# run again. Do not edit this file unless you know what you are doing. |
|
9 | ||
10 | ||
11 |
from PyQt5 import QtCore, QtGui, QtWidgets |
|
12 | ||
13 | ||
14 |
class Ui_AttributeTarget(object): |
|
15 |
def setupUi(self, AttributeTarget): |
|
16 |
AttributeTarget.setObjectName("AttributeTarget") |
|
17 |
AttributeTarget.resize(496, 341) |
|
18 |
font = QtGui.QFont() |
|
19 |
font.setFamily("맑은 고딕") |
|
20 |
AttributeTarget.setFont(font) |
|
21 |
icon = QtGui.QIcon() |
|
22 |
icon.addPixmap(QtGui.QPixmap(":/newPrefix/setting.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
23 |
AttributeTarget.setWindowIcon(icon) |
|
24 |
self.gridLayout = QtWidgets.QGridLayout(AttributeTarget) |
|
25 |
self.gridLayout.setObjectName("gridLayout") |
|
26 |
self.buttonBox = QtWidgets.QDialogButtonBox(AttributeTarget) |
|
27 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
|
28 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
|
29 |
self.buttonBox.setObjectName("buttonBox") |
|
30 |
self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1) |
|
31 |
self.groupBoxTitleBlock = QtWidgets.QGroupBox(AttributeTarget) |
|
32 |
self.groupBoxTitleBlock.setObjectName("groupBoxTitleBlock") |
|
33 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBoxTitleBlock) |
|
34 |
self.gridLayout_4.setObjectName("gridLayout_4") |
|
35 |
self.verticalLayout_3 = QtWidgets.QVBoxLayout() |
|
36 |
self.verticalLayout_3.setObjectName("verticalLayout_3") |
|
37 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout() |
|
38 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
|
39 |
self.tableWidget = QtWidgets.QTableWidget(self.groupBoxTitleBlock) |
|
40 |
self.tableWidget.setColumnCount(2) |
|
41 |
self.tableWidget.setObjectName("tableWidget") |
|
42 |
self.tableWidget.setRowCount(0) |
|
43 |
self.horizontalLayout_4.addWidget(self.tableWidget) |
|
44 |
self.verticalLayout_3.addLayout(self.horizontalLayout_4) |
|
45 |
self.gridLayout_4.addLayout(self.verticalLayout_3, 0, 0, 1, 1) |
|
46 |
self.gridLayout.addWidget(self.groupBoxTitleBlock, 1, 0, 1, 1) |
|
47 | ||
48 |
self.retranslateUi(AttributeTarget) |
|
49 |
self.buttonBox.accepted.connect(AttributeTarget.accept) |
|
50 |
self.buttonBox.rejected.connect(AttributeTarget.reject) |
|
51 |
QtCore.QMetaObject.connectSlotsByName(AttributeTarget) |
|
52 | ||
53 |
def retranslateUi(self, AttributeTarget): |
|
54 |
_translate = QtCore.QCoreApplication.translate |
|
55 |
AttributeTarget.setWindowTitle(_translate("AttributeTarget", "Attribute Target")) |
|
56 |
self.groupBoxTitleBlock.setTitle(_translate("AttributeTarget", "Line No. Attribute")) |
|
57 |
import MainWindow_rc |
|
58 | ||
59 | ||
60 |
if __name__ == "__main__": |
|
61 |
import sys |
|
62 |
app = QtWidgets.QApplication(sys.argv) |
|
63 |
AttributeTarget = QtWidgets.QDialog() |
|
64 |
ui = Ui_AttributeTarget() |
|
65 |
ui.setupUi(AttributeTarget) |
|
66 |
AttributeTarget.show() |
|
67 |
sys.exit(app.exec_()) |
DTI_PID/DTI_PID/UI/OPCRelation.ui | ||
---|---|---|
48 | 48 |
</property> |
49 | 49 |
</spacer> |
50 | 50 |
</item> |
51 |
<item> |
|
52 |
<widget class="QPushButton" name="pushButtonLineNoAttr"> |
|
53 |
<property name="text"> |
|
54 |
<string>Line No. Key Setting</string> |
|
55 |
</property> |
|
56 |
</widget> |
|
57 |
</item> |
|
51 | 58 |
</layout> |
52 | 59 |
</item> |
53 | 60 |
<item row="3" column="0"> |
내보내기 Unified diff