개정판 5eeb2eb7
add bm ui
Change-Id: I40bc8f1847aa253a2858f2d67827c53646c1ea6f
DTI_PID/DTI_PID/BMSetting_UI.py | ||
---|---|---|
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.9.2 |
|
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(713, 362) |
|
15 |
self.gridLayout_2 = QtWidgets.QGridLayout(BMSettingDialog) |
|
16 |
self.gridLayout_2.setObjectName("gridLayout_2") |
|
17 |
self.gridLayout = QtWidgets.QGridLayout() |
|
18 |
self.gridLayout.setObjectName("gridLayout") |
|
19 |
self.groupBoxSymbol = QtWidgets.QGroupBox(BMSettingDialog) |
|
20 |
self.groupBoxSymbol.setObjectName("groupBoxSymbol") |
|
21 |
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBoxSymbol) |
|
22 |
self.gridLayout_5.setObjectName("gridLayout_5") |
|
23 |
self.gridLayout_3 = QtWidgets.QGridLayout() |
|
24 |
self.gridLayout_3.setObjectName("gridLayout_3") |
|
25 |
self.tableView = QtWidgets.QTableView(self.groupBoxSymbol) |
|
26 |
self.tableView.setObjectName("tableView") |
|
27 |
self.gridLayout_3.addWidget(self.tableView, 0, 1, 1, 1) |
|
28 |
self.tableView_3 = QtWidgets.QTableView(self.groupBoxSymbol) |
|
29 |
self.tableView_3.setObjectName("tableView_3") |
|
30 |
self.gridLayout_3.addWidget(self.tableView_3, 0, 0, 1, 1) |
|
31 |
self.gridLayout_5.addLayout(self.gridLayout_3, 0, 0, 1, 1) |
|
32 |
self.gridLayout.addWidget(self.groupBoxSymbol, 0, 0, 1, 1) |
|
33 |
self.groupBoxAttribute = QtWidgets.QGroupBox(BMSettingDialog) |
|
34 |
self.groupBoxAttribute.setObjectName("groupBoxAttribute") |
|
35 |
self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBoxAttribute) |
|
36 |
self.gridLayout_6.setObjectName("gridLayout_6") |
|
37 |
self.gridLayout_4 = QtWidgets.QGridLayout() |
|
38 |
self.gridLayout_4.setObjectName("gridLayout_4") |
|
39 |
self.tableView_2 = QtWidgets.QTableView(self.groupBoxAttribute) |
|
40 |
self.tableView_2.setObjectName("tableView_2") |
|
41 |
self.gridLayout_4.addWidget(self.tableView_2, 0, 0, 1, 1) |
|
42 |
self.gridLayout_6.addLayout(self.gridLayout_4, 0, 0, 1, 1) |
|
43 |
self.gridLayout.addWidget(self.groupBoxAttribute, 0, 1, 1, 1) |
|
44 |
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1) |
|
45 |
self.buttonBox = QtWidgets.QDialogButtonBox(BMSettingDialog) |
|
46 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
|
47 |
self.buttonBox.setObjectName("buttonBox") |
|
48 |
self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 1) |
|
49 |
|
|
50 |
self.retranslateUi(BMSettingDialog) |
|
51 |
QtCore.QMetaObject.connectSlotsByName(BMSettingDialog) |
|
52 |
|
|
53 |
def retranslateUi(self, BMSettingDialog): |
|
54 |
_translate = QtCore.QCoreApplication.translate |
|
55 |
BMSettingDialog.setWindowTitle(_translate("BMSettingDialog", "BMSetting")) |
|
56 |
self.groupBoxSymbol.setTitle(_translate("BMSettingDialog", "Symbol Mapping")) |
|
57 |
self.groupBoxAttribute.setTitle(_translate("BMSettingDialog", "Attributes")) |
|
58 |
|
|
59 |
|
|
60 |
if __name__ == "__main__": |
|
61 |
import sys |
|
62 |
app = QtWidgets.QApplication(sys.argv) |
|
63 |
BMSettingDialog = QtWidgets.QDialog() |
|
64 |
ui = Ui_BMSettingDialog() |
|
65 |
ui.setupUi(BMSettingDialog) |
|
66 |
BMSettingDialog.show() |
|
67 |
sys.exit(app.exec_()) |
|
68 |
|
DTI_PID/DTI_PID/UI/BMSetting.ui | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<ui version="4.0"> |
|
3 |
<class>BMSettingDialog</class> |
|
4 |
<widget class="QDialog" name="BMSettingDialog"> |
|
5 |
<property name="geometry"> |
|
6 |
<rect> |
|
7 |
<x>0</x> |
|
8 |
<y>0</y> |
|
9 |
<width>713</width> |
|
10 |
<height>362</height> |
|
11 |
</rect> |
|
12 |
</property> |
|
13 |
<property name="windowTitle"> |
|
14 |
<string>BMSetting</string> |
|
15 |
</property> |
|
16 |
<layout class="QGridLayout" name="gridLayout_2"> |
|
17 |
<item row="0" column="0"> |
|
18 |
<layout class="QGridLayout" name="gridLayout"> |
|
19 |
<item row="0" column="0"> |
|
20 |
<widget class="QGroupBox" name="groupBoxSymbol"> |
|
21 |
<property name="title"> |
|
22 |
<string>Symbol Mapping</string> |
|
23 |
</property> |
|
24 |
<layout class="QGridLayout" name="gridLayout_5"> |
|
25 |
<item row="0" column="0"> |
|
26 |
<layout class="QGridLayout" name="gridLayout_3"> |
|
27 |
<item row="0" column="1"> |
|
28 |
<widget class="QTableView" name="tableView"/> |
|
29 |
</item> |
|
30 |
<item row="0" column="0"> |
|
31 |
<widget class="QTableView" name="tableView_3"/> |
|
32 |
</item> |
|
33 |
</layout> |
|
34 |
</item> |
|
35 |
</layout> |
|
36 |
</widget> |
|
37 |
</item> |
|
38 |
<item row="0" column="1"> |
|
39 |
<widget class="QGroupBox" name="groupBoxAttribute"> |
|
40 |
<property name="title"> |
|
41 |
<string>Attributes</string> |
|
42 |
</property> |
|
43 |
<layout class="QGridLayout" name="gridLayout_6"> |
|
44 |
<item row="0" column="0"> |
|
45 |
<layout class="QGridLayout" name="gridLayout_4"> |
|
46 |
<item row="0" column="0"> |
|
47 |
<widget class="QTableView" name="tableView_2"/> |
|
48 |
</item> |
|
49 |
</layout> |
|
50 |
</item> |
|
51 |
</layout> |
|
52 |
</widget> |
|
53 |
</item> |
|
54 |
</layout> |
|
55 |
</item> |
|
56 |
<item row="1" column="0"> |
|
57 |
<widget class="QDialogButtonBox" name="buttonBox"> |
|
58 |
<property name="standardButtons"> |
|
59 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
60 |
</property> |
|
61 |
</widget> |
|
62 |
</item> |
|
63 |
</layout> |
|
64 |
</widget> |
|
65 |
<resources/> |
|
66 |
<connections/> |
|
67 |
</ui> |
내보내기 Unified diff