1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
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(1089, 903)
|
17
|
MainWindow.setBaseSize(QtCore.QSize(0, 300))
|
18
|
font = QtGui.QFont()
|
19
|
font.setFamily("맑은 고딕")
|
20
|
font.setBold(True)
|
21
|
font.setWeight(75)
|
22
|
MainWindow.setFont(font)
|
23
|
icon = QtGui.QIcon()
|
24
|
icon.addPixmap(QtGui.QPixmap(":/newPrefix/ID2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
25
|
MainWindow.setWindowIcon(icon)
|
26
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
27
|
self.centralwidget.setObjectName("centralwidget")
|
28
|
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
|
29
|
self.gridLayout.setObjectName("gridLayout")
|
30
|
self.verticalLayout = QtWidgets.QVBoxLayout()
|
31
|
self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
|
32
|
self.verticalLayout.setObjectName("verticalLayout")
|
33
|
self.label_spinner = QtWidgets.QLabel(self.centralwidget)
|
34
|
self.label_spinner.setText("")
|
35
|
self.label_spinner.setAlignment(QtCore.Qt.AlignCenter)
|
36
|
self.label_spinner.setObjectName("label_spinner")
|
37
|
self.verticalLayout.addWidget(self.label_spinner)
|
38
|
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
|
39
|
MainWindow.setCentralWidget(self.centralwidget)
|
40
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
41
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 1089, 21))
|
42
|
self.menubar.setObjectName("menubar")
|
43
|
self.menu = QtWidgets.QMenu(self.menubar)
|
44
|
self.menu.setObjectName("menu")
|
45
|
self.menuTheme = QtWidgets.QMenu(self.menu)
|
46
|
self.menuTheme.setObjectName("menuTheme")
|
47
|
self.menuLanguage = QtWidgets.QMenu(self.menu)
|
48
|
self.menuLanguage.setObjectName("menuLanguage")
|
49
|
self.menuExport = QtWidgets.QMenu(self.menu)
|
50
|
self.menuExport.setObjectName("menuExport")
|
51
|
self.menu_2 = QtWidgets.QMenu(self.menubar)
|
52
|
self.menu_2.setObjectName("menu_2")
|
53
|
self.menu_3 = QtWidgets.QMenu(self.menubar)
|
54
|
self.menu_3.setObjectName("menu_3")
|
55
|
self.menu_4 = QtWidgets.QMenu(self.menubar)
|
56
|
self.menu_4.setObjectName("menu_4")
|
57
|
self.menu_5 = QtWidgets.QMenu(self.menubar)
|
58
|
self.menu_5.setObjectName("menu_5")
|
59
|
self.menuHelp = QtWidgets.QMenu(self.menubar)
|
60
|
self.menuHelp.setObjectName("menuHelp")
|
61
|
MainWindow.setMenuBar(self.menubar)
|
62
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
63
|
self.statusbar.setObjectName("statusbar")
|
64
|
MainWindow.setStatusBar(self.statusbar)
|
65
|
self.toolBar = QtWidgets.QToolBar(MainWindow)
|
66
|
font = QtGui.QFont()
|
67
|
font.setFamily("맑은 고딕")
|
68
|
font.setBold(True)
|
69
|
font.setWeight(75)
|
70
|
self.toolBar.setFont(font)
|
71
|
self.toolBar.setIconSize(QtCore.QSize(32, 32))
|
72
|
self.toolBar.setObjectName("toolBar")
|
73
|
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
74
|
self.dockWidget = QtWidgets.QDockWidget(MainWindow)
|
75
|
self.dockWidget.setMinimumSize(QtCore.QSize(284, 309))
|
76
|
self.dockWidget.setObjectName("dockWidget")
|
77
|
self.dockWidgetContents = QtWidgets.QWidget()
|
78
|
self.dockWidgetContents.setObjectName("dockWidgetContents")
|
79
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.dockWidgetContents)
|
80
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
81
|
self.splitterSymbol = QtWidgets.QSplitter(self.dockWidgetContents)
|
82
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
|
83
|
sizePolicy.setHorizontalStretch(0)
|
84
|
sizePolicy.setVerticalStretch(1)
|
85
|
sizePolicy.setHeightForWidth(self.splitterSymbol.sizePolicy().hasHeightForWidth())
|
86
|
self.splitterSymbol.setSizePolicy(sizePolicy)
|
87
|
self.splitterSymbol.setBaseSize(QtCore.QSize(0, 1000))
|
88
|
self.splitterSymbol.setOrientation(QtCore.Qt.Vertical)
|
89
|
self.splitterSymbol.setObjectName("splitterSymbol")
|
90
|
self.widget = QtWidgets.QWidget(self.splitterSymbol)
|
91
|
self.widget.setObjectName("widget")
|
92
|
self.gridLayout_3 = QtWidgets.QGridLayout(self.widget)
|
93
|
self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
|
94
|
self.gridLayout_3.setObjectName("gridLayout_3")
|
95
|
self.tabWidget = QtWidgets.QTabWidget(self.widget)
|
96
|
self.tabWidget.setObjectName("tabWidget")
|
97
|
self.Symbol = QtWidgets.QWidget()
|
98
|
self.Symbol.setObjectName("Symbol")
|
99
|
self.gridLayout_9 = QtWidgets.QGridLayout(self.Symbol)
|
100
|
self.gridLayout_9.setObjectName("gridLayout_9")
|
101
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
102
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
103
|
self.lineEditFilter = QtWidgets.QLineEdit(self.Symbol)
|
104
|
self.lineEditFilter.setObjectName("lineEditFilter")
|
105
|
self.horizontalLayout.addWidget(self.lineEditFilter)
|
106
|
self.pushButtonCreateSymbol = QtWidgets.QPushButton(self.Symbol)
|
107
|
self.pushButtonCreateSymbol.setMaximumSize(QtCore.QSize(32, 16777215))
|
108
|
self.pushButtonCreateSymbol.setLayoutDirection(QtCore.Qt.LeftToRight)
|
109
|
self.pushButtonCreateSymbol.setObjectName("pushButtonCreateSymbol")
|
110
|
self.horizontalLayout.addWidget(self.pushButtonCreateSymbol)
|
111
|
self.pushButtonDetectSymbol = QtWidgets.QPushButton(self.Symbol)
|
112
|
self.pushButtonDetectSymbol.setMaximumSize(QtCore.QSize(130, 16777215))
|
113
|
self.pushButtonDetectSymbol.setObjectName("pushButtonDetectSymbol")
|
114
|
self.horizontalLayout.addWidget(self.pushButtonDetectSymbol)
|
115
|
self.gridLayout_9.addLayout(self.horizontalLayout, 0, 0, 1, 1)
|
116
|
self.verticalLayoutSymbolTree = QtWidgets.QVBoxLayout()
|
117
|
self.verticalLayoutSymbolTree.setObjectName("verticalLayoutSymbolTree")
|
118
|
self.gridLayout_9.addLayout(self.verticalLayoutSymbolTree, 1, 0, 1, 1)
|
119
|
self.tabWidget.addTab(self.Symbol, "")
|
120
|
self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1)
|
121
|
self.widgetSymbolProperty = QtWidgets.QWidget(self.splitterSymbol)
|
122
|
self.widgetSymbolProperty.setMaximumSize(QtCore.QSize(16777215, 500))
|
123
|
self.widgetSymbolProperty.setObjectName("widgetSymbolProperty")
|
124
|
self.gridLayout_10 = QtWidgets.QGridLayout(self.widgetSymbolProperty)
|
125
|
self.gridLayout_10.setContentsMargins(0, 0, 0, 0)
|
126
|
self.gridLayout_10.setObjectName("gridLayout_10")
|
127
|
self.tabWidgetSymbolProperty = QtWidgets.QTabWidget(self.widgetSymbolProperty)
|
128
|
self.tabWidgetSymbolProperty.setMaximumSize(QtCore.QSize(16777215, 500))
|
129
|
self.tabWidgetSymbolProperty.setBaseSize(QtCore.QSize(0, 300))
|
130
|
self.tabWidgetSymbolProperty.setObjectName("tabWidgetSymbolProperty")
|
131
|
self.tabLibrary = QtWidgets.QWidget()
|
132
|
self.tabLibrary.setObjectName("tabLibrary")
|
133
|
self.gridLayout_13 = QtWidgets.QGridLayout(self.tabLibrary)
|
134
|
self.gridLayout_13.setObjectName("gridLayout_13")
|
135
|
self.scrollArea = QtWidgets.QScrollArea(self.tabLibrary)
|
136
|
self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 500))
|
137
|
self.scrollArea.setWidgetResizable(True)
|
138
|
self.scrollArea.setObjectName("scrollArea")
|
139
|
self.scrollAreaWidgetContents = QtWidgets.QWidget()
|
140
|
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 284, 195))
|
141
|
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
|
142
|
self.gridLayout_14 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
|
143
|
self.gridLayout_14.setObjectName("gridLayout_14")
|
144
|
self.verticalLayoutLibrary = QtWidgets.QVBoxLayout()
|
145
|
self.verticalLayoutLibrary.setObjectName("verticalLayoutLibrary")
|
146
|
self.gridLayout_14.addLayout(self.verticalLayoutLibrary, 0, 0, 1, 1)
|
147
|
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
148
|
self.gridLayout_13.addWidget(self.scrollArea, 0, 0, 1, 1)
|
149
|
self.tabWidgetSymbolProperty.addTab(self.tabLibrary, "")
|
150
|
self.tabSymbolProperty = QtWidgets.QWidget()
|
151
|
self.tabSymbolProperty.setObjectName("tabSymbolProperty")
|
152
|
self.gridLayout_15 = QtWidgets.QGridLayout(self.tabSymbolProperty)
|
153
|
self.gridLayout_15.setObjectName("gridLayout_15")
|
154
|
self.verticalLayoutSymbolProperty = QtWidgets.QVBoxLayout()
|
155
|
self.verticalLayoutSymbolProperty.setObjectName("verticalLayoutSymbolProperty")
|
156
|
self.gridLayout_15.addLayout(self.verticalLayoutSymbolProperty, 0, 0, 1, 1)
|
157
|
self.tabWidgetSymbolProperty.addTab(self.tabSymbolProperty, "")
|
158
|
self.gridLayout_10.addWidget(self.tabWidgetSymbolProperty, 0, 0, 1, 1)
|
159
|
self.gridLayout_2.addWidget(self.splitterSymbol, 0, 0, 1, 1)
|
160
|
self.dockWidget.setWidget(self.dockWidgetContents)
|
161
|
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(2), self.dockWidget)
|
162
|
self.dockWidgetObjectExplorer = QtWidgets.QDockWidget(MainWindow)
|
163
|
self.dockWidgetObjectExplorer.setMinimumSize(QtCore.QSize(300, 219))
|
164
|
self.dockWidgetObjectExplorer.setObjectName("dockWidgetObjectExplorer")
|
165
|
self.dockWidgetContents_2 = QtWidgets.QWidget()
|
166
|
self.dockWidgetContents_2.setObjectName("dockWidgetContents_2")
|
167
|
self.gridLayout_4 = QtWidgets.QGridLayout(self.dockWidgetContents_2)
|
168
|
self.gridLayout_4.setObjectName("gridLayout_4")
|
169
|
self.tabWidgetItemExplorer = QtWidgets.QTabWidget(self.dockWidgetContents_2)
|
170
|
self.tabWidgetItemExplorer.setObjectName("tabWidgetItemExplorer")
|
171
|
self.tabItemProperty = QtWidgets.QWidget()
|
172
|
self.tabItemProperty.setObjectName("tabItemProperty")
|
173
|
self.gridLayout_6 = QtWidgets.QGridLayout(self.tabItemProperty)
|
174
|
self.gridLayout_6.setObjectName("gridLayout_6")
|
175
|
self.symbolExplorerVerticalLayout = QtWidgets.QVBoxLayout()
|
176
|
self.symbolExplorerVerticalLayout.setObjectName("symbolExplorerVerticalLayout")
|
177
|
self.gridLayout_6.addLayout(self.symbolExplorerVerticalLayout, 0, 0, 1, 1)
|
178
|
self.tabWidgetItemExplorer.addTab(self.tabItemProperty, "")
|
179
|
self.tabDrawingList = QtWidgets.QWidget()
|
180
|
self.tabDrawingList.setObjectName("tabDrawingList")
|
181
|
self.gridLayout_7 = QtWidgets.QGridLayout(self.tabDrawingList)
|
182
|
self.gridLayout_7.setObjectName("gridLayout_7")
|
183
|
self.verticalLayoutDrawingList = QtWidgets.QVBoxLayout()
|
184
|
self.verticalLayoutDrawingList.setObjectName("verticalLayoutDrawingList")
|
185
|
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
186
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
187
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
188
|
self.horizontalLayout_4.addItem(spacerItem)
|
189
|
self.pushButtonRefreshDrawings = QtWidgets.QPushButton(self.tabDrawingList)
|
190
|
self.pushButtonRefreshDrawings.setObjectName("pushButtonRefreshDrawings")
|
191
|
self.horizontalLayout_4.addWidget(self.pushButtonRefreshDrawings)
|
192
|
self.verticalLayoutDrawingList.addLayout(self.horizontalLayout_4)
|
193
|
self.treeWidgetDrawingList = QtWidgets.QTreeWidget(self.tabDrawingList)
|
194
|
self.treeWidgetDrawingList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
195
|
self.treeWidgetDrawingList.setColumnCount(2)
|
196
|
self.treeWidgetDrawingList.setObjectName("treeWidgetDrawingList")
|
197
|
self.treeWidgetDrawingList.headerItem().setText(0, "1")
|
198
|
self.treeWidgetDrawingList.headerItem().setText(1, "2")
|
199
|
self.treeWidgetDrawingList.header().setVisible(False)
|
200
|
self.verticalLayoutDrawingList.addWidget(self.treeWidgetDrawingList)
|
201
|
self.gridLayout_7.addLayout(self.verticalLayoutDrawingList, 0, 0, 1, 1)
|
202
|
self.tabWidgetItemExplorer.addTab(self.tabDrawingList, "")
|
203
|
self.gridLayout_4.addWidget(self.tabWidgetItemExplorer, 0, 0, 1, 1)
|
204
|
self.dockWidgetObjectExplorer.setWidget(self.dockWidgetContents_2)
|
205
|
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.dockWidgetObjectExplorer)
|
206
|
self.EditToolbar = QtWidgets.QToolBar(MainWindow)
|
207
|
self.EditToolbar.setEnabled(True)
|
208
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
209
|
sizePolicy.setHorizontalStretch(0)
|
210
|
sizePolicy.setVerticalStretch(0)
|
211
|
sizePolicy.setHeightForWidth(self.EditToolbar.sizePolicy().hasHeightForWidth())
|
212
|
self.EditToolbar.setSizePolicy(sizePolicy)
|
213
|
self.EditToolbar.setLayoutDirection(QtCore.Qt.LeftToRight)
|
214
|
self.EditToolbar.setIconSize(QtCore.QSize(32, 32))
|
215
|
self.EditToolbar.setObjectName("EditToolbar")
|
216
|
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.EditToolbar)
|
217
|
self.dockWidgetOutputWnd = QtWidgets.QDockWidget(MainWindow)
|
218
|
self.dockWidgetOutputWnd.setMinimumSize(QtCore.QSize(145, 202))
|
219
|
self.dockWidgetOutputWnd.setBaseSize(QtCore.QSize(0, 202))
|
220
|
self.dockWidgetOutputWnd.setFeatures(QtWidgets.QDockWidget.DockWidgetFloatable|QtWidgets.QDockWidget.DockWidgetMovable)
|
221
|
self.dockWidgetOutputWnd.setAllowedAreas(QtCore.Qt.AllDockWidgetAreas)
|
222
|
self.dockWidgetOutputWnd.setObjectName("dockWidgetOutputWnd")
|
223
|
self.dockWidgetContents_3 = QtWidgets.QWidget()
|
224
|
self.dockWidgetContents_3.setObjectName("dockWidgetContents_3")
|
225
|
self.gridLayout_5 = QtWidgets.QGridLayout(self.dockWidgetContents_3)
|
226
|
self.gridLayout_5.setObjectName("gridLayout_5")
|
227
|
self.tabWidget_2 = QtWidgets.QTabWidget(self.dockWidgetContents_3)
|
228
|
self.tabWidget_2.setObjectName("tabWidget_2")
|
229
|
self.tabTerminal = QtWidgets.QWidget()
|
230
|
self.tabTerminal.setObjectName("tabTerminal")
|
231
|
self.gridLayout_12 = QtWidgets.QGridLayout(self.tabTerminal)
|
232
|
self.gridLayout_12.setObjectName("gridLayout_12")
|
233
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
234
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
235
|
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
|
236
|
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
237
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
238
|
self.horizontalLayout_5.addItem(spacerItem1)
|
239
|
self.pushButtonClearLog = QtWidgets.QPushButton(self.tabTerminal)
|
240
|
self.pushButtonClearLog.setEnabled(True)
|
241
|
self.pushButtonClearLog.setMaximumSize(QtCore.QSize(32, 16777215))
|
242
|
self.pushButtonClearLog.setObjectName("pushButtonClearLog")
|
243
|
self.horizontalLayout_5.addWidget(self.pushButtonClearLog, 0, QtCore.Qt.AlignRight)
|
244
|
self.verticalLayout_3.addLayout(self.horizontalLayout_5)
|
245
|
self.listWidgetLog = QtWidgets.QListWidget(self.tabTerminal)
|
246
|
self.listWidgetLog.setObjectName("listWidgetLog")
|
247
|
self.verticalLayout_3.addWidget(self.listWidgetLog)
|
248
|
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
|
249
|
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
250
|
self.verticalLayout_3.addLayout(self.horizontalLayout_6)
|
251
|
self.gridLayout_12.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
|
252
|
self.tabWidget_2.addTab(self.tabTerminal, "")
|
253
|
self.tabInconsistency = QtWidgets.QWidget()
|
254
|
self.tabInconsistency.setObjectName("tabInconsistency")
|
255
|
self.gridLayout_8 = QtWidgets.QGridLayout(self.tabInconsistency)
|
256
|
self.gridLayout_8.setObjectName("gridLayout_8")
|
257
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
|
258
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
259
|
self.tableWidgetInconsistency = QtWidgets.QTableWidget(self.tabInconsistency)
|
260
|
self.tableWidgetInconsistency.setObjectName("tableWidgetInconsistency")
|
261
|
self.tableWidgetInconsistency.setColumnCount(0)
|
262
|
self.tableWidgetInconsistency.setRowCount(0)
|
263
|
self.tableWidgetInconsistency.horizontalHeader().setSortIndicatorShown(True)
|
264
|
self.tableWidgetInconsistency.horizontalHeader().setStretchLastSection(True)
|
265
|
self.verticalLayout_2.addWidget(self.tableWidgetInconsistency)
|
266
|
self.gridLayout_8.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
|
267
|
self.tabWidget_2.addTab(self.tabInconsistency, "")
|
268
|
self.gridLayout_5.addWidget(self.tabWidget_2, 0, 0, 1, 1)
|
269
|
self.dockWidgetOutputWnd.setWidget(self.dockWidgetContents_3)
|
270
|
MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidgetOutputWnd)
|
271
|
self.actionOpen = QtWidgets.QAction(MainWindow)
|
272
|
icon1 = QtGui.QIcon()
|
273
|
icon1.addPixmap(QtGui.QPixmap(":/newPrefix/File.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
274
|
self.actionOpen.setIcon(icon1)
|
275
|
font = QtGui.QFont()
|
276
|
font.setFamily("맑은 고딕")
|
277
|
self.actionOpen.setFont(font)
|
278
|
self.actionOpen.setObjectName("actionOpen")
|
279
|
self.actionClose = QtWidgets.QAction(MainWindow)
|
280
|
icon2 = QtGui.QIcon()
|
281
|
icon2.addPixmap(QtGui.QPixmap(":/newPrefix/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
282
|
self.actionClose.setIcon(icon2)
|
283
|
font = QtGui.QFont()
|
284
|
font.setFamily("맑은 고딕")
|
285
|
self.actionClose.setFont(font)
|
286
|
self.actionClose.setObjectName("actionClose")
|
287
|
self.actionRecognition = QtWidgets.QAction(MainWindow)
|
288
|
icon3 = QtGui.QIcon()
|
289
|
icon3.addPixmap(QtGui.QPixmap(":/newPrefix/Recognition.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
290
|
self.actionRecognition.setIcon(icon3)
|
291
|
font = QtGui.QFont()
|
292
|
font.setFamily("맑은 고딕")
|
293
|
font.setBold(True)
|
294
|
font.setWeight(75)
|
295
|
self.actionRecognition.setFont(font)
|
296
|
self.actionRecognition.setObjectName("actionRecognition")
|
297
|
self.actionLine = QtWidgets.QAction(MainWindow)
|
298
|
self.actionLine.setCheckable(True)
|
299
|
icon4 = QtGui.QIcon()
|
300
|
icon4.addPixmap(QtGui.QPixmap(":/newPrefix/Line.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
301
|
self.actionLine.setIcon(icon4)
|
302
|
font = QtGui.QFont()
|
303
|
font.setFamily("맑은 고딕")
|
304
|
font.setBold(True)
|
305
|
font.setWeight(75)
|
306
|
self.actionLine.setFont(font)
|
307
|
self.actionLine.setObjectName("actionLine")
|
308
|
self.actionValidate = QtWidgets.QAction(MainWindow)
|
309
|
icon5 = QtGui.QIcon()
|
310
|
icon5.addPixmap(QtGui.QPixmap(":/newPrefix/Validation.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
311
|
self.actionValidate.setIcon(icon5)
|
312
|
font = QtGui.QFont()
|
313
|
font.setFamily("맑은 고딕")
|
314
|
font.setBold(True)
|
315
|
font.setWeight(75)
|
316
|
self.actionValidate.setFont(font)
|
317
|
self.actionValidate.setObjectName("actionValidate")
|
318
|
self.actionConfiguration = QtWidgets.QAction(MainWindow)
|
319
|
icon6 = QtGui.QIcon()
|
320
|
icon6.addPixmap(QtGui.QPixmap(":/newPrefix/setting.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
321
|
self.actionConfiguration.setIcon(icon6)
|
322
|
font = QtGui.QFont()
|
323
|
font.setFamily("맑은 고딕")
|
324
|
font.setBold(False)
|
325
|
font.setWeight(50)
|
326
|
self.actionConfiguration.setFont(font)
|
327
|
self.actionConfiguration.setObjectName("actionConfiguration")
|
328
|
self.actionArea = QtWidgets.QAction(MainWindow)
|
329
|
icon7 = QtGui.QIcon()
|
330
|
icon7.addPixmap(QtGui.QPixmap(":/newPrefix/setup_area.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
331
|
self.actionArea.setIcon(icon7)
|
332
|
font = QtGui.QFont()
|
333
|
font.setFamily("맑은 고딕")
|
334
|
font.setBold(False)
|
335
|
font.setWeight(50)
|
336
|
self.actionArea.setFont(font)
|
337
|
self.actionArea.setObjectName("actionArea")
|
338
|
self.actionOCR = QtWidgets.QAction(MainWindow)
|
339
|
self.actionOCR.setCheckable(True)
|
340
|
icon8 = QtGui.QIcon()
|
341
|
icon8.addPixmap(QtGui.QPixmap(":/newPrefix/OCR.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
342
|
self.actionOCR.setIcon(icon8)
|
343
|
font = QtGui.QFont()
|
344
|
font.setFamily("맑은 고딕")
|
345
|
font.setBold(True)
|
346
|
font.setWeight(75)
|
347
|
self.actionOCR.setFont(font)
|
348
|
self.actionOCR.setObjectName("actionOCR")
|
349
|
self.actionLineRecognition = QtWidgets.QAction(MainWindow)
|
350
|
icon9 = QtGui.QIcon()
|
351
|
icon9.addPixmap(QtGui.QPixmap(":/newPrefix/Connection.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
352
|
self.actionLineRecognition.setIcon(icon9)
|
353
|
font = QtGui.QFont()
|
354
|
font.setFamily("맑은 고딕")
|
355
|
font.setBold(True)
|
356
|
font.setWeight(75)
|
357
|
self.actionLineRecognition.setFont(font)
|
358
|
self.actionLineRecognition.setObjectName("actionLineRecognition")
|
359
|
self.actionGenerateOutput = QtWidgets.QAction(MainWindow)
|
360
|
icon10 = QtGui.QIcon()
|
361
|
icon10.addPixmap(QtGui.QPixmap(":/newPrefix/Convert.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
362
|
self.actionGenerateOutput.setIcon(icon10)
|
363
|
font = QtGui.QFont()
|
364
|
font.setFamily("맑은 고딕")
|
365
|
font.setBold(True)
|
366
|
font.setWeight(75)
|
367
|
self.actionGenerateOutput.setFont(font)
|
368
|
self.actionGenerateOutput.setObjectName("actionGenerateOutput")
|
369
|
self.actionEquipment_Data_List = QtWidgets.QAction(MainWindow)
|
370
|
font = QtGui.QFont()
|
371
|
font.setFamily("맑은 고딕")
|
372
|
font.setBold(True)
|
373
|
font.setWeight(75)
|
374
|
self.actionEquipment_Data_List.setFont(font)
|
375
|
self.actionEquipment_Data_List.setObjectName("actionEquipment_Data_List")
|
376
|
self.actionItem_Data_List = QtWidgets.QAction(MainWindow)
|
377
|
icon11 = QtGui.QIcon()
|
378
|
icon11.addPixmap(QtGui.QPixmap(":/newPrefix/engineering_info_list.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
379
|
self.actionItem_Data_List.setIcon(icon11)
|
380
|
font = QtGui.QFont()
|
381
|
font.setFamily("맑은 고딕")
|
382
|
font.setBold(False)
|
383
|
font.setWeight(50)
|
384
|
self.actionItem_Data_List.setFont(font)
|
385
|
self.actionItem_Data_List.setObjectName("actionItem_Data_List")
|
386
|
self.actionInstrument_Data_List = QtWidgets.QAction(MainWindow)
|
387
|
font = QtGui.QFont()
|
388
|
font.setFamily("맑은 고딕")
|
389
|
font.setBold(True)
|
390
|
font.setWeight(75)
|
391
|
self.actionInstrument_Data_List.setFont(font)
|
392
|
self.actionInstrument_Data_List.setObjectName("actionInstrument_Data_List")
|
393
|
self.actionInitialize = QtWidgets.QAction(MainWindow)
|
394
|
icon12 = QtGui.QIcon()
|
395
|
icon12.addPixmap(QtGui.QPixmap(":/newPrefix/Reset.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
396
|
self.actionInitialize.setIcon(icon12)
|
397
|
font = QtGui.QFont()
|
398
|
font.setFamily("맑은 고딕")
|
399
|
self.actionInitialize.setFont(font)
|
400
|
self.actionInitialize.setObjectName("actionInitialize")
|
401
|
self.actionImage_Drawing = QtWidgets.QAction(MainWindow)
|
402
|
self.actionImage_Drawing.setCheckable(True)
|
403
|
self.actionImage_Drawing.setChecked(True)
|
404
|
font = QtGui.QFont()
|
405
|
font.setFamily("맑은 고딕")
|
406
|
self.actionImage_Drawing.setFont(font)
|
407
|
self.actionImage_Drawing.setObjectName("actionImage_Drawing")
|
408
|
self.actionZoom = QtWidgets.QAction(MainWindow)
|
409
|
self.actionZoom.setCheckable(True)
|
410
|
icon13 = QtGui.QIcon()
|
411
|
icon13.addPixmap(QtGui.QPixmap(":/newPrefix/ZoomArea.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
412
|
self.actionZoom.setIcon(icon13)
|
413
|
font = QtGui.QFont()
|
414
|
font.setFamily("맑은 고딕")
|
415
|
font.setBold(True)
|
416
|
font.setWeight(75)
|
417
|
self.actionZoom.setFont(font)
|
418
|
self.actionZoom.setObjectName("actionZoom")
|
419
|
self.actionFitWindow = QtWidgets.QAction(MainWindow)
|
420
|
icon14 = QtGui.QIcon()
|
421
|
icon14.addPixmap(QtGui.QPixmap(":/newPrefix/FullExtent.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
422
|
self.actionFitWindow.setIcon(icon14)
|
423
|
font = QtGui.QFont()
|
424
|
font.setFamily("맑은 고딕")
|
425
|
font.setBold(True)
|
426
|
font.setWeight(75)
|
427
|
self.actionFitWindow.setFont(font)
|
428
|
self.actionFitWindow.setObjectName("actionFitWindow")
|
429
|
self.actionViewSymbol = QtWidgets.QAction(MainWindow)
|
430
|
self.actionViewSymbol.setCheckable(True)
|
431
|
self.actionViewSymbol.setChecked(True)
|
432
|
font = QtGui.QFont()
|
433
|
font.setFamily("맑은 고딕")
|
434
|
self.actionViewSymbol.setFont(font)
|
435
|
self.actionViewSymbol.setObjectName("actionViewSymbol")
|
436
|
self.actionViewText = QtWidgets.QAction(MainWindow)
|
437
|
self.actionViewText.setCheckable(True)
|
438
|
self.actionViewText.setChecked(True)
|
439
|
font = QtGui.QFont()
|
440
|
font.setFamily("맑은 고딕")
|
441
|
self.actionViewText.setFont(font)
|
442
|
self.actionViewText.setObjectName("actionViewText")
|
443
|
self.actionViewLine = QtWidgets.QAction(MainWindow)
|
444
|
self.actionViewLine.setCheckable(True)
|
445
|
self.actionViewLine.setChecked(True)
|
446
|
font = QtGui.QFont()
|
447
|
font.setFamily("맑은 고딕")
|
448
|
self.actionViewLine.setFont(font)
|
449
|
self.actionViewLine.setObjectName("actionViewLine")
|
450
|
self.actionViewUnknown = QtWidgets.QAction(MainWindow)
|
451
|
self.actionViewUnknown.setCheckable(True)
|
452
|
self.actionViewUnknown.setChecked(True)
|
453
|
font = QtGui.QFont()
|
454
|
font.setFamily("맑은 고딕")
|
455
|
self.actionViewUnknown.setFont(font)
|
456
|
self.actionViewUnknown.setObjectName("actionViewUnknown")
|
457
|
self.actionCodeTable = QtWidgets.QAction(MainWindow)
|
458
|
icon15 = QtGui.QIcon()
|
459
|
icon15.addPixmap(QtGui.QPixmap(":/newPrefix/codetable.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
460
|
self.actionCodeTable.setIcon(icon15)
|
461
|
font = QtGui.QFont()
|
462
|
font.setFamily("맑은 고딕")
|
463
|
self.actionCodeTable.setFont(font)
|
464
|
self.actionCodeTable.setObjectName("actionCodeTable")
|
465
|
self.actionFluid_Code = QtWidgets.QAction(MainWindow)
|
466
|
font = QtGui.QFont()
|
467
|
font.setFamily("맑은 고딕")
|
468
|
self.actionFluid_Code.setFont(font)
|
469
|
self.actionFluid_Code.setObjectName("actionFluid_Code")
|
470
|
self.actionpdf_to_image = QtWidgets.QAction(MainWindow)
|
471
|
icon16 = QtGui.QIcon()
|
472
|
icon16.addPixmap(QtGui.QPixmap(":/newPrefix/convertPDF.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
473
|
self.actionpdf_to_image.setIcon(icon16)
|
474
|
font = QtGui.QFont()
|
475
|
font.setFamily("맑은 고딕")
|
476
|
self.actionpdf_to_image.setFont(font)
|
477
|
self.actionpdf_to_image.setObjectName("actionpdf_to_image")
|
478
|
self.actionHMB_DATA = QtWidgets.QAction(MainWindow)
|
479
|
icon17 = QtGui.QIcon()
|
480
|
icon17.addPixmap(QtGui.QPixmap(":/newPrefix/HMBdata.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
481
|
self.actionHMB_DATA.setIcon(icon17)
|
482
|
self.actionHMB_DATA.setObjectName("actionHMB_DATA")
|
483
|
self.actionSave = QtWidgets.QAction(MainWindow)
|
484
|
icon18 = QtGui.QIcon()
|
485
|
icon18.addPixmap(QtGui.QPixmap(":/newPrefix/Save.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
486
|
self.actionSave.setIcon(icon18)
|
487
|
self.actionSave.setObjectName("actionSave")
|
488
|
self.actionRotate = QtWidgets.QAction(MainWindow)
|
489
|
icon19 = QtGui.QIcon()
|
490
|
icon19.addPixmap(QtGui.QPixmap(":/newPrefix/Rotate_Plus.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
491
|
self.actionRotate.setIcon(icon19)
|
492
|
self.actionRotate.setObjectName("actionRotate")
|
493
|
self.actionFindReplaceText = QtWidgets.QAction(MainWindow)
|
494
|
icon20 = QtGui.QIcon()
|
495
|
icon20.addPixmap(QtGui.QPixmap(":/newPrefix/find_replace.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
496
|
self.actionFindReplaceText.setIcon(icon20)
|
497
|
self.actionFindReplaceText.setObjectName("actionFindReplaceText")
|
498
|
self.actionReplaceText = QtWidgets.QAction(MainWindow)
|
499
|
font = QtGui.QFont()
|
500
|
font.setFamily("맑은 고딕")
|
501
|
self.actionReplaceText.setFont(font)
|
502
|
self.actionReplaceText.setObjectName("actionReplaceText")
|
503
|
self.actionOCR_Training = QtWidgets.QAction(MainWindow)
|
504
|
icon21 = QtGui.QIcon()
|
505
|
icon21.addPixmap(QtGui.QPixmap(":/newPrefix/OCR.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
506
|
self.actionOCR_Training.setIcon(icon21)
|
507
|
self.actionOCR_Training.setObjectName("actionOCR_Training")
|
508
|
self.actionOCR_Training_Editor = QtWidgets.QAction(MainWindow)
|
509
|
self.actionOCR_Training_Editor.setObjectName("actionOCR_Training_Editor")
|
510
|
self.actioncoffee = QtWidgets.QAction(MainWindow)
|
511
|
self.actioncoffee.setObjectName("actioncoffee")
|
512
|
self.actionEnglish = QtWidgets.QAction(MainWindow)
|
513
|
self.actionEnglish.setObjectName("actionEnglish")
|
514
|
self.actionViewInconsistency = QtWidgets.QAction(MainWindow)
|
515
|
self.actionViewInconsistency.setCheckable(True)
|
516
|
self.actionViewInconsistency.setChecked(True)
|
517
|
self.actionViewInconsistency.setObjectName("actionViewInconsistency")
|
518
|
self.actionText_Data_List = QtWidgets.QAction(MainWindow)
|
519
|
icon22 = QtGui.QIcon()
|
520
|
icon22.addPixmap(QtGui.QPixmap(":/newPrefix/text_data_list.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
521
|
self.actionText_Data_List.setIcon(icon22)
|
522
|
self.actionText_Data_List.setObjectName("actionText_Data_List")
|
523
|
self.actionDrawing_Only = QtWidgets.QAction(MainWindow)
|
524
|
self.actionDrawing_Only.setCheckable(True)
|
525
|
self.actionDrawing_Only.setObjectName("actionDrawing_Only")
|
526
|
self.actionVendor = QtWidgets.QAction(MainWindow)
|
527
|
self.actionVendor.setCheckable(True)
|
528
|
icon23 = QtGui.QIcon()
|
529
|
icon23.addPixmap(QtGui.QPixmap(":/newPrefix/Vendor.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
530
|
icon23.addPixmap(QtGui.QPixmap(":/newPrefix/vendor.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
|
531
|
icon23.addPixmap(QtGui.QPixmap(":/newPrefix/vendor.png"), QtGui.QIcon.Active, QtGui.QIcon.On)
|
532
|
self.actionVendor.setIcon(icon23)
|
533
|
self.actionVendor.setObjectName("actionVendor")
|
534
|
self.actionViewVendor_Area = QtWidgets.QAction(MainWindow)
|
535
|
self.actionViewVendor_Area.setCheckable(True)
|
536
|
self.actionViewVendor_Area.setChecked(True)
|
537
|
self.actionViewVendor_Area.setObjectName("actionViewVendor_Area")
|
538
|
self.actionImport_Text_From_CAD = QtWidgets.QAction(MainWindow)
|
539
|
self.actionImport_Text_From_CAD.setObjectName("actionImport_Text_From_CAD")
|
540
|
self.actionSpecialItemTypes = QtWidgets.QAction(MainWindow)
|
541
|
self.actionSpecialItemTypes.setObjectName("actionSpecialItemTypes")
|
542
|
self.actionDataTransfer = QtWidgets.QAction(MainWindow)
|
543
|
self.actionDataTransfer.setObjectName("actionDataTransfer")
|
544
|
self.actionOPCRelation = QtWidgets.QAction(MainWindow)
|
545
|
self.actionOPCRelation.setObjectName("actionOPCRelation")
|
546
|
self.actionHelp = QtWidgets.QAction(MainWindow)
|
547
|
self.actionHelp.setObjectName("actionHelp")
|
548
|
self.actionDataExport = QtWidgets.QAction(MainWindow)
|
549
|
self.actionDataExport.setObjectName("actionDataExport")
|
550
|
self.actionSymbol_Thickness_Reinforcement = QtWidgets.QAction(MainWindow)
|
551
|
self.actionSymbol_Thickness_Reinforcement.setObjectName("actionSymbol_Thickness_Reinforcement")
|
552
|
self.actionExportEqpDatasheet = QtWidgets.QAction(MainWindow)
|
553
|
self.actionExportEqpDatasheet.setObjectName("actionExportEqpDatasheet")
|
554
|
self.actionSymbol_Training = QtWidgets.QAction(MainWindow)
|
555
|
self.actionSymbol_Training.setObjectName("actionSymbol_Training")
|
556
|
self.actionCustom_Code_Table = QtWidgets.QAction(MainWindow)
|
557
|
self.actionCustom_Code_Table.setIcon(icon15)
|
558
|
self.actionCustom_Code_Table.setObjectName("actionCustom_Code_Table")
|
559
|
self.actionExportAsSVG = QtWidgets.QAction(MainWindow)
|
560
|
icon24 = QtGui.QIcon()
|
561
|
icon24.addPixmap(QtGui.QPixmap(":/newPrefix/svg.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
562
|
self.actionExportAsSVG.setIcon(icon24)
|
563
|
self.actionExportAsSVG.setObjectName("actionExportAsSVG")
|
564
|
self.actionExportAsXML = QtWidgets.QAction(MainWindow)
|
565
|
self.actionExportAsXML.setObjectName("actionExportAsXML")
|
566
|
self.actionExportAsImage = QtWidgets.QAction(MainWindow)
|
567
|
self.actionExportAsImage.setObjectName("actionExportAsImage")
|
568
|
self.actionEditRecognizeLine = QtWidgets.QAction(MainWindow)
|
569
|
self.actionEditRecognizeLine.setObjectName("actionEditRecognizeLine")
|
570
|
self.actionRecognizeTable = QtWidgets.QAction(MainWindow)
|
571
|
icon25 = QtGui.QIcon()
|
572
|
icon25.addPixmap(QtGui.QPixmap(":/newPrefix/table_ocr.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
573
|
self.actionRecognizeTable.setIcon(icon25)
|
574
|
self.actionRecognizeTable.setObjectName("actionRecognizeTable")
|
575
|
self.actionUndo = QtWidgets.QAction(MainWindow)
|
576
|
icon26 = QtGui.QIcon()
|
577
|
icon26.addPixmap(QtGui.QPixmap(":/newPrefix/undo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
578
|
self.actionUndo.setIcon(icon26)
|
579
|
self.actionUndo.setObjectName("actionUndo")
|
580
|
self.actionRedo = QtWidgets.QAction(MainWindow)
|
581
|
icon27 = QtGui.QIcon()
|
582
|
icon27.addPixmap(QtGui.QPixmap(":/newPrefix/redo.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
583
|
self.actionRedo.setIcon(icon27)
|
584
|
self.actionRedo.setObjectName("actionRedo")
|
585
|
self.actionSymbol_Replace_Insert = QtWidgets.QAction(MainWindow)
|
586
|
self.actionSymbol_Replace_Insert.setObjectName("actionSymbol_Replace_Insert")
|
587
|
self.actionMake_Label_Data = QtWidgets.QAction(MainWindow)
|
588
|
self.actionMake_Label_Data.setObjectName("actionMake_Label_Data")
|
589
|
self.actionRotateCCW = QtWidgets.QAction(MainWindow)
|
590
|
self.actionRotateCCW.setEnabled(False)
|
591
|
icon28 = QtGui.QIcon()
|
592
|
icon28.addPixmap(QtGui.QPixmap(":/newPrefix/Rotate_Minus.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
593
|
self.actionRotateCCW.setIcon(icon28)
|
594
|
self.actionRotateCCW.setObjectName("actionRotateCCW")
|
595
|
self.menuExport.addAction(self.actionExportAsSVG)
|
596
|
self.menuExport.addAction(self.actionExportAsXML)
|
597
|
self.menuExport.addAction(self.actionExportAsImage)
|
598
|
self.menu.addAction(self.actionOpen)
|
599
|
self.menu.addAction(self.actionArea)
|
600
|
self.menu.addAction(self.actionConfiguration)
|
601
|
self.menu.addAction(self.menuExport.menuAction())
|
602
|
self.menu.addSeparator()
|
603
|
self.menu.addAction(self.menuTheme.menuAction())
|
604
|
self.menu.addAction(self.menuLanguage.menuAction())
|
605
|
self.menu.addSeparator()
|
606
|
self.menu.addAction(self.actionClose)
|
607
|
self.menu_2.addAction(self.actionHMB_DATA)
|
608
|
self.menu_2.addAction(self.actionItem_Data_List)
|
609
|
self.menu_2.addAction(self.actionExportEqpDatasheet)
|
610
|
self.menu_2.addSeparator()
|
611
|
self.menu_2.addAction(self.actionSpecialItemTypes)
|
612
|
self.menu_2.addAction(self.actionOPCRelation)
|
613
|
self.menu_2.addSeparator()
|
614
|
self.menu_2.addAction(self.actionCodeTable)
|
615
|
self.menu_2.addAction(self.actionCustom_Code_Table)
|
616
|
self.menu_2.addSeparator()
|
617
|
self.menu_2.addAction(self.actionOCR_Training)
|
618
|
self.menu_2.addAction(self.actionSymbol_Training)
|
619
|
self.menu_2.addAction(self.actionMake_Label_Data)
|
620
|
self.menu_3.addAction(self.actionImage_Drawing)
|
621
|
self.menu_3.addAction(self.actionViewText)
|
622
|
self.menu_3.addAction(self.actionViewSymbol)
|
623
|
self.menu_3.addAction(self.actionViewLine)
|
624
|
self.menu_3.addSeparator()
|
625
|
self.menu_3.addAction(self.actionViewUnknown)
|
626
|
self.menu_3.addAction(self.actionViewInconsistency)
|
627
|
self.menu_3.addAction(self.actionViewVendor_Area)
|
628
|
self.menu_3.addSeparator()
|
629
|
self.menu_3.addAction(self.actionDrawing_Only)
|
630
|
self.menu_4.addAction(self.actionpdf_to_image)
|
631
|
self.menu_4.addAction(self.actionImport_Text_From_CAD)
|
632
|
self.menu_4.addAction(self.actionSymbol_Thickness_Reinforcement)
|
633
|
self.menu_4.addSeparator()
|
634
|
self.menu_4.addAction(self.actionDataTransfer)
|
635
|
self.menu_4.addAction(self.actionDataExport)
|
636
|
self.menu_5.addAction(self.actionFindReplaceText)
|
637
|
self.menu_5.addAction(self.actionText_Data_List)
|
638
|
self.menu_5.addSeparator()
|
639
|
self.menu_5.addAction(self.actionSymbol_Replace_Insert)
|
640
|
self.menu_5.addSeparator()
|
641
|
self.menu_5.addAction(self.actionEditRecognizeLine)
|
642
|
self.menu_5.addAction(self.actionRecognizeTable)
|
643
|
self.menuHelp.addAction(self.actionHelp)
|
644
|
self.menubar.addAction(self.menu.menuAction())
|
645
|
self.menubar.addAction(self.menu_5.menuAction())
|
646
|
self.menubar.addAction(self.menu_2.menuAction())
|
647
|
self.menubar.addAction(self.menu_3.menuAction())
|
648
|
self.menubar.addAction(self.menu_4.menuAction())
|
649
|
self.menubar.addAction(self.menuHelp.menuAction())
|
650
|
self.toolBar.addAction(self.actionOpen)
|
651
|
self.toolBar.addAction(self.actionSave)
|
652
|
self.toolBar.addAction(self.actionRecognition)
|
653
|
self.toolBar.addAction(self.actionLineRecognition)
|
654
|
self.toolBar.addAction(self.actionInitialize)
|
655
|
self.toolBar.addSeparator()
|
656
|
self.toolBar.addAction(self.actionUndo)
|
657
|
self.toolBar.addAction(self.actionRedo)
|
658
|
self.toolBar.addSeparator()
|
659
|
self.toolBar.addAction(self.actionLine)
|
660
|
self.toolBar.addAction(self.actionOCR)
|
661
|
self.toolBar.addAction(self.actionVendor)
|
662
|
self.toolBar.addAction(self.actionValidate)
|
663
|
self.toolBar.addSeparator()
|
664
|
self.toolBar.addAction(self.actionGenerateOutput)
|
665
|
self.EditToolbar.addAction(self.actionRotateCCW)
|
666
|
self.EditToolbar.addAction(self.actionRotate)
|
667
|
self.EditToolbar.addAction(self.actionZoom)
|
668
|
self.EditToolbar.addAction(self.actionFitWindow)
|
669
|
self.EditToolbar.addSeparator()
|
670
|
|
671
|
self.retranslateUi(MainWindow)
|
672
|
self.tabWidget.setCurrentIndex(0)
|
673
|
self.tabWidgetSymbolProperty.setCurrentIndex(0)
|
674
|
self.tabWidgetItemExplorer.setCurrentIndex(1)
|
675
|
self.tabWidget_2.setCurrentIndex(0)
|
676
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
677
|
|
678
|
def retranslateUi(self, MainWindow):
|
679
|
_translate = QtCore.QCoreApplication.translate
|
680
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
681
|
self.menu.setTitle(_translate("MainWindow", "File"))
|
682
|
self.menuTheme.setTitle(_translate("MainWindow", "Theme"))
|
683
|
self.menuLanguage.setTitle(_translate("MainWindow", "Language"))
|
684
|
self.menuExport.setTitle(_translate("MainWindow", "Export"))
|
685
|
self.menu_2.setTitle(_translate("MainWindow", "Data"))
|
686
|
self.menu_3.setTitle(_translate("MainWindow", "View"))
|
687
|
self.menu_4.setTitle(_translate("MainWindow", "Tool"))
|
688
|
self.menu_5.setTitle(_translate("MainWindow", "Edit"))
|
689
|
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
|
690
|
self.toolBar.setWindowTitle(_translate("MainWindow", "Main Toolbar"))
|
691
|
self.dockWidget.setWindowTitle(_translate("MainWindow", "Symbol Explorer"))
|
692
|
self.lineEditFilter.setPlaceholderText(_translate("MainWindow", "Search..."))
|
693
|
self.pushButtonCreateSymbol.setText(_translate("MainWindow", "Create"))
|
694
|
self.pushButtonDetectSymbol.setText(_translate("MainWindow", "Symbol Manager"))
|
695
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Symbol), _translate("MainWindow", "Symbol"))
|
696
|
self.tabWidgetSymbolProperty.setTabText(self.tabWidgetSymbolProperty.indexOf(self.tabLibrary), _translate("MainWindow", "Library"))
|
697
|
self.tabWidgetSymbolProperty.setTabText(self.tabWidgetSymbolProperty.indexOf(self.tabSymbolProperty), _translate("MainWindow", "Property"))
|
698
|
self.dockWidgetObjectExplorer.setWindowTitle(_translate("MainWindow", "Object Explorer"))
|
699
|
self.tabWidgetItemExplorer.setTabText(self.tabWidgetItemExplorer.indexOf(self.tabItemProperty), _translate("MainWindow", "Object Explorer"))
|
700
|
self.pushButtonRefreshDrawings.setText(_translate("MainWindow", "Refresh Drawing List"))
|
701
|
self.treeWidgetDrawingList.setSortingEnabled(True)
|
702
|
self.tabWidgetItemExplorer.setTabText(self.tabWidgetItemExplorer.indexOf(self.tabDrawingList), _translate("MainWindow", "Drawing List"))
|
703
|
self.EditToolbar.setWindowTitle(_translate("MainWindow", "Edit Toolbar"))
|
704
|
self.dockWidgetOutputWnd.setWindowTitle(_translate("MainWindow", "Output Window"))
|
705
|
self.pushButtonClearLog.setToolTip(_translate("MainWindow", "Clear"))
|
706
|
self.pushButtonClearLog.setText(_translate("MainWindow", "X"))
|
707
|
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tabTerminal), _translate("MainWindow", "Output"))
|
708
|
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tabInconsistency), _translate("MainWindow", "Inconsistency"))
|
709
|
self.actionOpen.setText(_translate("MainWindow", "Open"))
|
710
|
self.actionOpen.setToolTip(_translate("MainWindow", "Open(Ctrl + O)"))
|
711
|
self.actionOpen.setShortcut(_translate("MainWindow", "Ctrl+O"))
|
712
|
self.actionClose.setText(_translate("MainWindow", "Exit"))
|
713
|
self.actionRecognition.setText(_translate("MainWindow", "Recognize Eng. Info."))
|
714
|
self.actionRecognition.setToolTip(_translate("MainWindow", "Recognize Eng. Info."))
|
715
|
self.actionLine.setText(_translate("MainWindow", "Create Line"))
|
716
|
self.actionLine.setToolTip(_translate("MainWindow", "Create Line(L)"))
|
717
|
self.actionLine.setShortcut(_translate("MainWindow", "L"))
|
718
|
self.actionValidate.setText(_translate("MainWindow", "Validate"))
|
719
|
self.actionValidate.setToolTip(_translate("MainWindow", "Validate(V)"))
|
720
|
self.actionValidate.setShortcut(_translate("MainWindow", "V"))
|
721
|
self.actionConfiguration.setText(_translate("MainWindow", "Configuration"))
|
722
|
self.actionArea.setText(_translate("MainWindow", "Setup Area"))
|
723
|
self.actionOCR.setText(_translate("MainWindow", "OCR"))
|
724
|
self.actionOCR.setToolTip(_translate("MainWindow", "OCR(T)"))
|
725
|
self.actionOCR.setShortcut(_translate("MainWindow", "T"))
|
726
|
self.actionLineRecognition.setText(_translate("MainWindow", "Link Attribute"))
|
727
|
self.actionLineRecognition.setToolTip(_translate("MainWindow", "Link Attribute"))
|
728
|
self.actionGenerateOutput.setText(_translate("MainWindow", "Convert"))
|
729
|
self.actionEquipment_Data_List.setText(_translate("MainWindow", "Equipment Data List"))
|
730
|
self.actionItem_Data_List.setText(_translate("MainWindow", "Engineering Info. List"))
|
731
|
self.actionInstrument_Data_List.setText(_translate("MainWindow", "Instrument Data List"))
|
732
|
self.actionInitialize.setText(_translate("MainWindow", "Initialize"))
|
733
|
self.actionImage_Drawing.setText(_translate("MainWindow", "Image Drawing (1)"))
|
734
|
self.actionZoom.setText(_translate("MainWindow", "Zoom"))
|
735
|
self.actionZoom.setToolTip(_translate("MainWindow", "Zoom(Z)"))
|
736
|
self.actionZoom.setShortcut(_translate("MainWindow", "Z"))
|
737
|
self.actionFitWindow.setText(_translate("MainWindow", "FitWindow"))
|
738
|
self.actionViewSymbol.setText(_translate("MainWindow", "Symbol (3)"))
|
739
|
self.actionViewText.setText(_translate("MainWindow", "Text (2)"))
|
740
|
self.actionViewLine.setText(_translate("MainWindow", "Line (4)"))
|
741
|
self.actionViewUnknown.setText(_translate("MainWindow", "Unrecognization (5)"))
|
742
|
self.actionCodeTable.setText(_translate("MainWindow", "Code Table"))
|
743
|
self.actionFluid_Code.setText(_translate("MainWindow", "Fluid Code"))
|
744
|
self.actionpdf_to_image.setText(_translate("MainWindow", "Convert PDF"))
|
745
|
self.actionHMB_DATA.setText(_translate("MainWindow", "HMB Data"))
|
746
|
self.actionSave.setText(_translate("MainWindow", "Save"))
|
747
|
self.actionSave.setToolTip(_translate("MainWindow", "Save(Ctrl + S)"))
|
748
|
self.actionSave.setShortcut(_translate("MainWindow", "Ctrl+S"))
|
749
|
self.actionRotate.setText(_translate("MainWindow", "Rotate"))
|
750
|
self.actionRotate.setToolTip(_translate("MainWindow", "Rotate(R)"))
|
751
|
self.actionFindReplaceText.setText(_translate("MainWindow", "Text Find/Replace"))
|
752
|
self.actionFindReplaceText.setToolTip(_translate("MainWindow", "Fine/Replace"))
|
753
|
self.actionFindReplaceText.setShortcut(_translate("MainWindow", "Ctrl+F"))
|
754
|
self.actionReplaceText.setText(_translate("MainWindow", "Modify Text"))
|
755
|
self.actionOCR_Training.setText(_translate("MainWindow", "OCR Training"))
|
756
|
self.actionOCR_Training_Editor.setText(_translate("MainWindow", "OCR Training Editor"))
|
757
|
self.actioncoffee.setText(_translate("MainWindow", "coffee"))
|
758
|
self.actionEnglish.setText(_translate("MainWindow", "English"))
|
759
|
self.actionViewInconsistency.setText(_translate("MainWindow", "Inconsistency (6)"))
|
760
|
self.actionText_Data_List.setText(_translate("MainWindow", "Text Data List"))
|
761
|
self.actionDrawing_Only.setText(_translate("MainWindow", "Drawing Only ( ` )"))
|
762
|
self.actionVendor.setText(_translate("MainWindow", "Vendor"))
|
763
|
self.actionVendor.setToolTip(_translate("MainWindow", "Set Vendor Package"))
|
764
|
self.actionViewVendor_Area.setText(_translate("MainWindow", "Vendor Area(7)"))
|
765
|
self.actionImport_Text_From_CAD.setText(_translate("MainWindow", "Import Text From CAD"))
|
766
|
self.actionSpecialItemTypes.setText(_translate("MainWindow", "Special Item Types"))
|
767
|
self.actionSpecialItemTypes.setToolTip(_translate("MainWindow", "Special Item Types"))
|
768
|
self.actionDataTransfer.setText(_translate("MainWindow", "DataTransfer"))
|
769
|
self.actionDataTransfer.setToolTip(_translate("MainWindow", "Data Transfer"))
|
770
|
self.actionDataTransfer.setShortcut(_translate("MainWindow", "Ctrl+T, Ctrl+D"))
|
771
|
self.actionOPCRelation.setText(_translate("MainWindow", "OPCRelation"))
|
772
|
self.actionOPCRelation.setToolTip(_translate("MainWindow", "OPC Relation"))
|
773
|
self.actionHelp.setText(_translate("MainWindow", "Help"))
|
774
|
self.actionHelp.setToolTip(_translate("MainWindow", "Help"))
|
775
|
self.actionHelp.setShortcut(_translate("MainWindow", "F1"))
|
776
|
self.actionDataExport.setText(_translate("MainWindow", "DataExport"))
|
777
|
self.actionDataExport.setToolTip(_translate("MainWindow", "Data Export"))
|
778
|
self.actionDataExport.setShortcut(_translate("MainWindow", "Ctrl+T, Ctrl+E"))
|
779
|
self.actionSymbol_Thickness_Reinforcement.setText(_translate("MainWindow", "Symbol Thickness Reinforcement"))
|
780
|
self.actionExportEqpDatasheet.setText(_translate("MainWindow", "Export Eqp Datasheet"))
|
781
|
self.actionExportEqpDatasheet.setToolTip(_translate("MainWindow", "Export Equipment Datasheet"))
|
782
|
self.actionSymbol_Training.setText(_translate("MainWindow", "Symbol Training"))
|
783
|
self.actionCustom_Code_Table.setText(_translate("MainWindow", "Custom Code Table"))
|
784
|
self.actionExportAsSVG.setText(_translate("MainWindow", "SVG"))
|
785
|
self.actionExportAsXML.setText(_translate("MainWindow", "XML"))
|
786
|
self.actionExportAsImage.setText(_translate("MainWindow", "Image"))
|
787
|
self.actionEditRecognizeLine.setText(_translate("MainWindow", "Recognize Line"))
|
788
|
self.actionEditRecognizeLine.setToolTip(_translate("MainWindow", "Recognize Line"))
|
789
|
self.actionRecognizeTable.setText(_translate("MainWindow", "Recognize Table"))
|
790
|
self.actionRecognizeTable.setToolTip(_translate("MainWindow", "Recognize Table"))
|
791
|
self.actionRecognizeTable.setShortcut(_translate("MainWindow", "Alt+T"))
|
792
|
self.actionUndo.setText(_translate("MainWindow", "Undo"))
|
793
|
self.actionUndo.setToolTip(_translate("MainWindow", "Undo"))
|
794
|
self.actionRedo.setText(_translate("MainWindow", "Redo"))
|
795
|
self.actionRedo.setToolTip(_translate("MainWindow", "Redo"))
|
796
|
self.actionSymbol_Replace_Insert.setText(_translate("MainWindow", "Symbol Replace/Insert"))
|
797
|
self.actionMake_Label_Data.setText(_translate("MainWindow", "Make Label Data"))
|
798
|
self.actionRotateCCW.setText(_translate("MainWindow", "RotateCCW"))
|
799
|
self.actionRotateCCW.setToolTip(_translate("MainWindow", "Roate counter clockwise"))
|
800
|
import MainWindow_rc
|