hytos / HYTOS / HYTOS / MainWindow_UI.py @ 902f44a9
이력 | 보기 | 이력해설 | 다운로드 (27.1 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\MainWindow.ui'
|
4 |
#
|
5 |
# Created by: PyQt5 UI code generator 5.12.3
|
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_MainWindow(object): |
14 |
def setupUi(self, MainWindow): |
15 |
MainWindow.setObjectName("MainWindow")
|
16 |
MainWindow.resize(905, 557) |
17 |
font = QtGui.QFont() |
18 |
font.setFamily("맑은 고딕")
|
19 |
font.setBold(False)
|
20 |
font.setWeight(50)
|
21 |
MainWindow.setFont(font) |
22 |
icon = QtGui.QIcon() |
23 |
icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
24 |
MainWindow.setWindowIcon(icon) |
25 |
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
26 |
self.centralwidget.setObjectName("centralwidget") |
27 |
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget) |
28 |
self.gridLayout.setObjectName("gridLayout") |
29 |
self.verticalLayout = QtWidgets.QVBoxLayout()
|
30 |
self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
|
31 |
self.verticalLayout.setObjectName("verticalLayout") |
32 |
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) |
33 |
MainWindow.setCentralWidget(self.centralwidget)
|
34 |
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
35 |
self.menubar.setGeometry(QtCore.QRect(0, 0, 905, 21)) |
36 |
self.menubar.setObjectName("menubar") |
37 |
self.menu = QtWidgets.QMenu(self.menubar) |
38 |
self.menu.setObjectName("menu") |
39 |
self.menuTheme = QtWidgets.QMenu(self.menu) |
40 |
self.menuTheme.setObjectName("menuTheme") |
41 |
self.menuLanguage = QtWidgets.QMenu(self.menu) |
42 |
self.menuLanguage.setObjectName("menuLanguage") |
43 |
self.menu_3 = QtWidgets.QMenu(self.menubar) |
44 |
self.menu_3.setObjectName("menu_3") |
45 |
self.menuTool = QtWidgets.QMenu(self.menubar) |
46 |
self.menuTool.setObjectName("menuTool") |
47 |
MainWindow.setMenuBar(self.menubar)
|
48 |
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
49 |
self.statusbar.setObjectName("statusbar") |
50 |
MainWindow.setStatusBar(self.statusbar)
|
51 |
self.dockWidgetSymbolExplorer = QtWidgets.QDockWidget(MainWindow)
|
52 |
self.dockWidgetSymbolExplorer.setMinimumSize(QtCore.QSize(200, 200)) |
53 |
self.dockWidgetSymbolExplorer.setObjectName("dockWidgetSymbolExplorer") |
54 |
self.dockWidgetContents = QtWidgets.QWidget()
|
55 |
self.dockWidgetContents.setObjectName("dockWidgetContents") |
56 |
self.gridLayout_2 = QtWidgets.QGridLayout(self.dockWidgetContents) |
57 |
self.gridLayout_2.setObjectName("gridLayout_2") |
58 |
self.verticalLayoutSymbolList = QtWidgets.QVBoxLayout()
|
59 |
self.verticalLayoutSymbolList.setObjectName("verticalLayoutSymbolList") |
60 |
self.gridLayout_2.addLayout(self.verticalLayoutSymbolList, 2, 0, 1, 1) |
61 |
self.dockWidgetSymbolExplorer.setWidget(self.dockWidgetContents) |
62 |
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dockWidgetSymbolExplorer) |
63 |
self.dockWidgetDrawingExplorer = QtWidgets.QDockWidget(MainWindow)
|
64 |
self.dockWidgetDrawingExplorer.setMinimumSize(QtCore.QSize(300, 328)) |
65 |
self.dockWidgetDrawingExplorer.setObjectName("dockWidgetDrawingExplorer") |
66 |
self.dockWidgetContents_2 = QtWidgets.QWidget()
|
67 |
self.dockWidgetContents_2.setObjectName("dockWidgetContents_2") |
68 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.dockWidgetContents_2) |
69 |
self.gridLayout_4.setObjectName("gridLayout_4") |
70 |
self.verticalLayoutDrawingList = QtWidgets.QVBoxLayout()
|
71 |
self.verticalLayoutDrawingList.setObjectName("verticalLayoutDrawingList") |
72 |
self.treeWidgetDrawingList = QtWidgets.QTreeWidget(self.dockWidgetContents_2) |
73 |
self.treeWidgetDrawingList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
74 |
self.treeWidgetDrawingList.setColumnCount(2) |
75 |
self.treeWidgetDrawingList.setObjectName("treeWidgetDrawingList") |
76 |
self.treeWidgetDrawingList.headerItem().setText(0, "1") |
77 |
self.treeWidgetDrawingList.headerItem().setText(1, "2") |
78 |
self.treeWidgetDrawingList.header().setVisible(False) |
79 |
self.verticalLayoutDrawingList.addWidget(self.treeWidgetDrawingList) |
80 |
self.gridLayout_4.addLayout(self.verticalLayoutDrawingList, 0, 0, 1, 1) |
81 |
self.dockWidgetDrawingExplorer.setWidget(self.dockWidgetContents_2) |
82 |
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidgetDrawingExplorer) |
83 |
self.dockWidgetHMBList = QtWidgets.QDockWidget(MainWindow)
|
84 |
self.dockWidgetHMBList.setFeatures(QtWidgets.QDockWidget.AllDockWidgetFeatures)
|
85 |
self.dockWidgetHMBList.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
|
86 |
self.dockWidgetHMBList.setObjectName("dockWidgetHMBList") |
87 |
self.dockWidgetContents_3 = QtWidgets.QWidget()
|
88 |
self.dockWidgetContents_3.setObjectName("dockWidgetContents_3") |
89 |
self.gridLayout_5 = QtWidgets.QGridLayout(self.dockWidgetContents_3) |
90 |
self.gridLayout_5.setObjectName("gridLayout_5") |
91 |
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
92 |
self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
93 |
self.horizontalLayout.setSpacing(6) |
94 |
self.horizontalLayout.setObjectName("horizontalLayout") |
95 |
self.tableWidgetHMB = QtWidgets.QTableWidget(self.dockWidgetContents_3) |
96 |
self.tableWidgetHMB.setObjectName("tableWidgetHMB") |
97 |
self.tableWidgetHMB.setColumnCount(0) |
98 |
self.tableWidgetHMB.setRowCount(0) |
99 |
self.horizontalLayout.addWidget(self.tableWidgetHMB) |
100 |
self.horizontalLayout.setStretch(0, 88) |
101 |
self.gridLayout_5.addLayout(self.horizontalLayout, 0, 1, 1, 1) |
102 |
self.dockWidgetHMBList.setWidget(self.dockWidgetContents_3) |
103 |
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidgetHMBList) |
104 |
self.toolBar = QtWidgets.QToolBar(MainWindow)
|
105 |
font = QtGui.QFont() |
106 |
font.setFamily("맑은 고딕")
|
107 |
font.setBold(True)
|
108 |
font.setWeight(75)
|
109 |
self.toolBar.setFont(font)
|
110 |
self.toolBar.setIconSize(QtCore.QSize(32, 32)) |
111 |
self.toolBar.setObjectName("toolBar") |
112 |
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
113 |
self.actionClose = QtWidgets.QAction(MainWindow)
|
114 |
icon1 = QtGui.QIcon() |
115 |
icon1.addPixmap(QtGui.QPixmap(":/images/Exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
116 |
self.actionClose.setIcon(icon1)
|
117 |
font = QtGui.QFont() |
118 |
font.setFamily("맑은 고딕")
|
119 |
self.actionClose.setFont(font)
|
120 |
self.actionClose.setShortcut("") |
121 |
self.actionClose.setObjectName("actionClose") |
122 |
self.actionRecognition = QtWidgets.QAction(MainWindow)
|
123 |
icon2 = QtGui.QIcon() |
124 |
icon2.addPixmap(QtGui.QPixmap(":/newPrefix/recognition.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
125 |
self.actionRecognition.setIcon(icon2)
|
126 |
font = QtGui.QFont() |
127 |
font.setFamily("맑은 고딕")
|
128 |
font.setBold(True)
|
129 |
font.setWeight(75)
|
130 |
self.actionRecognition.setFont(font)
|
131 |
self.actionRecognition.setObjectName("actionRecognition") |
132 |
self.actionLine = QtWidgets.QAction(MainWindow)
|
133 |
self.actionLine.setCheckable(True) |
134 |
icon3 = QtGui.QIcon() |
135 |
icon3.addPixmap(QtGui.QPixmap(":/images/Stream_Line.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
136 |
self.actionLine.setIcon(icon3)
|
137 |
font = QtGui.QFont() |
138 |
font.setFamily("맑은 고딕")
|
139 |
font.setBold(False)
|
140 |
font.setWeight(50)
|
141 |
self.actionLine.setFont(font)
|
142 |
self.actionLine.setObjectName("actionLine") |
143 |
self.actionValidate = QtWidgets.QAction(MainWindow)
|
144 |
icon4 = QtGui.QIcon() |
145 |
icon4.addPixmap(QtGui.QPixmap(":/newPrefix/validation.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
146 |
self.actionValidate.setIcon(icon4)
|
147 |
font = QtGui.QFont() |
148 |
font.setFamily("맑은 고딕")
|
149 |
font.setBold(True)
|
150 |
font.setWeight(75)
|
151 |
self.actionValidate.setFont(font)
|
152 |
self.actionValidate.setObjectName("actionValidate") |
153 |
self.actionConfiguration = QtWidgets.QAction(MainWindow)
|
154 |
icon5 = QtGui.QIcon() |
155 |
icon5.addPixmap(QtGui.QPixmap(":/images/Configuration.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
156 |
self.actionConfiguration.setIcon(icon5)
|
157 |
font = QtGui.QFont() |
158 |
font.setFamily("맑은 고딕")
|
159 |
font.setBold(False)
|
160 |
font.setWeight(50)
|
161 |
self.actionConfiguration.setFont(font)
|
162 |
self.actionConfiguration.setObjectName("actionConfiguration") |
163 |
self.actionArea = QtWidgets.QAction(MainWindow)
|
164 |
icon6 = QtGui.QIcon() |
165 |
icon6.addPixmap(QtGui.QPixmap(":/newPrefix/setting.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
166 |
self.actionArea.setIcon(icon6)
|
167 |
font = QtGui.QFont() |
168 |
font.setFamily("맑은 고딕")
|
169 |
font.setBold(True)
|
170 |
font.setWeight(75)
|
171 |
self.actionArea.setFont(font)
|
172 |
self.actionArea.setObjectName("actionArea") |
173 |
self.actionOCR = QtWidgets.QAction(MainWindow)
|
174 |
self.actionOCR.setCheckable(True) |
175 |
icon7 = QtGui.QIcon() |
176 |
icon7.addPixmap(QtGui.QPixmap(":/newPrefix/OCR.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
177 |
self.actionOCR.setIcon(icon7)
|
178 |
font = QtGui.QFont() |
179 |
font.setFamily("맑은 고딕")
|
180 |
font.setBold(True)
|
181 |
font.setWeight(75)
|
182 |
self.actionOCR.setFont(font)
|
183 |
self.actionOCR.setObjectName("actionOCR") |
184 |
self.actionLineRecognition = QtWidgets.QAction(MainWindow)
|
185 |
icon8 = QtGui.QIcon() |
186 |
icon8.addPixmap(QtGui.QPixmap(":/newPrefix/connection.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
187 |
self.actionLineRecognition.setIcon(icon8)
|
188 |
font = QtGui.QFont() |
189 |
font.setFamily("맑은 고딕")
|
190 |
font.setBold(True)
|
191 |
font.setWeight(75)
|
192 |
self.actionLineRecognition.setFont(font)
|
193 |
self.actionLineRecognition.setObjectName("actionLineRecognition") |
194 |
self.actionGenerateOutput = QtWidgets.QAction(MainWindow)
|
195 |
icon9 = QtGui.QIcon() |
196 |
icon9.addPixmap(QtGui.QPixmap(":/newPrefix/Convert.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
197 |
self.actionGenerateOutput.setIcon(icon9)
|
198 |
font = QtGui.QFont() |
199 |
font.setFamily("맑은 고딕")
|
200 |
font.setBold(True)
|
201 |
font.setWeight(75)
|
202 |
self.actionGenerateOutput.setFont(font)
|
203 |
self.actionGenerateOutput.setObjectName("actionGenerateOutput") |
204 |
self.actionEquipment_Data_List = QtWidgets.QAction(MainWindow)
|
205 |
font = QtGui.QFont() |
206 |
font.setFamily("맑은 고딕")
|
207 |
font.setBold(True)
|
208 |
font.setWeight(75)
|
209 |
self.actionEquipment_Data_List.setFont(font)
|
210 |
self.actionEquipment_Data_List.setObjectName("actionEquipment_Data_List") |
211 |
self.actionItem_Data_List = QtWidgets.QAction(MainWindow)
|
212 |
font = QtGui.QFont() |
213 |
font.setFamily("맑은 고딕")
|
214 |
font.setBold(False)
|
215 |
font.setWeight(50)
|
216 |
self.actionItem_Data_List.setFont(font)
|
217 |
self.actionItem_Data_List.setObjectName("actionItem_Data_List") |
218 |
self.actionInstrument_Data_List = QtWidgets.QAction(MainWindow)
|
219 |
font = QtGui.QFont() |
220 |
font.setFamily("맑은 고딕")
|
221 |
font.setBold(True)
|
222 |
font.setWeight(75)
|
223 |
self.actionInstrument_Data_List.setFont(font)
|
224 |
self.actionInstrument_Data_List.setObjectName("actionInstrument_Data_List") |
225 |
self.actionInitialize = QtWidgets.QAction(MainWindow)
|
226 |
icon10 = QtGui.QIcon() |
227 |
icon10.addPixmap(QtGui.QPixmap(":/images/Reset.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
228 |
self.actionInitialize.setIcon(icon10)
|
229 |
font = QtGui.QFont() |
230 |
font.setFamily("맑은 고딕")
|
231 |
self.actionInitialize.setFont(font)
|
232 |
self.actionInitialize.setObjectName("actionInitialize") |
233 |
self.actionImage_Drawing = QtWidgets.QAction(MainWindow)
|
234 |
self.actionImage_Drawing.setCheckable(True) |
235 |
self.actionImage_Drawing.setChecked(True) |
236 |
font = QtGui.QFont() |
237 |
font.setFamily("맑은 고딕")
|
238 |
self.actionImage_Drawing.setFont(font)
|
239 |
self.actionImage_Drawing.setObjectName("actionImage_Drawing") |
240 |
self.actionZoom = QtWidgets.QAction(MainWindow)
|
241 |
self.actionZoom.setCheckable(True) |
242 |
icon11 = QtGui.QIcon() |
243 |
icon11.addPixmap(QtGui.QPixmap(":/images/ZoomIn.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
244 |
self.actionZoom.setIcon(icon11)
|
245 |
font = QtGui.QFont() |
246 |
font.setFamily("맑은 고딕")
|
247 |
font.setBold(False)
|
248 |
font.setWeight(50)
|
249 |
self.actionZoom.setFont(font)
|
250 |
self.actionZoom.setObjectName("actionZoom") |
251 |
self.actionFitWindow = QtWidgets.QAction(MainWindow)
|
252 |
icon12 = QtGui.QIcon() |
253 |
icon12.addPixmap(QtGui.QPixmap(":/images/FullExtent.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
254 |
self.actionFitWindow.setIcon(icon12)
|
255 |
font = QtGui.QFont() |
256 |
font.setFamily("맑은 고딕")
|
257 |
font.setBold(False)
|
258 |
font.setWeight(50)
|
259 |
self.actionFitWindow.setFont(font)
|
260 |
self.actionFitWindow.setObjectName("actionFitWindow") |
261 |
self.actionViewSymbol = QtWidgets.QAction(MainWindow)
|
262 |
self.actionViewSymbol.setCheckable(True) |
263 |
self.actionViewSymbol.setChecked(True) |
264 |
font = QtGui.QFont() |
265 |
font.setFamily("맑은 고딕")
|
266 |
self.actionViewSymbol.setFont(font)
|
267 |
self.actionViewSymbol.setObjectName("actionViewSymbol") |
268 |
self.actionViewText = QtWidgets.QAction(MainWindow)
|
269 |
self.actionViewText.setCheckable(True) |
270 |
self.actionViewText.setChecked(True) |
271 |
font = QtGui.QFont() |
272 |
font.setFamily("맑은 고딕")
|
273 |
self.actionViewText.setFont(font)
|
274 |
self.actionViewText.setObjectName("actionViewText") |
275 |
self.actionViewLine = QtWidgets.QAction(MainWindow)
|
276 |
self.actionViewLine.setCheckable(True) |
277 |
self.actionViewLine.setChecked(True) |
278 |
font = QtGui.QFont() |
279 |
font.setFamily("맑은 고딕")
|
280 |
self.actionViewLine.setFont(font)
|
281 |
self.actionViewLine.setObjectName("actionViewLine") |
282 |
self.actionViewUnknown = QtWidgets.QAction(MainWindow)
|
283 |
self.actionViewUnknown.setCheckable(True) |
284 |
self.actionViewUnknown.setChecked(True) |
285 |
font = QtGui.QFont() |
286 |
font.setFamily("맑은 고딕")
|
287 |
self.actionViewUnknown.setFont(font)
|
288 |
self.actionViewUnknown.setObjectName("actionViewUnknown") |
289 |
self.actionCodeTable = QtWidgets.QAction(MainWindow)
|
290 |
icon13 = QtGui.QIcon() |
291 |
icon13.addPixmap(QtGui.QPixmap(":/newPrefix/codetable.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
292 |
self.actionCodeTable.setIcon(icon13)
|
293 |
font = QtGui.QFont() |
294 |
font.setFamily("맑은 고딕")
|
295 |
self.actionCodeTable.setFont(font)
|
296 |
self.actionCodeTable.setObjectName("actionCodeTable") |
297 |
self.actionFluid_Code = QtWidgets.QAction(MainWindow)
|
298 |
font = QtGui.QFont() |
299 |
font.setFamily("맑은 고딕")
|
300 |
self.actionFluid_Code.setFont(font)
|
301 |
self.actionFluid_Code.setObjectName("actionFluid_Code") |
302 |
self.actionpdf_to_image = QtWidgets.QAction(MainWindow)
|
303 |
font = QtGui.QFont() |
304 |
font.setFamily("맑은 고딕")
|
305 |
self.actionpdf_to_image.setFont(font)
|
306 |
self.actionpdf_to_image.setObjectName("actionpdf_to_image") |
307 |
self.actionHMB_DATA = QtWidgets.QAction(MainWindow)
|
308 |
self.actionHMB_DATA.setObjectName("actionHMB_DATA") |
309 |
self.actionSave = QtWidgets.QAction(MainWindow)
|
310 |
icon14 = QtGui.QIcon() |
311 |
icon14.addPixmap(QtGui.QPixmap(":/images/Save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
312 |
self.actionSave.setIcon(icon14)
|
313 |
font = QtGui.QFont() |
314 |
font.setFamily("맑은 고딕")
|
315 |
self.actionSave.setFont(font)
|
316 |
self.actionSave.setObjectName("actionSave") |
317 |
self.actionRotate = QtWidgets.QAction(MainWindow)
|
318 |
icon15 = QtGui.QIcon() |
319 |
icon15.addPixmap(QtGui.QPixmap(":/newPrefix/Rotate_Minus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
320 |
self.actionRotate.setIcon(icon15)
|
321 |
self.actionRotate.setObjectName("actionRotate") |
322 |
self.actionFindReplaceText = QtWidgets.QAction(MainWindow)
|
323 |
self.actionFindReplaceText.setObjectName("actionFindReplaceText") |
324 |
self.actionReplaceText = QtWidgets.QAction(MainWindow)
|
325 |
font = QtGui.QFont() |
326 |
font.setFamily("맑은 고딕")
|
327 |
self.actionReplaceText.setFont(font)
|
328 |
self.actionReplaceText.setObjectName("actionReplaceText") |
329 |
self.actionOCR_Training = QtWidgets.QAction(MainWindow)
|
330 |
self.actionOCR_Training.setObjectName("actionOCR_Training") |
331 |
self.actionOCR_Training_Editor = QtWidgets.QAction(MainWindow)
|
332 |
self.actionOCR_Training_Editor.setObjectName("actionOCR_Training_Editor") |
333 |
self.actioncoffee = QtWidgets.QAction(MainWindow)
|
334 |
self.actioncoffee.setObjectName("actioncoffee") |
335 |
self.actionEnglish = QtWidgets.QAction(MainWindow)
|
336 |
self.actionEnglish.setObjectName("actionEnglish") |
337 |
self.actionViewInconsistency = QtWidgets.QAction(MainWindow)
|
338 |
self.actionViewInconsistency.setCheckable(True) |
339 |
self.actionViewInconsistency.setChecked(True) |
340 |
self.actionViewInconsistency.setObjectName("actionViewInconsistency") |
341 |
self.actionText_Data_List = QtWidgets.QAction(MainWindow)
|
342 |
self.actionText_Data_List.setObjectName("actionText_Data_List") |
343 |
self.actionDrawing_Only = QtWidgets.QAction(MainWindow)
|
344 |
self.actionDrawing_Only.setCheckable(True) |
345 |
self.actionDrawing_Only.setObjectName("actionDrawing_Only") |
346 |
self.actionVendor = QtWidgets.QAction(MainWindow)
|
347 |
self.actionVendor.setCheckable(True) |
348 |
icon16 = QtGui.QIcon() |
349 |
icon16.addPixmap(QtGui.QPixmap(":/newPrefix/vendor.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
350 |
icon16.addPixmap(QtGui.QPixmap(":/newPrefix/vendor_hot.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
|
351 |
icon16.addPixmap(QtGui.QPixmap(":/newPrefix/vendor.png"), QtGui.QIcon.Active, QtGui.QIcon.On)
|
352 |
self.actionVendor.setIcon(icon16)
|
353 |
self.actionVendor.setObjectName("actionVendor") |
354 |
self.actionViewVendor_Area = QtWidgets.QAction(MainWindow)
|
355 |
self.actionViewVendor_Area.setCheckable(True) |
356 |
self.actionViewVendor_Area.setChecked(True) |
357 |
self.actionViewVendor_Area.setObjectName("actionViewVendor_Area") |
358 |
self.actionNew = QtWidgets.QAction(MainWindow)
|
359 |
icon17 = QtGui.QIcon() |
360 |
icon17.addPixmap(QtGui.QPixmap(":/images/New.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
361 |
self.actionNew.setIcon(icon17)
|
362 |
font = QtGui.QFont() |
363 |
font.setFamily("맑은 고딕")
|
364 |
self.actionNew.setFont(font)
|
365 |
self.actionNew.setObjectName("actionNew") |
366 |
self.actionCreate_Symbol = QtWidgets.QAction(MainWindow)
|
367 |
self.actionCreate_Symbol.setObjectName("actionCreate_Symbol") |
368 |
self.actionCreate_Stream = QtWidgets.QAction(MainWindow)
|
369 |
self.actionCreate_Stream.setObjectName("actionCreate_Stream") |
370 |
self.actionOptions = QtWidgets.QAction(MainWindow)
|
371 |
icon18 = QtGui.QIcon() |
372 |
icon18.addPixmap(QtGui.QPixmap(":/images/Option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
373 |
self.actionOptions.setIcon(icon18)
|
374 |
font = QtGui.QFont() |
375 |
font.setFamily("맑은 고딕")
|
376 |
self.actionOptions.setFont(font)
|
377 |
self.actionOptions.setObjectName("actionOptions") |
378 |
self.actionCalculation = QtWidgets.QAction(MainWindow)
|
379 |
icon19 = QtGui.QIcon() |
380 |
icon19.addPixmap(QtGui.QPixmap(":/images/Calculation.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
381 |
self.actionCalculation.setIcon(icon19)
|
382 |
self.actionCalculation.setText("") |
383 |
font = QtGui.QFont() |
384 |
font.setFamily("맑은 고딕")
|
385 |
font.setBold(False)
|
386 |
font.setWeight(50)
|
387 |
self.actionCalculation.setFont(font)
|
388 |
self.actionCalculation.setObjectName("actionCalculation") |
389 |
self.actionOpen = QtWidgets.QAction(MainWindow)
|
390 |
self.actionOpen.setObjectName("actionOpen") |
391 |
self.menu.addAction(self.actionNew) |
392 |
self.menu.addAction(self.actionOpen) |
393 |
self.menu.addAction(self.actionSave) |
394 |
self.menu.addSeparator()
|
395 |
self.menu.addAction(self.actionConfiguration) |
396 |
self.menu.addSeparator()
|
397 |
self.menu.addAction(self.menuTheme.menuAction()) |
398 |
self.menu.addAction(self.menuLanguage.menuAction()) |
399 |
self.menu.addSeparator()
|
400 |
self.menu.addAction(self.actionClose) |
401 |
self.menu_3.addAction(self.actionZoom) |
402 |
self.menu_3.addAction(self.actionFitWindow) |
403 |
self.menuTool.addAction(self.actionLine) |
404 |
self.menuTool.addAction(self.actionInitialize) |
405 |
self.menuTool.addSeparator()
|
406 |
self.menuTool.addAction(self.actionOptions) |
407 |
self.menubar.addAction(self.menu.menuAction()) |
408 |
self.menubar.addAction(self.menu_3.menuAction()) |
409 |
self.menubar.addAction(self.menuTool.menuAction()) |
410 |
self.toolBar.addAction(self.actionNew) |
411 |
self.toolBar.addAction(self.actionSave) |
412 |
self.toolBar.addSeparator()
|
413 |
self.toolBar.addAction(self.actionLine) |
414 |
self.toolBar.addAction(self.actionInitialize) |
415 |
self.toolBar.addSeparator()
|
416 |
self.toolBar.addAction(self.actionCalculation) |
417 |
self.toolBar.addSeparator()
|
418 |
self.toolBar.addAction(self.actionZoom) |
419 |
self.toolBar.addAction(self.actionFitWindow) |
420 |
|
421 |
self.retranslateUi(MainWindow)
|
422 |
QtCore.QMetaObject.connectSlotsByName(MainWindow) |
423 |
|
424 |
def retranslateUi(self, MainWindow): |
425 |
_translate = QtCore.QCoreApplication.translate |
426 |
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) |
427 |
self.menu.setTitle(_translate("MainWindow", "File")) |
428 |
self.menuTheme.setTitle(_translate("MainWindow", "Theme")) |
429 |
self.menuLanguage.setTitle(_translate("MainWindow", "Language")) |
430 |
self.menu_3.setTitle(_translate("MainWindow", "View")) |
431 |
self.menuTool.setTitle(_translate("MainWindow", "Tools")) |
432 |
self.dockWidgetSymbolExplorer.setWindowTitle(_translate("MainWindow", "Symbol Explorer")) |
433 |
self.dockWidgetDrawingExplorer.setWindowTitle(_translate("MainWindow", "Drawing Explorer")) |
434 |
self.treeWidgetDrawingList.setSortingEnabled(True) |
435 |
self.dockWidgetHMBList.setWindowTitle(_translate("MainWindow", "HMB List")) |
436 |
self.toolBar.setWindowTitle(_translate("MainWindow", "Main Toolbar")) |
437 |
self.actionClose.setText(_translate("MainWindow", "Exit")) |
438 |
self.actionClose.setToolTip(_translate("MainWindow", "Exit")) |
439 |
self.actionRecognition.setText(_translate("MainWindow", "Recognize Eng. Info.")) |
440 |
self.actionRecognition.setToolTip(_translate("MainWindow", "Recognize Eng. Info.")) |
441 |
self.actionLine.setText(_translate("MainWindow", "Stream Line")) |
442 |
self.actionLine.setToolTip(_translate("MainWindow", "Stream Line")) |
443 |
self.actionValidate.setText(_translate("MainWindow", "Validate")) |
444 |
self.actionValidate.setToolTip(_translate("MainWindow", "Validate(V)")) |
445 |
self.actionValidate.setShortcut(_translate("MainWindow", "V")) |
446 |
self.actionConfiguration.setText(_translate("MainWindow", "Configuration...")) |
447 |
self.actionArea.setText(_translate("MainWindow", "Setup Area")) |
448 |
self.actionOCR.setText(_translate("MainWindow", "OCR")) |
449 |
self.actionOCR.setToolTip(_translate("MainWindow", "OCR(T)")) |
450 |
self.actionOCR.setShortcut(_translate("MainWindow", "T")) |
451 |
self.actionLineRecognition.setText(_translate("MainWindow", "Link Attribute")) |
452 |
self.actionLineRecognition.setToolTip(_translate("MainWindow", "Link Attribute")) |
453 |
self.actionGenerateOutput.setText(_translate("MainWindow", "Convert")) |
454 |
self.actionEquipment_Data_List.setText(_translate("MainWindow", "Equipment Data List")) |
455 |
self.actionItem_Data_List.setText(_translate("MainWindow", "Engineering Info. List")) |
456 |
self.actionInstrument_Data_List.setText(_translate("MainWindow", "Instrument Data List")) |
457 |
self.actionInitialize.setText(_translate("MainWindow", "Clear Screen")) |
458 |
self.actionInitialize.setToolTip(_translate("MainWindow", "Clear Screen")) |
459 |
self.actionImage_Drawing.setText(_translate("MainWindow", "Image Drawing (1)")) |
460 |
self.actionZoom.setText(_translate("MainWindow", "Zoom Area")) |
461 |
self.actionZoom.setToolTip(_translate("MainWindow", "Zoom Area")) |
462 |
self.actionFitWindow.setText(_translate("MainWindow", "Fit")) |
463 |
self.actionFitWindow.setIconText(_translate("MainWindow", "Fit")) |
464 |
self.actionFitWindow.setToolTip(_translate("MainWindow", "Fit")) |
465 |
self.actionViewSymbol.setText(_translate("MainWindow", "Symbol (3)")) |
466 |
self.actionViewText.setText(_translate("MainWindow", "Text (2)")) |
467 |
self.actionViewLine.setText(_translate("MainWindow", "Line (4)")) |
468 |
self.actionViewUnknown.setText(_translate("MainWindow", "Unrecognization (5)")) |
469 |
self.actionCodeTable.setText(_translate("MainWindow", "Code Table")) |
470 |
self.actionFluid_Code.setText(_translate("MainWindow", "Fluid Code")) |
471 |
self.actionpdf_to_image.setText(_translate("MainWindow", "Convert PDF")) |
472 |
self.actionHMB_DATA.setText(_translate("MainWindow", "HMB Data")) |
473 |
self.actionSave.setText(_translate("MainWindow", "Save")) |
474 |
self.actionSave.setToolTip(_translate("MainWindow", "Save")) |
475 |
self.actionSave.setShortcut(_translate("MainWindow", "Ctrl+C")) |
476 |
self.actionRotate.setText(_translate("MainWindow", "Rotate")) |
477 |
self.actionRotate.setToolTip(_translate("MainWindow", "Rotate(Ctrl + R)")) |
478 |
self.actionRotate.setShortcut(_translate("MainWindow", "Ctrl+R")) |
479 |
self.actionFindReplaceText.setText(_translate("MainWindow", "Find/Replace")) |
480 |
self.actionFindReplaceText.setToolTip(_translate("MainWindow", "Fine/Replace")) |
481 |
self.actionReplaceText.setText(_translate("MainWindow", "Modify Text")) |
482 |
self.actionOCR_Training.setText(_translate("MainWindow", "OCR Training")) |
483 |
self.actionOCR_Training_Editor.setText(_translate("MainWindow", "OCR Training Editor")) |
484 |
self.actioncoffee.setText(_translate("MainWindow", "coffee")) |
485 |
self.actionEnglish.setText(_translate("MainWindow", "English")) |
486 |
self.actionViewInconsistency.setText(_translate("MainWindow", "Inconsistency (6)")) |
487 |
self.actionText_Data_List.setText(_translate("MainWindow", "Text Data List")) |
488 |
self.actionDrawing_Only.setText(_translate("MainWindow", "Drawing Only ( ` )")) |
489 |
self.actionVendor.setText(_translate("MainWindow", "Vendor")) |
490 |
self.actionVendor.setToolTip(_translate("MainWindow", "Set Vendor Package")) |
491 |
self.actionViewVendor_Area.setText(_translate("MainWindow", "Vendor Area(7)")) |
492 |
self.actionNew.setText(_translate("MainWindow", "New...")) |
493 |
self.actionNew.setIconText(_translate("MainWindow", "New")) |
494 |
self.actionNew.setToolTip(_translate("MainWindow", "New")) |
495 |
self.actionNew.setShortcut(_translate("MainWindow", "Ctrl+N")) |
496 |
self.actionCreate_Symbol.setText(_translate("MainWindow", "Symbol Editor")) |
497 |
self.actionCreate_Stream.setText(_translate("MainWindow", "Create Stream")) |
498 |
self.actionOptions.setText(_translate("MainWindow", "Options...")) |
499 |
self.actionCalculation.setToolTip(_translate("MainWindow", "Calculation")) |
500 |
self.actionOpen.setText(_translate("MainWindow", "Open")) |
501 |
self.actionOpen.setToolTip(_translate("MainWindow", "Open")) |
502 |
self.actionOpen.setShortcut(_translate("MainWindow", "Ctrl+O")) |
503 |
import Resource_rc |