hytos / HYTOS / HYTOS / MainWindow_UI.py @ ddbedd67
이력 | 보기 | 이력해설 | 다운로드 (28.7 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.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_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_3 = QtWidgets.QGridLayout(self.dockWidgetContents_3) |
90 |
self.gridLayout_3.setObjectName("gridLayout_3") |
91 |
self.tabWidget = QtWidgets.QTabWidget(self.dockWidgetContents_3) |
92 |
self.tabWidget.setTabPosition(QtWidgets.QTabWidget.South)
|
93 |
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded)
|
94 |
self.tabWidget.setObjectName("tabWidget") |
95 |
self.tabStreamData = QtWidgets.QWidget()
|
96 |
self.tabStreamData.setObjectName("tabStreamData") |
97 |
self.gridLayout_5 = QtWidgets.QGridLayout(self.tabStreamData) |
98 |
self.gridLayout_5.setObjectName("gridLayout_5") |
99 |
self.tableWidgetHMB = QtWidgets.QTableWidget(self.tabStreamData) |
100 |
self.tableWidgetHMB.setObjectName("tableWidgetHMB") |
101 |
self.tableWidgetHMB.setColumnCount(0) |
102 |
self.tableWidgetHMB.setRowCount(0) |
103 |
self.gridLayout_5.addWidget(self.tableWidgetHMB, 0, 0, 1, 1) |
104 |
self.tabWidget.addTab(self.tabStreamData, "") |
105 |
self.tabLoop = QtWidgets.QWidget()
|
106 |
self.tabLoop.setObjectName("tabLoop") |
107 |
self.gridLayout_6 = QtWidgets.QGridLayout(self.tabLoop) |
108 |
self.gridLayout_6.setObjectName("gridLayout_6") |
109 |
self.tableWidgetLoop = QtWidgets.QTableWidget(self.tabLoop) |
110 |
self.tableWidgetLoop.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
111 |
self.tableWidgetLoop.setObjectName("tableWidgetLoop") |
112 |
self.tableWidgetLoop.setColumnCount(0) |
113 |
self.tableWidgetLoop.setRowCount(0) |
114 |
self.tableWidgetLoop.horizontalHeader().setVisible(False) |
115 |
self.tableWidgetLoop.verticalHeader().setVisible(False) |
116 |
self.gridLayout_6.addWidget(self.tableWidgetLoop, 0, 0, 1, 1) |
117 |
self.tabWidget.addTab(self.tabLoop, "") |
118 |
self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1) |
119 |
self.dockWidgetHMBList.setWidget(self.dockWidgetContents_3) |
120 |
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidgetHMBList) |
121 |
self.toolBar = QtWidgets.QToolBar(MainWindow)
|
122 |
font = QtGui.QFont() |
123 |
font.setFamily("맑은 고딕")
|
124 |
font.setBold(False)
|
125 |
font.setWeight(50)
|
126 |
self.toolBar.setFont(font)
|
127 |
self.toolBar.setIconSize(QtCore.QSize(32, 32)) |
128 |
self.toolBar.setObjectName("toolBar") |
129 |
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
130 |
self.actionClose = QtWidgets.QAction(MainWindow)
|
131 |
icon1 = QtGui.QIcon() |
132 |
icon1.addPixmap(QtGui.QPixmap(":/images/Exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
133 |
self.actionClose.setIcon(icon1)
|
134 |
font = QtGui.QFont() |
135 |
font.setFamily("맑은 고딕")
|
136 |
self.actionClose.setFont(font)
|
137 |
self.actionClose.setShortcut("") |
138 |
self.actionClose.setObjectName("actionClose") |
139 |
self.actionRecognition = QtWidgets.QAction(MainWindow)
|
140 |
icon2 = QtGui.QIcon() |
141 |
icon2.addPixmap(QtGui.QPixmap(":/newPrefix/recognition.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
142 |
self.actionRecognition.setIcon(icon2)
|
143 |
font = QtGui.QFont() |
144 |
font.setFamily("맑은 고딕")
|
145 |
font.setBold(True)
|
146 |
font.setWeight(75)
|
147 |
self.actionRecognition.setFont(font)
|
148 |
self.actionRecognition.setObjectName("actionRecognition") |
149 |
self.actionLine = QtWidgets.QAction(MainWindow)
|
150 |
self.actionLine.setCheckable(True) |
151 |
icon3 = QtGui.QIcon() |
152 |
icon3.addPixmap(QtGui.QPixmap(":/images/Stream_Line.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
153 |
self.actionLine.setIcon(icon3)
|
154 |
font = QtGui.QFont() |
155 |
font.setFamily("맑은 고딕")
|
156 |
font.setBold(False)
|
157 |
font.setWeight(50)
|
158 |
self.actionLine.setFont(font)
|
159 |
self.actionLine.setObjectName("actionLine") |
160 |
self.actionValidate = QtWidgets.QAction(MainWindow)
|
161 |
icon4 = QtGui.QIcon() |
162 |
icon4.addPixmap(QtGui.QPixmap(":/newPrefix/validation.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
163 |
self.actionValidate.setIcon(icon4)
|
164 |
font = QtGui.QFont() |
165 |
font.setFamily("맑은 고딕")
|
166 |
font.setBold(True)
|
167 |
font.setWeight(75)
|
168 |
self.actionValidate.setFont(font)
|
169 |
self.actionValidate.setObjectName("actionValidate") |
170 |
self.actionConfiguration = QtWidgets.QAction(MainWindow)
|
171 |
icon5 = QtGui.QIcon() |
172 |
icon5.addPixmap(QtGui.QPixmap(":/images/Configuration.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
173 |
self.actionConfiguration.setIcon(icon5)
|
174 |
font = QtGui.QFont() |
175 |
font.setFamily("맑은 고딕")
|
176 |
font.setBold(False)
|
177 |
font.setWeight(50)
|
178 |
self.actionConfiguration.setFont(font)
|
179 |
self.actionConfiguration.setObjectName("actionConfiguration") |
180 |
self.actionArea = QtWidgets.QAction(MainWindow)
|
181 |
icon6 = QtGui.QIcon() |
182 |
icon6.addPixmap(QtGui.QPixmap(":/newPrefix/setting.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
183 |
self.actionArea.setIcon(icon6)
|
184 |
font = QtGui.QFont() |
185 |
font.setFamily("맑은 고딕")
|
186 |
font.setBold(True)
|
187 |
font.setWeight(75)
|
188 |
self.actionArea.setFont(font)
|
189 |
self.actionArea.setObjectName("actionArea") |
190 |
self.actionOCR = QtWidgets.QAction(MainWindow)
|
191 |
self.actionOCR.setCheckable(True) |
192 |
icon7 = QtGui.QIcon() |
193 |
icon7.addPixmap(QtGui.QPixmap(":/newPrefix/OCR.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
194 |
self.actionOCR.setIcon(icon7)
|
195 |
font = QtGui.QFont() |
196 |
font.setFamily("맑은 고딕")
|
197 |
font.setBold(True)
|
198 |
font.setWeight(75)
|
199 |
self.actionOCR.setFont(font)
|
200 |
self.actionOCR.setObjectName("actionOCR") |
201 |
self.actionLineRecognition = QtWidgets.QAction(MainWindow)
|
202 |
icon8 = QtGui.QIcon() |
203 |
icon8.addPixmap(QtGui.QPixmap(":/newPrefix/connection.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
204 |
self.actionLineRecognition.setIcon(icon8)
|
205 |
font = QtGui.QFont() |
206 |
font.setFamily("맑은 고딕")
|
207 |
font.setBold(True)
|
208 |
font.setWeight(75)
|
209 |
self.actionLineRecognition.setFont(font)
|
210 |
self.actionLineRecognition.setObjectName("actionLineRecognition") |
211 |
self.actionGenerateOutput = QtWidgets.QAction(MainWindow)
|
212 |
icon9 = QtGui.QIcon() |
213 |
icon9.addPixmap(QtGui.QPixmap(":/newPrefix/Convert.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
214 |
self.actionGenerateOutput.setIcon(icon9)
|
215 |
font = QtGui.QFont() |
216 |
font.setFamily("맑은 고딕")
|
217 |
font.setBold(True)
|
218 |
font.setWeight(75)
|
219 |
self.actionGenerateOutput.setFont(font)
|
220 |
self.actionGenerateOutput.setObjectName("actionGenerateOutput") |
221 |
self.actionEquipment_Data_List = QtWidgets.QAction(MainWindow)
|
222 |
font = QtGui.QFont() |
223 |
font.setFamily("맑은 고딕")
|
224 |
font.setBold(True)
|
225 |
font.setWeight(75)
|
226 |
self.actionEquipment_Data_List.setFont(font)
|
227 |
self.actionEquipment_Data_List.setObjectName("actionEquipment_Data_List") |
228 |
self.actionItem_Data_List = QtWidgets.QAction(MainWindow)
|
229 |
font = QtGui.QFont() |
230 |
font.setFamily("맑은 고딕")
|
231 |
font.setBold(False)
|
232 |
font.setWeight(50)
|
233 |
self.actionItem_Data_List.setFont(font)
|
234 |
self.actionItem_Data_List.setObjectName("actionItem_Data_List") |
235 |
self.actionInstrument_Data_List = QtWidgets.QAction(MainWindow)
|
236 |
font = QtGui.QFont() |
237 |
font.setFamily("맑은 고딕")
|
238 |
font.setBold(True)
|
239 |
font.setWeight(75)
|
240 |
self.actionInstrument_Data_List.setFont(font)
|
241 |
self.actionInstrument_Data_List.setObjectName("actionInstrument_Data_List") |
242 |
self.actionInitialize = QtWidgets.QAction(MainWindow)
|
243 |
icon10 = QtGui.QIcon() |
244 |
icon10.addPixmap(QtGui.QPixmap(":/images/Reset.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
245 |
self.actionInitialize.setIcon(icon10)
|
246 |
font = QtGui.QFont() |
247 |
font.setFamily("맑은 고딕")
|
248 |
self.actionInitialize.setFont(font)
|
249 |
self.actionInitialize.setObjectName("actionInitialize") |
250 |
self.actionImage_Drawing = QtWidgets.QAction(MainWindow)
|
251 |
self.actionImage_Drawing.setCheckable(True) |
252 |
self.actionImage_Drawing.setChecked(True) |
253 |
font = QtGui.QFont() |
254 |
font.setFamily("맑은 고딕")
|
255 |
self.actionImage_Drawing.setFont(font)
|
256 |
self.actionImage_Drawing.setObjectName("actionImage_Drawing") |
257 |
self.actionZoom = QtWidgets.QAction(MainWindow)
|
258 |
self.actionZoom.setCheckable(True) |
259 |
icon11 = QtGui.QIcon() |
260 |
icon11.addPixmap(QtGui.QPixmap(":/images/ZoomIn.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
261 |
self.actionZoom.setIcon(icon11)
|
262 |
font = QtGui.QFont() |
263 |
font.setFamily("맑은 고딕")
|
264 |
font.setBold(False)
|
265 |
font.setWeight(50)
|
266 |
self.actionZoom.setFont(font)
|
267 |
self.actionZoom.setObjectName("actionZoom") |
268 |
self.actionFitWindow = QtWidgets.QAction(MainWindow)
|
269 |
icon12 = QtGui.QIcon() |
270 |
icon12.addPixmap(QtGui.QPixmap(":/images/FullExtent.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
271 |
self.actionFitWindow.setIcon(icon12)
|
272 |
font = QtGui.QFont() |
273 |
font.setFamily("맑은 고딕")
|
274 |
font.setBold(False)
|
275 |
font.setWeight(50)
|
276 |
self.actionFitWindow.setFont(font)
|
277 |
self.actionFitWindow.setObjectName("actionFitWindow") |
278 |
self.actionViewSymbol = QtWidgets.QAction(MainWindow)
|
279 |
self.actionViewSymbol.setCheckable(True) |
280 |
self.actionViewSymbol.setChecked(True) |
281 |
font = QtGui.QFont() |
282 |
font.setFamily("맑은 고딕")
|
283 |
self.actionViewSymbol.setFont(font)
|
284 |
self.actionViewSymbol.setObjectName("actionViewSymbol") |
285 |
self.actionViewText = QtWidgets.QAction(MainWindow)
|
286 |
self.actionViewText.setCheckable(True) |
287 |
self.actionViewText.setChecked(True) |
288 |
font = QtGui.QFont() |
289 |
font.setFamily("맑은 고딕")
|
290 |
self.actionViewText.setFont(font)
|
291 |
self.actionViewText.setObjectName("actionViewText") |
292 |
self.actionViewLine = QtWidgets.QAction(MainWindow)
|
293 |
self.actionViewLine.setCheckable(True) |
294 |
self.actionViewLine.setChecked(True) |
295 |
font = QtGui.QFont() |
296 |
font.setFamily("맑은 고딕")
|
297 |
self.actionViewLine.setFont(font)
|
298 |
self.actionViewLine.setObjectName("actionViewLine") |
299 |
self.actionViewUnknown = QtWidgets.QAction(MainWindow)
|
300 |
self.actionViewUnknown.setCheckable(True) |
301 |
self.actionViewUnknown.setChecked(True) |
302 |
font = QtGui.QFont() |
303 |
font.setFamily("맑은 고딕")
|
304 |
self.actionViewUnknown.setFont(font)
|
305 |
self.actionViewUnknown.setObjectName("actionViewUnknown") |
306 |
self.actionCodeTable = QtWidgets.QAction(MainWindow)
|
307 |
icon13 = QtGui.QIcon() |
308 |
icon13.addPixmap(QtGui.QPixmap(":/newPrefix/codetable.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
309 |
self.actionCodeTable.setIcon(icon13)
|
310 |
font = QtGui.QFont() |
311 |
font.setFamily("맑은 고딕")
|
312 |
self.actionCodeTable.setFont(font)
|
313 |
self.actionCodeTable.setObjectName("actionCodeTable") |
314 |
self.actionFluid_Code = QtWidgets.QAction(MainWindow)
|
315 |
font = QtGui.QFont() |
316 |
font.setFamily("맑은 고딕")
|
317 |
self.actionFluid_Code.setFont(font)
|
318 |
self.actionFluid_Code.setObjectName("actionFluid_Code") |
319 |
self.actionpdf_to_image = QtWidgets.QAction(MainWindow)
|
320 |
font = QtGui.QFont() |
321 |
font.setFamily("맑은 고딕")
|
322 |
self.actionpdf_to_image.setFont(font)
|
323 |
self.actionpdf_to_image.setObjectName("actionpdf_to_image") |
324 |
self.actionHMB_DATA = QtWidgets.QAction(MainWindow)
|
325 |
self.actionHMB_DATA.setObjectName("actionHMB_DATA") |
326 |
self.actionSave = QtWidgets.QAction(MainWindow)
|
327 |
icon14 = QtGui.QIcon() |
328 |
icon14.addPixmap(QtGui.QPixmap(":/images/Save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
329 |
self.actionSave.setIcon(icon14)
|
330 |
font = QtGui.QFont() |
331 |
font.setFamily("맑은 고딕")
|
332 |
self.actionSave.setFont(font)
|
333 |
self.actionSave.setObjectName("actionSave") |
334 |
self.actionRotate = QtWidgets.QAction(MainWindow)
|
335 |
icon15 = QtGui.QIcon() |
336 |
icon15.addPixmap(QtGui.QPixmap(":/newPrefix/Rotate_Minus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
337 |
self.actionRotate.setIcon(icon15)
|
338 |
self.actionRotate.setObjectName("actionRotate") |
339 |
self.actionFindReplaceText = QtWidgets.QAction(MainWindow)
|
340 |
self.actionFindReplaceText.setObjectName("actionFindReplaceText") |
341 |
self.actionReplaceText = QtWidgets.QAction(MainWindow)
|
342 |
font = QtGui.QFont() |
343 |
font.setFamily("맑은 고딕")
|
344 |
self.actionReplaceText.setFont(font)
|
345 |
self.actionReplaceText.setObjectName("actionReplaceText") |
346 |
self.actionOCR_Training = QtWidgets.QAction(MainWindow)
|
347 |
self.actionOCR_Training.setObjectName("actionOCR_Training") |
348 |
self.actionOCR_Training_Editor = QtWidgets.QAction(MainWindow)
|
349 |
self.actionOCR_Training_Editor.setObjectName("actionOCR_Training_Editor") |
350 |
self.actioncoffee = QtWidgets.QAction(MainWindow)
|
351 |
self.actioncoffee.setObjectName("actioncoffee") |
352 |
self.actionEnglish = QtWidgets.QAction(MainWindow)
|
353 |
self.actionEnglish.setObjectName("actionEnglish") |
354 |
self.actionViewInconsistency = QtWidgets.QAction(MainWindow)
|
355 |
self.actionViewInconsistency.setCheckable(True) |
356 |
self.actionViewInconsistency.setChecked(True) |
357 |
self.actionViewInconsistency.setObjectName("actionViewInconsistency") |
358 |
self.actionText_Data_List = QtWidgets.QAction(MainWindow)
|
359 |
self.actionText_Data_List.setObjectName("actionText_Data_List") |
360 |
self.actionDrawing_Only = QtWidgets.QAction(MainWindow)
|
361 |
self.actionDrawing_Only.setCheckable(True) |
362 |
self.actionDrawing_Only.setObjectName("actionDrawing_Only") |
363 |
self.actionVendor = QtWidgets.QAction(MainWindow)
|
364 |
self.actionVendor.setCheckable(True) |
365 |
icon16 = QtGui.QIcon() |
366 |
icon16.addPixmap(QtGui.QPixmap(":/newPrefix/vendor.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
367 |
icon16.addPixmap(QtGui.QPixmap(":/newPrefix/vendor_hot.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
|
368 |
icon16.addPixmap(QtGui.QPixmap(":/newPrefix/vendor.png"), QtGui.QIcon.Active, QtGui.QIcon.On)
|
369 |
self.actionVendor.setIcon(icon16)
|
370 |
self.actionVendor.setObjectName("actionVendor") |
371 |
self.actionViewVendor_Area = QtWidgets.QAction(MainWindow)
|
372 |
self.actionViewVendor_Area.setCheckable(True) |
373 |
self.actionViewVendor_Area.setChecked(True) |
374 |
self.actionViewVendor_Area.setObjectName("actionViewVendor_Area") |
375 |
self.actionNew = QtWidgets.QAction(MainWindow)
|
376 |
icon17 = QtGui.QIcon() |
377 |
icon17.addPixmap(QtGui.QPixmap(":/images/New.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
378 |
self.actionNew.setIcon(icon17)
|
379 |
font = QtGui.QFont() |
380 |
font.setFamily("맑은 고딕")
|
381 |
self.actionNew.setFont(font)
|
382 |
self.actionNew.setObjectName("actionNew") |
383 |
self.actionCreate_Symbol = QtWidgets.QAction(MainWindow)
|
384 |
self.actionCreate_Symbol.setObjectName("actionCreate_Symbol") |
385 |
self.actionCreate_Stream = QtWidgets.QAction(MainWindow)
|
386 |
self.actionCreate_Stream.setObjectName("actionCreate_Stream") |
387 |
self.actionOptions = QtWidgets.QAction(MainWindow)
|
388 |
icon18 = QtGui.QIcon() |
389 |
icon18.addPixmap(QtGui.QPixmap(":/images/Option.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
390 |
self.actionOptions.setIcon(icon18)
|
391 |
font = QtGui.QFont() |
392 |
font.setFamily("맑은 고딕")
|
393 |
self.actionOptions.setFont(font)
|
394 |
self.actionOptions.setObjectName("actionOptions") |
395 |
self.actionCalculation = QtWidgets.QAction(MainWindow)
|
396 |
icon19 = QtGui.QIcon() |
397 |
icon19.addPixmap(QtGui.QPixmap(":/images/Calculation.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
398 |
self.actionCalculation.setIcon(icon19)
|
399 |
self.actionCalculation.setText("") |
400 |
font = QtGui.QFont() |
401 |
font.setFamily("맑은 고딕")
|
402 |
font.setBold(False)
|
403 |
font.setWeight(50)
|
404 |
self.actionCalculation.setFont(font)
|
405 |
self.actionCalculation.setObjectName("actionCalculation") |
406 |
self.actionOpen = QtWidgets.QAction(MainWindow)
|
407 |
icon20 = QtGui.QIcon() |
408 |
icon20.addPixmap(QtGui.QPixmap(":/images/Open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
409 |
self.actionOpen.setIcon(icon20)
|
410 |
font = QtGui.QFont() |
411 |
font.setFamily("맑은 고딕")
|
412 |
self.actionOpen.setFont(font)
|
413 |
self.actionOpen.setObjectName("actionOpen") |
414 |
self.menu.addAction(self.actionNew) |
415 |
self.menu.addAction(self.actionOpen) |
416 |
self.menu.addAction(self.actionSave) |
417 |
self.menu.addSeparator()
|
418 |
self.menu.addAction(self.actionConfiguration) |
419 |
self.menu.addSeparator()
|
420 |
self.menu.addAction(self.menuTheme.menuAction()) |
421 |
self.menu.addAction(self.menuLanguage.menuAction()) |
422 |
self.menu.addSeparator()
|
423 |
self.menu.addAction(self.actionClose) |
424 |
self.menu_3.addAction(self.actionZoom) |
425 |
self.menu_3.addAction(self.actionFitWindow) |
426 |
self.menuTool.addAction(self.actionLine) |
427 |
self.menuTool.addAction(self.actionInitialize) |
428 |
self.menuTool.addSeparator()
|
429 |
self.menuTool.addAction(self.actionOptions) |
430 |
self.menubar.addAction(self.menu.menuAction()) |
431 |
self.menubar.addAction(self.menu_3.menuAction()) |
432 |
self.menubar.addAction(self.menuTool.menuAction()) |
433 |
self.toolBar.addAction(self.actionNew) |
434 |
self.toolBar.addAction(self.actionOpen) |
435 |
self.toolBar.addAction(self.actionSave) |
436 |
self.toolBar.addSeparator()
|
437 |
self.toolBar.addAction(self.actionLine) |
438 |
self.toolBar.addAction(self.actionInitialize) |
439 |
self.toolBar.addSeparator()
|
440 |
self.toolBar.addAction(self.actionCalculation) |
441 |
self.toolBar.addSeparator()
|
442 |
self.toolBar.addAction(self.actionZoom) |
443 |
self.toolBar.addAction(self.actionFitWindow) |
444 |
|
445 |
self.retranslateUi(MainWindow)
|
446 |
self.tabWidget.setCurrentIndex(0) |
447 |
QtCore.QMetaObject.connectSlotsByName(MainWindow) |
448 |
|
449 |
def retranslateUi(self, MainWindow): |
450 |
_translate = QtCore.QCoreApplication.translate |
451 |
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) |
452 |
self.menu.setTitle(_translate("MainWindow", "File")) |
453 |
self.menuTheme.setTitle(_translate("MainWindow", "Theme")) |
454 |
self.menuLanguage.setTitle(_translate("MainWindow", "Language")) |
455 |
self.menu_3.setTitle(_translate("MainWindow", "View")) |
456 |
self.menuTool.setTitle(_translate("MainWindow", "Tools")) |
457 |
self.dockWidgetSymbolExplorer.setWindowTitle(_translate("MainWindow", "Symbol Explorer")) |
458 |
self.dockWidgetDrawingExplorer.setWindowTitle(_translate("MainWindow", "Drawing Explorer")) |
459 |
self.treeWidgetDrawingList.setSortingEnabled(True) |
460 |
self.dockWidgetHMBList.setWindowTitle(_translate("MainWindow", "HMB List")) |
461 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStreamData), _translate("MainWindow", "Stream Data")) |
462 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLoop), _translate("MainWindow", "Loop")) |
463 |
self.toolBar.setWindowTitle(_translate("MainWindow", "Main Toolbar")) |
464 |
self.actionClose.setText(_translate("MainWindow", "Exit")) |
465 |
self.actionClose.setToolTip(_translate("MainWindow", "Exit")) |
466 |
self.actionRecognition.setText(_translate("MainWindow", "Recognize Eng. Info.")) |
467 |
self.actionRecognition.setToolTip(_translate("MainWindow", "Recognize Eng. Info.")) |
468 |
self.actionLine.setText(_translate("MainWindow", "Stream Line")) |
469 |
self.actionLine.setToolTip(_translate("MainWindow", "Stream Line")) |
470 |
self.actionValidate.setText(_translate("MainWindow", "Validate")) |
471 |
self.actionValidate.setToolTip(_translate("MainWindow", "Validate(V)")) |
472 |
self.actionValidate.setShortcut(_translate("MainWindow", "V")) |
473 |
self.actionConfiguration.setText(_translate("MainWindow", "Configuration...")) |
474 |
self.actionArea.setText(_translate("MainWindow", "Setup Area")) |
475 |
self.actionOCR.setText(_translate("MainWindow", "OCR")) |
476 |
self.actionOCR.setToolTip(_translate("MainWindow", "OCR(T)")) |
477 |
self.actionOCR.setShortcut(_translate("MainWindow", "T")) |
478 |
self.actionLineRecognition.setText(_translate("MainWindow", "Link Attribute")) |
479 |
self.actionLineRecognition.setToolTip(_translate("MainWindow", "Link Attribute")) |
480 |
self.actionGenerateOutput.setText(_translate("MainWindow", "Convert")) |
481 |
self.actionEquipment_Data_List.setText(_translate("MainWindow", "Equipment Data List")) |
482 |
self.actionItem_Data_List.setText(_translate("MainWindow", "Engineering Info. List")) |
483 |
self.actionInstrument_Data_List.setText(_translate("MainWindow", "Instrument Data List")) |
484 |
self.actionInitialize.setText(_translate("MainWindow", "Clear Screen")) |
485 |
self.actionInitialize.setToolTip(_translate("MainWindow", "Clear Screen")) |
486 |
self.actionImage_Drawing.setText(_translate("MainWindow", "Image Drawing (1)")) |
487 |
self.actionZoom.setText(_translate("MainWindow", "Zoom Area")) |
488 |
self.actionZoom.setToolTip(_translate("MainWindow", "Zoom Area")) |
489 |
self.actionFitWindow.setText(_translate("MainWindow", "Fit")) |
490 |
self.actionFitWindow.setIconText(_translate("MainWindow", "Fit")) |
491 |
self.actionFitWindow.setToolTip(_translate("MainWindow", "Fit")) |
492 |
self.actionViewSymbol.setText(_translate("MainWindow", "Symbol (3)")) |
493 |
self.actionViewText.setText(_translate("MainWindow", "Text (2)")) |
494 |
self.actionViewLine.setText(_translate("MainWindow", "Line (4)")) |
495 |
self.actionViewUnknown.setText(_translate("MainWindow", "Unrecognization (5)")) |
496 |
self.actionCodeTable.setText(_translate("MainWindow", "Code Table")) |
497 |
self.actionFluid_Code.setText(_translate("MainWindow", "Fluid Code")) |
498 |
self.actionpdf_to_image.setText(_translate("MainWindow", "Convert PDF")) |
499 |
self.actionHMB_DATA.setText(_translate("MainWindow", "HMB Data")) |
500 |
self.actionSave.setText(_translate("MainWindow", "Save")) |
501 |
self.actionSave.setToolTip(_translate("MainWindow", "Save")) |
502 |
self.actionSave.setShortcut(_translate("MainWindow", "Ctrl+S")) |
503 |
self.actionRotate.setText(_translate("MainWindow", "Rotate")) |
504 |
self.actionRotate.setToolTip(_translate("MainWindow", "Rotate(Ctrl + R)")) |
505 |
self.actionRotate.setShortcut(_translate("MainWindow", "Ctrl+R")) |
506 |
self.actionFindReplaceText.setText(_translate("MainWindow", "Find/Replace")) |
507 |
self.actionFindReplaceText.setToolTip(_translate("MainWindow", "Fine/Replace")) |
508 |
self.actionReplaceText.setText(_translate("MainWindow", "Modify Text")) |
509 |
self.actionOCR_Training.setText(_translate("MainWindow", "OCR Training")) |
510 |
self.actionOCR_Training_Editor.setText(_translate("MainWindow", "OCR Training Editor")) |
511 |
self.actioncoffee.setText(_translate("MainWindow", "coffee")) |
512 |
self.actionEnglish.setText(_translate("MainWindow", "English")) |
513 |
self.actionViewInconsistency.setText(_translate("MainWindow", "Inconsistency (6)")) |
514 |
self.actionText_Data_List.setText(_translate("MainWindow", "Text Data List")) |
515 |
self.actionDrawing_Only.setText(_translate("MainWindow", "Drawing Only ( ` )")) |
516 |
self.actionVendor.setText(_translate("MainWindow", "Vendor")) |
517 |
self.actionVendor.setToolTip(_translate("MainWindow", "Set Vendor Package")) |
518 |
self.actionViewVendor_Area.setText(_translate("MainWindow", "Vendor Area(7)")) |
519 |
self.actionNew.setText(_translate("MainWindow", "New...")) |
520 |
self.actionNew.setIconText(_translate("MainWindow", "New")) |
521 |
self.actionNew.setToolTip(_translate("MainWindow", "New")) |
522 |
self.actionNew.setShortcut(_translate("MainWindow", "Ctrl+N")) |
523 |
self.actionCreate_Symbol.setText(_translate("MainWindow", "Symbol Editor")) |
524 |
self.actionCreate_Stream.setText(_translate("MainWindow", "Create Stream")) |
525 |
self.actionOptions.setText(_translate("MainWindow", "Options...")) |
526 |
self.actionCalculation.setToolTip(_translate("MainWindow", "Calculation")) |
527 |
self.actionOpen.setText(_translate("MainWindow", "Open..")) |
528 |
self.actionOpen.setIconText(_translate("MainWindow", "Open..")) |
529 |
self.actionOpen.setToolTip(_translate("MainWindow", "Open")) |
530 |
self.actionOpen.setShortcut(_translate("MainWindow", "Ctrl+O")) |
531 |
import Resource_rc |