hytos / HYTOS / HYTOS / UI / About_UI.py @ d694c9e8
이력 | 보기 | 이력해설 | 다운로드 (7.05 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\About.ui'
|
4 |
#
|
5 |
# Created by: PyQt5 UI code generator 5.13.0
|
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_AboutDialog(object): |
14 |
def setupUi(self, AboutDialog): |
15 |
AboutDialog.setObjectName("AboutDialog")
|
16 |
AboutDialog.resize(578, 570) |
17 |
font = QtGui.QFont() |
18 |
font.setFamily("맑은 고딕")
|
19 |
AboutDialog.setFont(font) |
20 |
icon = QtGui.QIcon() |
21 |
icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
22 |
AboutDialog.setWindowIcon(icon) |
23 |
self.gridLayout_2 = QtWidgets.QGridLayout(AboutDialog)
|
24 |
self.gridLayout_2.setObjectName("gridLayout_2") |
25 |
self.tabWidget = QtWidgets.QTabWidget(AboutDialog)
|
26 |
self.tabWidget.setTabPosition(QtWidgets.QTabWidget.South)
|
27 |
self.tabWidget.setObjectName("tabWidget") |
28 |
self.tab = QtWidgets.QWidget()
|
29 |
self.tab.setObjectName("tab") |
30 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.tab) |
31 |
self.gridLayout_4.setObjectName("gridLayout_4") |
32 |
self.gridLayout_3 = QtWidgets.QGridLayout()
|
33 |
self.gridLayout_3.setObjectName("gridLayout_3") |
34 |
self.label = QtWidgets.QLabel(self.tab) |
35 |
self.label.setText("") |
36 |
self.label.setPixmap(QtGui.QPixmap(":/images/Information.png")) |
37 |
self.label.setObjectName("label") |
38 |
self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1) |
39 |
self.textEdit = QtWidgets.QTextEdit(self.tab) |
40 |
self.textEdit.setReadOnly(True) |
41 |
self.textEdit.setObjectName("textEdit") |
42 |
self.gridLayout_3.addWidget(self.textEdit, 1, 0, 1, 1) |
43 |
self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1) |
44 |
self.tabWidget.addTab(self.tab, "") |
45 |
self.tab_2 = QtWidgets.QWidget()
|
46 |
self.tab_2.setObjectName("tab_2") |
47 |
self.gridLayout_5 = QtWidgets.QGridLayout(self.tab_2) |
48 |
self.gridLayout_5.setObjectName("gridLayout_5") |
49 |
self.gridLayout = QtWidgets.QGridLayout()
|
50 |
self.gridLayout.setObjectName("gridLayout") |
51 |
self.label_2 = QtWidgets.QLabel(self.tab_2) |
52 |
self.label_2.setFrameShape(QtWidgets.QFrame.NoFrame)
|
53 |
self.label_2.setObjectName("label_2") |
54 |
self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1) |
55 |
self.label_4 = QtWidgets.QLabel(self.tab_2) |
56 |
self.label_4.setFrameShape(QtWidgets.QFrame.NoFrame)
|
57 |
self.label_4.setObjectName("label_4") |
58 |
self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1) |
59 |
self.label_5 = QtWidgets.QLabel(self.tab_2) |
60 |
self.label_5.setFrameShape(QtWidgets.QFrame.NoFrame)
|
61 |
self.label_5.setObjectName("label_5") |
62 |
self.gridLayout.addWidget(self.label_5, 6, 0, 1, 1) |
63 |
self.line_2 = QtWidgets.QFrame(self.tab_2) |
64 |
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
|
65 |
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
|
66 |
self.line_2.setObjectName("line_2") |
67 |
self.gridLayout.addWidget(self.line_2, 3, 0, 1, 1) |
68 |
self.line = QtWidgets.QFrame(self.tab_2) |
69 |
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
70 |
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
71 |
self.line.setObjectName("line") |
72 |
self.gridLayout.addWidget(self.line, 1, 0, 1, 1) |
73 |
self.label_3 = QtWidgets.QLabel(self.tab_2) |
74 |
self.label_3.setFrameShape(QtWidgets.QFrame.NoFrame)
|
75 |
self.label_3.setObjectName("label_3") |
76 |
self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1) |
77 |
self.line_3 = QtWidgets.QFrame(self.tab_2) |
78 |
self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
|
79 |
self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
|
80 |
self.line_3.setObjectName("line_3") |
81 |
self.gridLayout.addWidget(self.line_3, 5, 0, 1, 1) |
82 |
self.gridLayout_5.addLayout(self.gridLayout, 0, 0, 1, 1) |
83 |
self.tabWidget.addTab(self.tab_2, "") |
84 |
self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1) |
85 |
self.buttonBox = QtWidgets.QDialogButtonBox(AboutDialog)
|
86 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
87 |
self.buttonBox.setObjectName("buttonBox") |
88 |
self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 1) |
89 |
|
90 |
self.retranslateUi(AboutDialog)
|
91 |
self.tabWidget.setCurrentIndex(0) |
92 |
QtCore.QMetaObject.connectSlotsByName(AboutDialog) |
93 |
AboutDialog.setTabOrder(self.textEdit, self.tabWidget) |
94 |
|
95 |
def retranslateUi(self, AboutDialog): |
96 |
_translate = QtCore.QCoreApplication.translate |
97 |
AboutDialog.setWindowTitle(_translate("AboutDialog", "About")) |
98 |
self.textEdit.setHtml(_translate("AboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" |
99 |
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
100 |
"p, li { white-space: pre-wrap; }\n"
|
101 |
"</style></head><body style=\" font-family:\'맑은 고딕\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
102 |
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Noto Sans KR\'; color:#000000;\">Copyright (c) 2019. Samsung Engineering Co., Ltd. All rights reserved. Distributed under a licensing agreement with Samsung Engineering Co., Ltd.</span></p>\n"
|
103 |
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Noto Sans KR\'; color:#000000;\"><br /></p>\n"
|
104 |
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Noto Sans KR\'; color:#000000;\">경고: 이 프로그램의 전부 또는 일부를 무단으로 복제, 배포하는 행위는 민사 및 형사법에 의해 엄격히 규제되어 있으며, 기소 사유가 됩니다.</span></p></body></html>"))
|
105 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("AboutDialog", "Information")) |
106 |
self.label_2.setText(_translate("AboutDialog", "Samsung Engineering Co., Ltd.\n" |
107 |
"\n"
|
108 |
" Process Engineering Department\n"
|
109 |
"\n"
|
110 |
" Plant Technology Center"))
|
111 |
self.label_4.setText(_translate("AboutDialog", "Inspector: Bo Yeon, Jeong\n" |
112 |
"\n"
|
113 |
" Gue Won Lee"))
|
114 |
self.label_5.setText(_translate("AboutDialog", "Reference :\n" |
115 |
"\n"
|
116 |
" Ludwig\'s Applied Process Design for Chemical and Petrochemical Plants. 4th ed.\n"
|
117 |
"\n"
|
118 |
" Flow of Fluids - through valves, fittings and pipe. Metric ed. ⓒ1988 Crane Co.\n"
|
119 |
"\n"
|
120 |
" Cameron Hydraulic Data. 18th ed.\n"
|
121 |
"\n"
|
122 |
" HTFS Commercial Report\n"
|
123 |
"\n"
|
124 |
" Unit Operations of Chemical Engineering. 6th ed.\n"
|
125 |
"\n"
|
126 |
" Chemical Engineering Thermodynamics. 6th ed.\n"
|
127 |
"\n"
|
128 |
" SPD0032ERN (Samsung Engineering Manual)\n"
|
129 |
"\n"
|
130 |
" WNJ (SECL Process Engineering Handbook)"))
|
131 |
self.label_3.setText(_translate("AboutDialog", "Director: Sang Do, Kim")) |
132 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("AboutDialog", "Credits")) |
133 |
import Resource_rc |