hytos / DTI_PID / DTI_PID / Recognition_UI.py @ 19d19912
이력 | 보기 | 이력해설 | 다운로드 (5.88 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file '.\ui\Recognition.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_Recognition(object): |
12 |
def setupUi(self, Recognition): |
13 |
Recognition.setObjectName("Recognition")
|
14 |
Recognition.setWindowModality(QtCore.Qt.WindowModal) |
15 |
Recognition.resize(878, 453) |
16 |
font = QtGui.QFont() |
17 |
font.setFamily("맑은 고딕")
|
18 |
Recognition.setFont(font) |
19 |
self.gridLayout = QtWidgets.QGridLayout(Recognition)
|
20 |
self.gridLayout.setObjectName("gridLayout") |
21 |
self.gridLayout_2 = QtWidgets.QGridLayout()
|
22 |
self.gridLayout_2.setObjectName("gridLayout_2") |
23 |
self.labelImage = QtWidgets.QLabel(Recognition)
|
24 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Ignored) |
25 |
sizePolicy.setHorizontalStretch(0)
|
26 |
sizePolicy.setVerticalStretch(0)
|
27 |
sizePolicy.setHeightForWidth(self.labelImage.sizePolicy().hasHeightForWidth())
|
28 |
self.labelImage.setSizePolicy(sizePolicy)
|
29 |
self.labelImage.setMinimumSize(QtCore.QSize(150, 150)) |
30 |
self.labelImage.setMaximumSize(QtCore.QSize(150, 150)) |
31 |
self.labelImage.setFrameShape(QtWidgets.QFrame.Box)
|
32 |
self.labelImage.setText("") |
33 |
self.labelImage.setScaledContents(True) |
34 |
self.labelImage.setAlignment(QtCore.Qt.AlignCenter)
|
35 |
self.labelImage.setObjectName("labelImage") |
36 |
self.gridLayout_2.addWidget(self.labelImage, 1, 5, 1, 1) |
37 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
38 |
self.gridLayout_2.addItem(spacerItem, 0, 3, 1, 1) |
39 |
self.recognizeButton = QtWidgets.QPushButton(Recognition)
|
40 |
self.recognizeButton.setMinimumSize(QtCore.QSize(150, 0)) |
41 |
self.recognizeButton.setMaximumSize(QtCore.QSize(150, 16777215)) |
42 |
self.recognizeButton.setObjectName("recognizeButton") |
43 |
self.gridLayout_2.addWidget(self.recognizeButton, 0, 5, 1, 1, QtCore.Qt.AlignRight) |
44 |
self.checkBoxText = QtWidgets.QCheckBox(Recognition)
|
45 |
self.checkBoxText.setMaximumSize(QtCore.QSize(103, 16777215)) |
46 |
self.checkBoxText.setChecked(True) |
47 |
self.checkBoxText.setObjectName("checkBoxText") |
48 |
self.gridLayout_2.addWidget(self.checkBoxText, 0, 1, 1, 1) |
49 |
self.labelTitle = QtWidgets.QLabel(Recognition)
|
50 |
palette = QtGui.QPalette() |
51 |
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255)) |
52 |
brush.setStyle(QtCore.Qt.SolidPattern) |
53 |
palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush) |
54 |
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255)) |
55 |
brush.setStyle(QtCore.Qt.SolidPattern) |
56 |
palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush) |
57 |
brush = QtGui.QBrush(QtGui.QColor(120, 120, 120)) |
58 |
brush.setStyle(QtCore.Qt.SolidPattern) |
59 |
palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush) |
60 |
self.labelTitle.setPalette(palette)
|
61 |
font = QtGui.QFont() |
62 |
font.setBold(True)
|
63 |
font.setWeight(75)
|
64 |
self.labelTitle.setFont(font)
|
65 |
self.labelTitle.setText("") |
66 |
self.labelTitle.setAlignment(QtCore.Qt.AlignCenter)
|
67 |
self.labelTitle.setObjectName("labelTitle") |
68 |
self.gridLayout_2.addWidget(self.labelTitle, 0, 4, 1, 1) |
69 |
self.lineCheckBox = QtWidgets.QCheckBox(Recognition)
|
70 |
self.lineCheckBox.setMaximumSize(QtCore.QSize(47, 16777215)) |
71 |
self.lineCheckBox.setChecked(False) |
72 |
self.lineCheckBox.setObjectName("lineCheckBox") |
73 |
self.gridLayout_2.addWidget(self.lineCheckBox, 0, 2, 1, 1) |
74 |
self.checkBoxSymbol = QtWidgets.QCheckBox(Recognition)
|
75 |
self.checkBoxSymbol.setMaximumSize(QtCore.QSize(103, 16777215)) |
76 |
self.checkBoxSymbol.setChecked(True) |
77 |
self.checkBoxSymbol.setObjectName("checkBoxSymbol") |
78 |
self.gridLayout_2.addWidget(self.checkBoxSymbol, 0, 0, 1, 1) |
79 |
self.listWidget = QtWidgets.QListWidget(Recognition)
|
80 |
self.listWidget.setObjectName("listWidget") |
81 |
self.gridLayout_2.addWidget(self.listWidget, 1, 0, 1, 5) |
82 |
self.buttonBox = QtWidgets.QDialogButtonBox(Recognition)
|
83 |
self.buttonBox.setEnabled(False) |
84 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) |
85 |
sizePolicy.setHorizontalStretch(0)
|
86 |
sizePolicy.setVerticalStretch(0)
|
87 |
sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
|
88 |
self.buttonBox.setSizePolicy(sizePolicy)
|
89 |
self.buttonBox.setMinimumSize(QtCore.QSize(150, 0)) |
90 |
self.buttonBox.setMaximumSize(QtCore.QSize(150, 16777215)) |
91 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
92 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
|
93 |
self.buttonBox.setObjectName("buttonBox") |
94 |
self.gridLayout_2.addWidget(self.buttonBox, 2, 5, 1, 1) |
95 |
self.progressBar = QtWidgets.QProgressBar(Recognition)
|
96 |
self.progressBar.setProperty("value", 0) |
97 |
self.progressBar.setObjectName("progressBar") |
98 |
self.gridLayout_2.addWidget(self.progressBar, 2, 0, 1, 5) |
99 |
self.gridLayout.addLayout(self.gridLayout_2, 0, 1, 1, 1) |
100 |
|
101 |
self.retranslateUi(Recognition)
|
102 |
self.buttonBox.clicked['QAbstractButton*'].connect(Recognition.accept) |
103 |
QtCore.QMetaObject.connectSlotsByName(Recognition) |
104 |
|
105 |
def retranslateUi(self, Recognition): |
106 |
_translate = QtCore.QCoreApplication.translate |
107 |
Recognition.setWindowTitle(_translate("Recognition", "설계정보 인식")) |
108 |
self.recognizeButton.setText(_translate("Recognition", "정보 인식")) |
109 |
self.checkBoxText.setText(_translate("Recognition", "텍스트")) |
110 |
self.lineCheckBox.setText(_translate("Recognition", "라인")) |
111 |
self.checkBoxSymbol.setText(_translate("Recognition", "심볼")) |
112 |
|