hytos / DTI_PID / DTI_PID / HMB_UI.py @ 9168f672
이력 | 보기 | 이력해설 | 다운로드 (9.25 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\HMB.ui'
|
4 |
#
|
5 |
# Created by: PyQt5 UI code generator 5.14.2
|
6 |
#
|
7 |
# WARNING! All changes made in this file will be lost!
|
8 |
|
9 |
|
10 |
from PyQt5 import QtCore, QtGui, QtWidgets |
11 |
|
12 |
|
13 |
class Ui_HMBDialog(object): |
14 |
def setupUi(self, HMBDialog): |
15 |
HMBDialog.setObjectName("HMBDialog")
|
16 |
HMBDialog.resize(771, 680) |
17 |
font = QtGui.QFont() |
18 |
font.setFamily("맑은 고딕")
|
19 |
HMBDialog.setFont(font) |
20 |
icon = QtGui.QIcon() |
21 |
icon.addPixmap(QtGui.QPixmap(":/newPrefix/HMBdata.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
22 |
HMBDialog.setWindowIcon(icon) |
23 |
self.gridLayout = QtWidgets.QGridLayout(HMBDialog)
|
24 |
self.gridLayout.setObjectName("gridLayout") |
25 |
self.verticalLayoutHMB = QtWidgets.QVBoxLayout()
|
26 |
self.verticalLayoutHMB.setObjectName("verticalLayoutHMB") |
27 |
self.groupBoxHMBRecord = QtWidgets.QGroupBox(HMBDialog)
|
28 |
self.groupBoxHMBRecord.setObjectName("groupBoxHMBRecord") |
29 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBoxHMBRecord) |
30 |
self.gridLayout_4.setObjectName("gridLayout_4") |
31 |
self.gridLayout_2 = QtWidgets.QGridLayout()
|
32 |
self.gridLayout_2.setObjectName("gridLayout_2") |
33 |
self.pushButtonAddRecord = QtWidgets.QPushButton(self.groupBoxHMBRecord) |
34 |
self.pushButtonAddRecord.setMaximumSize(QtCore.QSize(24, 16777215)) |
35 |
self.pushButtonAddRecord.setObjectName("pushButtonAddRecord") |
36 |
self.gridLayout_2.addWidget(self.pushButtonAddRecord, 0, 1, 1, 1) |
37 |
self.pushButtonDelRecord = QtWidgets.QPushButton(self.groupBoxHMBRecord) |
38 |
self.pushButtonDelRecord.setMaximumSize(QtCore.QSize(24, 16777215)) |
39 |
self.pushButtonDelRecord.setObjectName("pushButtonDelRecord") |
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) |
47 |
self.verticalLayoutHMB.addWidget(self.groupBoxHMBRecord) |
48 |
self.groupBoxHMBData = QtWidgets.QGroupBox(HMBDialog)
|
49 |
self.groupBoxHMBData.setObjectName("groupBoxHMBData") |
50 |
self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxHMBData) |
51 |
self.gridLayout_3.setObjectName("gridLayout_3") |
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) |
58 |
self.label = QtWidgets.QLabel(self.groupBoxHMBData) |
59 |
self.label.setMaximumSize(QtCore.QSize(100, 16777215)) |
60 |
self.label.setObjectName("label") |
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) |
66 |
self.lineEditRowHeight = QtWidgets.QLineEdit(self.groupBoxHMBData) |
67 |
self.lineEditRowHeight.setMaximumSize(QtCore.QSize(82, 16777215)) |
68 |
self.lineEditRowHeight.setObjectName("lineEditRowHeight") |
69 |
self.gridLayout_8.addWidget(self.lineEditRowHeight, 1, 3, 1, 1) |
70 |
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
|
71 |
self.horizontalLayout_5.setObjectName("horizontalLayout_5") |
72 |
self.radioButtonHorizontal = QtWidgets.QRadioButton(self.groupBoxHMBData) |
73 |
self.radioButtonHorizontal.setMaximumSize(QtCore.QSize(84, 16777215)) |
74 |
self.radioButtonHorizontal.setChecked(True) |
75 |
self.radioButtonHorizontal.setObjectName("radioButtonHorizontal") |
76 |
self.horizontalLayout_5.addWidget(self.radioButtonHorizontal) |
77 |
self.radioButtonVertical = QtWidgets.QRadioButton(self.groupBoxHMBData) |
78 |
self.radioButtonVertical.setObjectName("radioButtonVertical") |
79 |
self.horizontalLayout_5.addWidget(self.radioButtonVertical) |
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) |
97 |
self.pushButtonRecognizeText = QtWidgets.QPushButton(self.groupBoxHMBData) |
98 |
self.pushButtonRecognizeText.setMaximumSize(QtCore.QSize(84, 16777215)) |
99 |
self.pushButtonRecognizeText.setObjectName("pushButtonRecognizeText") |
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) |
116 |
self.progressBar = QtWidgets.QProgressBar(self.groupBoxHMBData) |
117 |
self.progressBar.setProperty("value", 0) |
118 |
self.progressBar.setObjectName("progressBar") |
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) |
124 |
self.verticalLayoutHMB.addWidget(self.groupBoxHMBData) |
125 |
self.gridLayout.addLayout(self.verticalLayoutHMB, 0, 0, 1, 1) |
126 |
self.buttonBox = QtWidgets.QDialogButtonBox(HMBDialog)
|
127 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
128 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
129 |
self.buttonBox.setObjectName("buttonBox") |
130 |
self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1) |
131 |
|
132 |
self.retranslateUi(HMBDialog)
|
133 |
self.buttonBox.accepted.connect(HMBDialog.accept)
|
134 |
self.buttonBox.rejected.connect(HMBDialog.reject)
|
135 |
QtCore.QMetaObject.connectSlotsByName(HMBDialog) |
136 |
|
137 |
def retranslateUi(self, HMBDialog): |
138 |
_translate = QtCore.QCoreApplication.translate |
139 |
HMBDialog.setWindowTitle(_translate("HMBDialog", "HMB")) |
140 |
self.groupBoxHMBRecord.setTitle(_translate("HMBDialog", "Record")) |
141 |
self.pushButtonAddRecord.setText(_translate("HMBDialog", "+")) |
142 |
self.pushButtonDelRecord.setText(_translate("HMBDialog", "-")) |
143 |
self.groupBoxHMBData.setTitle(_translate("HMBDialog", "HMB Data")) |
144 |
self.label.setText(_translate("HMBDialog", "Column Width : ")) |
145 |
self.pushButtonHMBArea.setText(_translate("HMBDialog", "...")) |
146 |
self.radioButtonHorizontal.setText(_translate("HMBDialog", "Horizontal")) |
147 |
self.radioButtonVertical.setText(_translate("HMBDialog", "Vertical")) |
148 |
self.label_2.setText(_translate("HMBDialog", "Row Height : ")) |
149 |
self.label_3.setText(_translate("HMBDialog", "Record Direction : ")) |
150 |
self.pushButtonRecognizeText.setText(_translate("HMBDialog", "Text Recog.")) |
151 |
self.pushButtonAddHMBData.setText(_translate("HMBDialog", "+")) |
152 |
self.pushButtonDelHMBData.setText(_translate("HMBDialog", "x")) |
153 |
import MainWindow_rc |