hytos / DTI_PID / DTI_PID / BMSetting_UI.py @ 3015e48e
이력 | 보기 | 이력해설 | 다운로드 (5.04 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file './UI/BMSetting.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_BMSettingDialog(object): |
12 |
def setupUi(self, BMSettingDialog): |
13 |
BMSettingDialog.setObjectName("BMSettingDialog")
|
14 |
BMSettingDialog.resize(865, 396) |
15 |
self.gridLayout_2 = QtWidgets.QGridLayout(BMSettingDialog)
|
16 |
self.gridLayout_2.setObjectName("gridLayout_2") |
17 |
self.splitter = QtWidgets.QSplitter(BMSettingDialog)
|
18 |
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
19 |
self.splitter.setObjectName("splitter") |
20 |
self.verticalLayoutWidget = QtWidgets.QWidget(self.splitter) |
21 |
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") |
22 |
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget) |
23 |
self.verticalLayout.setContentsMargins(0, 0, 0, 0) |
24 |
self.verticalLayout.setObjectName("verticalLayout") |
25 |
self.groupBoxSymbol = QtWidgets.QGroupBox(self.verticalLayoutWidget) |
26 |
self.groupBoxSymbol.setObjectName("groupBoxSymbol") |
27 |
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBoxSymbol) |
28 |
self.gridLayout_5.setObjectName("gridLayout_5") |
29 |
self.gridLayout_3 = QtWidgets.QGridLayout()
|
30 |
self.gridLayout_3.setObjectName("gridLayout_3") |
31 |
self.treeViewSymbolMapping = QtWidgets.QTreeView(self.groupBoxSymbol) |
32 |
self.treeViewSymbolMapping.setObjectName("treeViewSymbolMapping") |
33 |
self.gridLayout_3.addWidget(self.treeViewSymbolMapping, 0, 1, 3, 1) |
34 |
self.tableViewSymbolList = QtWidgets.QTableView(self.groupBoxSymbol) |
35 |
self.tableViewSymbolList.setObjectName("tableViewSymbolList") |
36 |
self.gridLayout_3.addWidget(self.tableViewSymbolList, 2, 0, 1, 1) |
37 |
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
38 |
self.horizontalLayout.setObjectName("horizontalLayout") |
39 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
40 |
self.horizontalLayout.addItem(spacerItem)
|
41 |
self.pushButtonAdd = QtWidgets.QPushButton(self.groupBoxSymbol) |
42 |
self.pushButtonAdd.setObjectName("pushButtonAdd") |
43 |
self.horizontalLayout.addWidget(self.pushButtonAdd) |
44 |
self.pushButtonDelete = QtWidgets.QPushButton(self.groupBoxSymbol) |
45 |
self.pushButtonDelete.setObjectName("pushButtonDelete") |
46 |
self.horizontalLayout.addWidget(self.pushButtonDelete) |
47 |
self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1) |
48 |
self.gridLayout_5.addLayout(self.gridLayout_3, 0, 0, 1, 1) |
49 |
self.verticalLayout.addWidget(self.groupBoxSymbol) |
50 |
self.verticalLayoutWidget_6 = QtWidgets.QWidget(self.splitter) |
51 |
self.verticalLayoutWidget_6.setObjectName("verticalLayoutWidget_6") |
52 |
self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_6) |
53 |
self.verticalLayout_11.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
54 |
self.verticalLayout_11.setContentsMargins(0, 0, 0, 0) |
55 |
self.verticalLayout_11.setObjectName("verticalLayout_11") |
56 |
self.groupBoxAttribute = QtWidgets.QGroupBox(self.verticalLayoutWidget_6) |
57 |
self.groupBoxAttribute.setObjectName("groupBoxAttribute") |
58 |
self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBoxAttribute) |
59 |
self.gridLayout_6.setObjectName("gridLayout_6") |
60 |
self.gridLayout_4 = QtWidgets.QGridLayout()
|
61 |
self.gridLayout_4.setObjectName("gridLayout_4") |
62 |
self.tableViewAttributeList = QtWidgets.QTableView(self.groupBoxAttribute) |
63 |
self.tableViewAttributeList.setObjectName("tableViewAttributeList") |
64 |
self.gridLayout_4.addWidget(self.tableViewAttributeList, 0, 0, 1, 1) |
65 |
self.gridLayout_6.addLayout(self.gridLayout_4, 0, 0, 1, 1) |
66 |
self.verticalLayout_11.addWidget(self.groupBoxAttribute) |
67 |
self.gridLayout_2.addWidget(self.splitter, 0, 0, 1, 1) |
68 |
self.buttonBox = QtWidgets.QDialogButtonBox(BMSettingDialog)
|
69 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
70 |
self.buttonBox.setObjectName("buttonBox") |
71 |
self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 1) |
72 |
|
73 |
self.retranslateUi(BMSettingDialog)
|
74 |
QtCore.QMetaObject.connectSlotsByName(BMSettingDialog) |
75 |
|
76 |
def retranslateUi(self, BMSettingDialog): |
77 |
_translate = QtCore.QCoreApplication.translate |
78 |
BMSettingDialog.setWindowTitle(_translate("BMSettingDialog", "BM Setting")) |
79 |
self.groupBoxSymbol.setTitle(_translate("BMSettingDialog", "Symbol Mapping")) |
80 |
self.pushButtonAdd.setText(_translate("BMSettingDialog", "Add")) |
81 |
self.pushButtonDelete.setText(_translate("BMSettingDialog", "Delete")) |
82 |
self.groupBoxAttribute.setTitle(_translate("BMSettingDialog", "Attributes")) |
83 |
|
84 |
|
85 |
if __name__ == "__main__": |
86 |
import sys |
87 |
app = QtWidgets.QApplication(sys.argv) |
88 |
BMSettingDialog = QtWidgets.QDialog() |
89 |
ui = Ui_BMSettingDialog() |
90 |
ui.setupUi(BMSettingDialog) |
91 |
BMSettingDialog.show() |
92 |
sys.exit(app.exec_()) |
93 |
|