프로젝트

일반

사용자정보

개정판 9168f672

ID9168f6720f7e78b3a00e397971e823b412645819
상위 90edbe1a
하위 5ddb142e, bd43d199

백흠경이(가) 약 5년 전에 추가함

issue #597: HMB 테이블 연계

Change-Id: I9c77c32f94d3fe2b90a124195ab001fff08a799d

차이점 보기:

DTI_PID/DTI_PID/HMB_UI.py
2 2

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

  
......
28 28
        self.groupBoxHMBRecord.setObjectName("groupBoxHMBRecord")
29 29
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBoxHMBRecord)
30 30
        self.gridLayout_4.setObjectName("gridLayout_4")
31
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
32
        self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
33
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
31
        self.gridLayout_2 = QtWidgets.QGridLayout()
32
        self.gridLayout_2.setObjectName("gridLayout_2")
34 33
        self.pushButtonAddRecord = QtWidgets.QPushButton(self.groupBoxHMBRecord)
35 34
        self.pushButtonAddRecord.setMaximumSize(QtCore.QSize(24, 16777215))
36 35
        self.pushButtonAddRecord.setObjectName("pushButtonAddRecord")
37
        self.horizontalLayout_3.addWidget(self.pushButtonAddRecord, 0, QtCore.Qt.AlignRight)
36
        self.gridLayout_2.addWidget(self.pushButtonAddRecord, 0, 1, 1, 1)
38 37
        self.pushButtonDelRecord = QtWidgets.QPushButton(self.groupBoxHMBRecord)
39 38
        self.pushButtonDelRecord.setMaximumSize(QtCore.QSize(24, 16777215))
40 39
        self.pushButtonDelRecord.setObjectName("pushButtonDelRecord")
41
        self.horizontalLayout_3.addWidget(self.pushButtonDelRecord)
42
        self.gridLayout_4.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
43
        self.tableWidgetHMBRecord = QtWidgets.QTableWidget(self.groupBoxHMBRecord)
44
        self.tableWidgetHMBRecord.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
45
        self.tableWidgetHMBRecord.setColumnCount(2)
46
        self.tableWidgetHMBRecord.setObjectName("tableWidgetHMBRecord")
47
        self.tableWidgetHMBRecord.setRowCount(0)
48
        self.tableWidgetHMBRecord.verticalHeader().setVisible(False)
49
        self.gridLayout_4.addWidget(self.tableWidgetHMBRecord, 1, 0, 1, 1)
40
        self.gridLayout_2.addWidget(self.pushButtonDelRecord, 0, 2, 1, 1)
41
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
42
        self.gridLayout_2.addItem(spacerItem, 0, 0, 1, 1)
43
        self.horizontalLayoutHMBColTableWidget = QtWidgets.QHBoxLayout()
44
        self.horizontalLayoutHMBColTableWidget.setObjectName("horizontalLayoutHMBColTableWidget")
45
        self.gridLayout_2.addLayout(self.horizontalLayoutHMBColTableWidget, 1, 0, 1, 3)
46
        self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1)
50 47
        self.verticalLayoutHMB.addWidget(self.groupBoxHMBRecord)
51 48
        self.groupBoxHMBData = QtWidgets.QGroupBox(HMBDialog)
52 49
        self.groupBoxHMBData.setObjectName("groupBoxHMBData")
53 50
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxHMBData)
54 51
        self.gridLayout_3.setObjectName("gridLayout_3")
55
        self.formLayout = QtWidgets.QFormLayout()
56
        self.formLayout.setObjectName("formLayout")
52
        self.gridLayout_8 = QtWidgets.QGridLayout()
53
        self.gridLayout_8.setObjectName("gridLayout_8")
54
        self.lineEditHMBArea = QtWidgets.QLineEdit(self.groupBoxHMBData)
55
        self.lineEditHMBArea.setMaximumSize(QtCore.QSize(150, 16777215))
56
        self.lineEditHMBArea.setObjectName("lineEditHMBArea")
57
        self.gridLayout_8.addWidget(self.lineEditHMBArea, 3, 0, 1, 1)
57 58
        self.label = QtWidgets.QLabel(self.groupBoxHMBData)
58 59
        self.label.setMaximumSize(QtCore.QSize(100, 16777215))
59 60
        self.label.setObjectName("label")
60
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label)
61
        self.label_2 = QtWidgets.QLabel(self.groupBoxHMBData)
62
        self.label_2.setMaximumSize(QtCore.QSize(100, 16777215))
63
        self.label_2.setObjectName("label_2")
64
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2)
65
        self.lineEditColumnWidth = QtWidgets.QLineEdit(self.groupBoxHMBData)
66
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
67
        sizePolicy.setHorizontalStretch(0)
68
        sizePolicy.setVerticalStretch(0)
69
        sizePolicy.setHeightForWidth(self.lineEditColumnWidth.sizePolicy().hasHeightForWidth())
70
        self.lineEditColumnWidth.setSizePolicy(sizePolicy)
71
        self.lineEditColumnWidth.setMaximumSize(QtCore.QSize(82, 16777215))
72
        self.lineEditColumnWidth.setObjectName("lineEditColumnWidth")
73
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditColumnWidth)
61
        self.gridLayout_8.addWidget(self.label, 0, 0, 1, 1)
62
        self.pushButtonHMBArea = QtWidgets.QPushButton(self.groupBoxHMBData)
63
        self.pushButtonHMBArea.setMaximumSize(QtCore.QSize(22, 16777215))
64
        self.pushButtonHMBArea.setObjectName("pushButtonHMBArea")
65
        self.gridLayout_8.addWidget(self.pushButtonHMBArea, 3, 1, 1, 1)
74 66
        self.lineEditRowHeight = QtWidgets.QLineEdit(self.groupBoxHMBData)
75 67
        self.lineEditRowHeight.setMaximumSize(QtCore.QSize(82, 16777215))
76 68
        self.lineEditRowHeight.setObjectName("lineEditRowHeight")
77
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEditRowHeight)
78
        self.label_3 = QtWidgets.QLabel(self.groupBoxHMBData)
79
        self.label_3.setObjectName("label_3")
80
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3)
69
        self.gridLayout_8.addWidget(self.lineEditRowHeight, 1, 3, 1, 1)
81 70
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
82 71
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
83 72
        self.radioButtonHorizontal = QtWidgets.QRadioButton(self.groupBoxHMBData)
......
88 77
        self.radioButtonVertical = QtWidgets.QRadioButton(self.groupBoxHMBData)
89 78
        self.radioButtonVertical.setObjectName("radioButtonVertical")
90 79
        self.horizontalLayout_5.addWidget(self.radioButtonVertical)
91
        self.formLayout.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_5)
92
        self.gridLayout_3.addLayout(self.formLayout, 2, 0, 1, 1)
93
        self.verticalLayout = QtWidgets.QVBoxLayout()
94
        self.verticalLayout.setObjectName("verticalLayout")
95
        self.horizontalLayout = QtWidgets.QHBoxLayout()
96
        self.horizontalLayout.setObjectName("horizontalLayout")
97
        self.lineEditHMBArea = QtWidgets.QLineEdit(self.groupBoxHMBData)
98
        self.lineEditHMBArea.setMaximumSize(QtCore.QSize(150, 16777215))
99
        self.lineEditHMBArea.setObjectName("lineEditHMBArea")
100
        self.horizontalLayout.addWidget(self.lineEditHMBArea)
101
        self.pushButtonHMBArea = QtWidgets.QPushButton(self.groupBoxHMBData)
102
        self.pushButtonHMBArea.setMaximumSize(QtCore.QSize(22, 16777215))
103
        self.pushButtonHMBArea.setObjectName("pushButtonHMBArea")
104
        self.horizontalLayout.addWidget(self.pushButtonHMBArea)
80
        self.gridLayout_8.addLayout(self.horizontalLayout_5, 2, 3, 1, 1)
81
        self.lineEditColumnWidth = QtWidgets.QLineEdit(self.groupBoxHMBData)
82
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
83
        sizePolicy.setHorizontalStretch(0)
84
        sizePolicy.setVerticalStretch(0)
85
        sizePolicy.setHeightForWidth(self.lineEditColumnWidth.sizePolicy().hasHeightForWidth())
86
        self.lineEditColumnWidth.setSizePolicy(sizePolicy)
87
        self.lineEditColumnWidth.setMaximumSize(QtCore.QSize(82, 16777215))
88
        self.lineEditColumnWidth.setObjectName("lineEditColumnWidth")
89
        self.gridLayout_8.addWidget(self.lineEditColumnWidth, 0, 3, 1, 1)
90
        self.label_2 = QtWidgets.QLabel(self.groupBoxHMBData)
91
        self.label_2.setMaximumSize(QtCore.QSize(100, 16777215))
92
        self.label_2.setObjectName("label_2")
93
        self.gridLayout_8.addWidget(self.label_2, 1, 0, 1, 1)
94
        self.label_3 = QtWidgets.QLabel(self.groupBoxHMBData)
95
        self.label_3.setObjectName("label_3")
96
        self.gridLayout_8.addWidget(self.label_3, 2, 0, 1, 1)
105 97
        self.pushButtonRecognizeText = QtWidgets.QPushButton(self.groupBoxHMBData)
106 98
        self.pushButtonRecognizeText.setMaximumSize(QtCore.QSize(84, 16777215))
107 99
        self.pushButtonRecognizeText.setObjectName("pushButtonRecognizeText")
108
        self.horizontalLayout.addWidget(self.pushButtonRecognizeText, 0, QtCore.Qt.AlignRight)
100
        self.gridLayout_8.addWidget(self.pushButtonRecognizeText, 3, 2, 1, 1)
101
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
102
        self.verticalLayout_2.setObjectName("verticalLayout_2")
103
        self.pushButtonAddHMBData = QtWidgets.QPushButton(self.groupBoxHMBData)
104
        self.pushButtonAddHMBData.setMinimumSize(QtCore.QSize(24, 24))
105
        self.pushButtonAddHMBData.setMaximumSize(QtCore.QSize(24, 24))
106
        self.pushButtonAddHMBData.setObjectName("pushButtonAddHMBData")
107
        self.verticalLayout_2.addWidget(self.pushButtonAddHMBData)
108
        self.pushButtonDelHMBData = QtWidgets.QPushButton(self.groupBoxHMBData)
109
        self.pushButtonDelHMBData.setMinimumSize(QtCore.QSize(24, 24))
110
        self.pushButtonDelHMBData.setMaximumSize(QtCore.QSize(24, 24))
111
        self.pushButtonDelHMBData.setObjectName("pushButtonDelHMBData")
112
        self.verticalLayout_2.addWidget(self.pushButtonDelHMBData)
113
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
114
        self.verticalLayout_2.addItem(spacerItem1)
115
        self.gridLayout_8.addLayout(self.verticalLayout_2, 7, 4, 1, 1)
109 116
        self.progressBar = QtWidgets.QProgressBar(self.groupBoxHMBData)
110 117
        self.progressBar.setProperty("value", 0)
111 118
        self.progressBar.setObjectName("progressBar")
112
        self.horizontalLayout.addWidget(self.progressBar)
113
        self.verticalLayout.addLayout(self.horizontalLayout)
114
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
115
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
116
        self.tableWidgetHMBData = QtWidgets.QTableWidget(self.groupBoxHMBData)
117
        self.tableWidgetHMBData.setSelectionMode(QtWidgets.QAbstractItemView.ContiguousSelection)
118
        self.tableWidgetHMBData.setColumnCount(2)
119
        self.tableWidgetHMBData.setObjectName("tableWidgetHMBData")
120
        self.tableWidgetHMBData.setRowCount(0)
121
        self.tableWidgetHMBData.verticalHeader().setVisible(False)
122
        self.horizontalLayout_2.addWidget(self.tableWidgetHMBData)
123
        self.pushButtonDelHMBData = QtWidgets.QPushButton(self.groupBoxHMBData)
124
        self.pushButtonDelHMBData.setMaximumSize(QtCore.QSize(24, 16777215))
125
        self.pushButtonDelHMBData.setObjectName("pushButtonDelHMBData")
126
        self.horizontalLayout_2.addWidget(self.pushButtonDelHMBData, 0, QtCore.Qt.AlignHCenter|QtCore.Qt.AlignTop)
127
        self.verticalLayout.addLayout(self.horizontalLayout_2)
128
        self.gridLayout_3.addLayout(self.verticalLayout, 7, 0, 1, 1)
119
        self.gridLayout_8.addWidget(self.progressBar, 3, 3, 1, 1)
120
        self.horizontalLayoutHMBTableWidget = QtWidgets.QHBoxLayout()
121
        self.horizontalLayoutHMBTableWidget.setObjectName("horizontalLayoutHMBTableWidget")
122
        self.gridLayout_8.addLayout(self.horizontalLayoutHMBTableWidget, 7, 0, 1, 4)
123
        self.gridLayout_3.addLayout(self.gridLayout_8, 0, 0, 1, 1)
129 124
        self.verticalLayoutHMB.addWidget(self.groupBoxHMBData)
130 125
        self.gridLayout.addLayout(self.verticalLayoutHMB, 0, 0, 1, 1)
131 126
        self.buttonBox = QtWidgets.QDialogButtonBox(HMBDialog)
......
147 142
        self.pushButtonDelRecord.setText(_translate("HMBDialog", "-"))
148 143
        self.groupBoxHMBData.setTitle(_translate("HMBDialog", "HMB Data"))
149 144
        self.label.setText(_translate("HMBDialog", "Column Width : "))
150
        self.label_2.setText(_translate("HMBDialog", "Row Height : "))
151
        self.label_3.setText(_translate("HMBDialog", "Record Direction : "))
145
        self.pushButtonHMBArea.setText(_translate("HMBDialog", "..."))
152 146
        self.radioButtonHorizontal.setText(_translate("HMBDialog", "Horizontal"))
153 147
        self.radioButtonVertical.setText(_translate("HMBDialog", "Vertical"))
154
        self.pushButtonHMBArea.setText(_translate("HMBDialog", "..."))
148
        self.label_2.setText(_translate("HMBDialog", "Row Height : "))
149
        self.label_3.setText(_translate("HMBDialog", "Record Direction : "))
155 150
        self.pushButtonRecognizeText.setText(_translate("HMBDialog", "Text Recog."))
151
        self.pushButtonAddHMBData.setText(_translate("HMBDialog", "+"))
156 152
        self.pushButtonDelHMBData.setText(_translate("HMBDialog", "x"))
157 153
import MainWindow_rc

내보내기 Unified diff

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