-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.py
417 lines (409 loc) · 24.7 KB
/
mainwindow.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt4 UI code generator 4.12.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(800, 600)
MainWindow.setMinimumSize(QtCore.QSize(800, 600))
MainWindow.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.horizontalLayout = QtGui.QHBoxLayout(self.centralwidget)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.tabMain = QtGui.QTabWidget(self.centralwidget)
self.tabMain.setEnabled(True)
self.tabMain.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.tabMain.setObjectName(_fromUtf8("tabMain"))
self.tabFix = QtGui.QWidget()
self.tabFix.setObjectName(_fromUtf8("tabFix"))
self.horizontalLayout_4 = QtGui.QHBoxLayout(self.tabFix)
self.horizontalLayout_4.setMargin(0)
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
self.gridLayout_2 = QtGui.QGridLayout()
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.lstFLists = QtGui.QListWidget(self.tabFix)
self.lstFLists.setMinimumSize(QtCore.QSize(175, 0))
self.lstFLists.setMaximumSize(QtCore.QSize(175, 16777215))
self.lstFLists.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
self.lstFLists.setObjectName(_fromUtf8("lstFLists"))
self.gridLayout_2.addWidget(self.lstFLists, 1, 1, 1, 1)
self.lblFLists = QtGui.QLabel(self.tabFix)
self.lblFLists.setMinimumSize(QtCore.QSize(175, 0))
self.lblFLists.setMaximumSize(QtCore.QSize(175, 16777215))
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.lblFLists.setFont(font)
self.lblFLists.setObjectName(_fromUtf8("lblFLists"))
self.gridLayout_2.addWidget(self.lblFLists, 0, 1, 1, 1)
self.btnFStart = QtGui.QPushButton(self.tabFix)
self.btnFStart.setEnabled(False)
self.btnFStart.setMinimumSize(QtCore.QSize(175, 0))
self.btnFStart.setMaximumSize(QtCore.QSize(175, 16777215))
self.btnFStart.setObjectName(_fromUtf8("btnFStart"))
self.gridLayout_2.addWidget(self.btnFStart, 2, 1, 1, 1)
self.lblFFileList = QtGui.QLabel(self.tabFix)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.lblFFileList.setFont(font)
self.lblFFileList.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.lblFFileList.setObjectName(_fromUtf8("lblFFileList"))
self.gridLayout_2.addWidget(self.lblFFileList, 0, 0, 1, 1)
self.tblFFileList = QtGui.QTableWidget(self.tabFix)
self.tblFFileList.setAcceptDrops(True)
self.tblFFileList.setDragEnabled(False)
self.tblFFileList.setAlternatingRowColors(True)
self.tblFFileList.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
self.tblFFileList.setObjectName(_fromUtf8("tblFFileList"))
self.tblFFileList.setColumnCount(0)
self.tblFFileList.setRowCount(0)
self.tblFFileList.horizontalHeader().setStretchLastSection(True)
self.gridLayout_2.addWidget(self.tblFFileList, 1, 0, 1, 1)
self.horizontalLayout_6 = QtGui.QHBoxLayout()
self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
self.btnFAddFiles = QtGui.QPushButton(self.tabFix)
self.btnFAddFiles.setObjectName(_fromUtf8("btnFAddFiles"))
self.horizontalLayout_6.addWidget(self.btnFAddFiles)
self.btnFAddFolder = QtGui.QPushButton(self.tabFix)
self.btnFAddFolder.setObjectName(_fromUtf8("btnFAddFolder"))
self.horizontalLayout_6.addWidget(self.btnFAddFolder)
self.btnFRemoveFiles = QtGui.QPushButton(self.tabFix)
self.btnFRemoveFiles.setEnabled(False)
self.btnFRemoveFiles.setObjectName(_fromUtf8("btnFRemoveFiles"))
self.horizontalLayout_6.addWidget(self.btnFRemoveFiles)
self.btnFClearList = QtGui.QPushButton(self.tabFix)
self.btnFClearList.setEnabled(False)
self.btnFClearList.setObjectName(_fromUtf8("btnFClearList"))
self.horizontalLayout_6.addWidget(self.btnFClearList)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_6.addItem(spacerItem)
self.gridLayout_2.addLayout(self.horizontalLayout_6, 2, 0, 1, 1)
self.horizontalLayout_4.addLayout(self.gridLayout_2)
self.tabMain.addTab(self.tabFix, _fromUtf8(""))
self.tabLists = QtGui.QWidget()
self.tabLists.setObjectName(_fromUtf8("tabLists"))
self.gridLayout_3 = QtGui.QGridLayout(self.tabLists)
self.gridLayout_3.setMargin(0)
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.btnLDeleteRow = QtGui.QPushButton(self.tabLists)
self.btnLDeleteRow.setEnabled(False)
self.btnLDeleteRow.setMinimumSize(QtCore.QSize(150, 0))
self.btnLDeleteRow.setObjectName(_fromUtf8("btnLDeleteRow"))
self.gridLayout.addWidget(self.btnLDeleteRow, 1, 1, 1, 1)
self.btnLUpdateRow = QtGui.QPushButton(self.tabLists)
self.btnLUpdateRow.setEnabled(False)
self.btnLUpdateRow.setMinimumSize(QtCore.QSize(150, 0))
self.btnLUpdateRow.setObjectName(_fromUtf8("btnLUpdateRow"))
self.gridLayout.addWidget(self.btnLUpdateRow, 1, 2, 1, 1)
self.btnLInsertRow = QtGui.QPushButton(self.tabLists)
self.btnLInsertRow.setEnabled(False)
self.btnLInsertRow.setMinimumSize(QtCore.QSize(150, 0))
self.btnLInsertRow.setObjectName(_fromUtf8("btnLInsertRow"))
self.gridLayout.addWidget(self.btnLInsertRow, 1, 0, 1, 1)
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem1, 1, 3, 1, 1)
self.tblLLists = QtGui.QTableWidget(self.tabLists)
self.tblLLists.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
self.tblLLists.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
self.tblLLists.setObjectName(_fromUtf8("tblLLists"))
self.tblLLists.setColumnCount(0)
self.tblLLists.setRowCount(0)
self.tblLLists.verticalHeader().setVisible(False)
self.gridLayout.addWidget(self.tblLLists, 0, 0, 1, 4)
self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 1, 1)
self.tabMain.addTab(self.tabLists, _fromUtf8(""))
self.tabCorrections = QtGui.QWidget()
self.tabCorrections.setObjectName(_fromUtf8("tabCorrections"))
self.gridLayout_4 = QtGui.QGridLayout(self.tabCorrections)
self.gridLayout_4.setMargin(0)
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
self.gridLayout_5 = QtGui.QGridLayout()
self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
self.btnCInsertRow = QtGui.QPushButton(self.tabCorrections)
self.btnCInsertRow.setEnabled(False)
self.btnCInsertRow.setMinimumSize(QtCore.QSize(150, 0))
self.btnCInsertRow.setMaximumSize(QtCore.QSize(150, 16777215))
self.btnCInsertRow.setObjectName(_fromUtf8("btnCInsertRow"))
self.gridLayout_5.addWidget(self.btnCInsertRow, 3, 0, 1, 1)
self.lblCList = QtGui.QLabel(self.tabCorrections)
self.lblCList.setMinimumSize(QtCore.QSize(150, 0))
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.lblCList.setFont(font)
self.lblCList.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.lblCList.setObjectName(_fromUtf8("lblCList"))
self.gridLayout_5.addWidget(self.lblCList, 0, 1, 1, 1)
self.cboCList = QtGui.QComboBox(self.tabCorrections)
self.cboCList.setMinimumSize(QtCore.QSize(150, 0))
self.cboCList.setMaximumSize(QtCore.QSize(150, 16777215))
self.cboCList.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.cboCList.setEditable(False)
self.cboCList.setObjectName(_fromUtf8("cboCList"))
self.gridLayout_5.addWidget(self.cboCList, 1, 1, 1, 1)
self.lblCorrectionsSelectMode = QtGui.QLabel(self.tabCorrections)
self.lblCorrectionsSelectMode.setMinimumSize(QtCore.QSize(150, 0))
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.lblCorrectionsSelectMode.setFont(font)
self.lblCorrectionsSelectMode.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.lblCorrectionsSelectMode.setObjectName(_fromUtf8("lblCorrectionsSelectMode"))
self.gridLayout_5.addWidget(self.lblCorrectionsSelectMode, 0, 0, 1, 1)
self.cboCCorrectionMode = QtGui.QComboBox(self.tabCorrections)
self.cboCCorrectionMode.setMinimumSize(QtCore.QSize(150, 0))
self.cboCCorrectionMode.setMaximumSize(QtCore.QSize(150, 16777215))
self.cboCCorrectionMode.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.cboCCorrectionMode.setObjectName(_fromUtf8("cboCCorrectionMode"))
self.cboCCorrectionMode.addItem(_fromUtf8(""))
self.cboCCorrectionMode.addItem(_fromUtf8(""))
self.cboCCorrectionMode.addItem(_fromUtf8(""))
self.cboCCorrectionMode.addItem(_fromUtf8(""))
self.gridLayout_5.addWidget(self.cboCCorrectionMode, 1, 0, 1, 1)
self.btnCUpdateRow = QtGui.QPushButton(self.tabCorrections)
self.btnCUpdateRow.setEnabled(False)
self.btnCUpdateRow.setMinimumSize(QtCore.QSize(150, 0))
self.btnCUpdateRow.setMaximumSize(QtCore.QSize(150, 16777215))
self.btnCUpdateRow.setObjectName(_fromUtf8("btnCUpdateRow"))
self.gridLayout_5.addWidget(self.btnCUpdateRow, 3, 2, 1, 1)
self.btnCDeleteRow = QtGui.QPushButton(self.tabCorrections)
self.btnCDeleteRow.setEnabled(False)
self.btnCDeleteRow.setMinimumSize(QtCore.QSize(150, 0))
self.btnCDeleteRow.setMaximumSize(QtCore.QSize(150, 16777215))
self.btnCDeleteRow.setObjectName(_fromUtf8("btnCDeleteRow"))
self.gridLayout_5.addWidget(self.btnCDeleteRow, 3, 1, 1, 1)
spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout_5.addItem(spacerItem2, 3, 3, 1, 1)
self.tblCCorrections = QtGui.QTableWidget(self.tabCorrections)
self.tblCCorrections.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
self.tblCCorrections.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
self.tblCCorrections.setObjectName(_fromUtf8("tblCCorrections"))
self.tblCCorrections.setColumnCount(0)
self.tblCCorrections.setRowCount(0)
self.tblCCorrections.horizontalHeader().setVisible(False)
self.tblCCorrections.verticalHeader().setVisible(False)
self.gridLayout_5.addWidget(self.tblCCorrections, 2, 0, 1, 4)
spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout_5.addItem(spacerItem3, 1, 3, 1, 1)
self.lblCSearch = QtGui.QLabel(self.tabCorrections)
self.lblCSearch.setMinimumSize(QtCore.QSize(150, 0))
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.lblCSearch.setFont(font)
self.lblCSearch.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.lblCSearch.setObjectName(_fromUtf8("lblCSearch"))
self.gridLayout_5.addWidget(self.lblCSearch, 0, 2, 1, 1)
self.txtCSearch = QtGui.QLineEdit(self.tabCorrections)
self.txtCSearch.setMaximumSize(QtCore.QSize(150, 16777215))
self.txtCSearch.setObjectName(_fromUtf8("txtCSearch"))
self.gridLayout_5.addWidget(self.txtCSearch, 1, 2, 1, 1)
self.gridLayout_4.addLayout(self.gridLayout_5, 0, 0, 1, 1)
self.tabMain.addTab(self.tabCorrections, _fromUtf8(""))
self.tabLog = QtGui.QWidget()
self.tabLog.setObjectName(_fromUtf8("tabLog"))
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tabLog)
self.horizontalLayout_2.setMargin(0)
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.gridLayout_6 = QtGui.QGridLayout()
self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout_6.addItem(spacerItem4, 1, 2, 1, 1)
self.chkLLogFixes = QtGui.QCheckBox(self.tabLog)
self.chkLLogFixes.setChecked(True)
self.chkLLogFixes.setObjectName(_fromUtf8("chkLLogFixes"))
self.gridLayout_6.addWidget(self.chkLLogFixes, 1, 1, 1, 1)
self.btnLClearLog = QtGui.QPushButton(self.tabLog)
self.btnLClearLog.setMinimumSize(QtCore.QSize(150, 0))
self.btnLClearLog.setObjectName(_fromUtf8("btnLClearLog"))
self.gridLayout_6.addWidget(self.btnLClearLog, 1, 3, 1, 1)
self.chkLLogFiles = QtGui.QCheckBox(self.tabLog)
self.chkLLogFiles.setChecked(True)
self.chkLLogFiles.setObjectName(_fromUtf8("chkLLogFiles"))
self.gridLayout_6.addWidget(self.chkLLogFiles, 1, 0, 1, 1)
self.lstLLog = QtGui.QListWidget(self.tabLog)
self.lstLLog.setObjectName(_fromUtf8("lstLLog"))
self.gridLayout_6.addWidget(self.lstLLog, 0, 0, 1, 4)
self.horizontalLayout_2.addLayout(self.gridLayout_6)
self.tabMain.addTab(self.tabLog, _fromUtf8(""))
self.tabSettings = QtGui.QWidget()
self.tabSettings.setObjectName(_fromUtf8("tabSettings"))
self.lblSFileEncoding = QtGui.QLabel(self.tabSettings)
self.lblSFileEncoding.setGeometry(QtCore.QRect(10, 10, 175, 16))
self.lblSFileEncoding.setMinimumSize(QtCore.QSize(175, 0))
self.lblSFileEncoding.setMaximumSize(QtCore.QSize(175, 16777215))
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.lblSFileEncoding.setFont(font)
self.lblSFileEncoding.setObjectName(_fromUtf8("lblSFileEncoding"))
self.cboSFileEncoding = QtGui.QComboBox(self.tabSettings)
self.cboSFileEncoding.setGeometry(QtCore.QRect(10, 30, 175, 22))
self.cboSFileEncoding.setMinimumSize(QtCore.QSize(175, 0))
self.cboSFileEncoding.setMaximumSize(QtCore.QSize(175, 16777215))
self.cboSFileEncoding.setObjectName(_fromUtf8("cboSFileEncoding"))
self.chkSRemoveEmpty = QtGui.QCheckBox(self.tabSettings)
self.chkSRemoveEmpty.setGeometry(QtCore.QRect(10, 70, 381, 16))
self.chkSRemoveEmpty.setChecked(True)
self.chkSRemoveEmpty.setObjectName(_fromUtf8("chkSRemoveEmpty"))
self.tabMain.addTab(self.tabSettings, _fromUtf8(""))
self.horizontalLayout.addWidget(self.tabMain)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 20))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.menuFile = QtGui.QMenu(self.menubar)
self.menuFile.setObjectName(_fromUtf8("menuFile"))
self.menuHelp = QtGui.QMenu(self.menubar)
self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
self.menuFix = QtGui.QMenu(self.menubar)
self.menuFix.setObjectName(_fromUtf8("menuFix"))
MainWindow.setMenuBar(self.menubar)
self.statusBar = QtGui.QStatusBar(MainWindow)
self.statusBar.setObjectName(_fromUtf8("statusBar"))
MainWindow.setStatusBar(self.statusBar)
self.toolBar = QtGui.QToolBar(MainWindow)
self.toolBar.setMovable(False)
self.toolBar.setObjectName(_fromUtf8("toolBar"))
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.actionQuit = QtGui.QAction(MainWindow)
self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
self.actionAbout = QtGui.QAction(MainWindow)
self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
self.actionOpenDatabase = QtGui.QAction(MainWindow)
self.actionOpenDatabase.setObjectName(_fromUtf8("actionOpenDatabase"))
self.actionNewDatabase = QtGui.QAction(MainWindow)
self.actionNewDatabase.setObjectName(_fromUtf8("actionNewDatabase"))
self.actionAddFiles = QtGui.QAction(MainWindow)
self.actionAddFiles.setObjectName(_fromUtf8("actionAddFiles"))
self.actionAddFolder = QtGui.QAction(MainWindow)
self.actionAddFolder.setObjectName(_fromUtf8("actionAddFolder"))
self.actionRemoveFiles = QtGui.QAction(MainWindow)
self.actionRemoveFiles.setEnabled(False)
self.actionRemoveFiles.setObjectName(_fromUtf8("actionRemoveFiles"))
self.actionClearList = QtGui.QAction(MainWindow)
self.actionClearList.setEnabled(False)
self.actionClearList.setObjectName(_fromUtf8("actionClearList"))
self.actionStart = QtGui.QAction(MainWindow)
self.actionStart.setEnabled(False)
self.actionStart.setObjectName(_fromUtf8("actionStart"))
self.menuFile.addAction(self.actionNewDatabase)
self.menuFile.addAction(self.actionOpenDatabase)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionQuit)
self.menuHelp.addAction(self.actionAbout)
self.menuFix.addAction(self.actionAddFiles)
self.menuFix.addAction(self.actionAddFolder)
self.menuFix.addAction(self.actionRemoveFiles)
self.menuFix.addAction(self.actionClearList)
self.menuFix.addSeparator()
self.menuFix.addAction(self.actionStart)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuFix.menuAction())
self.menubar.addAction(self.menuHelp.menuAction())
self.toolBar.addAction(self.actionNewDatabase)
self.toolBar.addAction(self.actionOpenDatabase)
self.toolBar.addAction(self.actionAddFiles)
self.toolBar.addAction(self.actionAddFolder)
self.toolBar.addAction(self.actionRemoveFiles)
self.toolBar.addAction(self.actionClearList)
self.toolBar.addAction(self.actionQuit)
self.retranslateUi(MainWindow)
self.tabMain.setCurrentIndex(0)
self.cboCCorrectionMode.setCurrentIndex(1)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
MainWindow.setTabOrder(self.tabMain, self.tblFFileList)
MainWindow.setTabOrder(self.tblFFileList, self.lstFLists)
MainWindow.setTabOrder(self.lstFLists, self.btnFAddFiles)
MainWindow.setTabOrder(self.btnFAddFiles, self.btnFAddFolder)
MainWindow.setTabOrder(self.btnFAddFolder, self.btnFRemoveFiles)
MainWindow.setTabOrder(self.btnFRemoveFiles, self.btnFClearList)
MainWindow.setTabOrder(self.btnFClearList, self.btnFStart)
MainWindow.setTabOrder(self.btnFStart, self.tblLLists)
MainWindow.setTabOrder(self.tblLLists, self.btnLInsertRow)
MainWindow.setTabOrder(self.btnLInsertRow, self.btnLDeleteRow)
MainWindow.setTabOrder(self.btnLDeleteRow, self.btnLUpdateRow)
MainWindow.setTabOrder(self.btnLUpdateRow, self.cboCCorrectionMode)
MainWindow.setTabOrder(self.cboCCorrectionMode, self.cboCList)
MainWindow.setTabOrder(self.cboCList, self.txtCSearch)
MainWindow.setTabOrder(self.txtCSearch, self.tblCCorrections)
MainWindow.setTabOrder(self.tblCCorrections, self.btnCInsertRow)
MainWindow.setTabOrder(self.btnCInsertRow, self.btnCDeleteRow)
MainWindow.setTabOrder(self.btnCDeleteRow, self.btnCUpdateRow)
MainWindow.setTabOrder(self.btnCUpdateRow, self.lstLLog)
MainWindow.setTabOrder(self.lstLLog, self.chkLLogFiles)
MainWindow.setTabOrder(self.chkLLogFiles, self.chkLLogFixes)
MainWindow.setTabOrder(self.chkLLogFixes, self.btnLClearLog)
MainWindow.setTabOrder(self.btnLClearLog, self.cboSFileEncoding)
MainWindow.setTabOrder(self.cboSFileEncoding, self.chkSRemoveEmpty)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "bwReplacer", None))
self.lblFLists.setText(_translate("MainWindow", "Lists", None))
self.btnFStart.setText(_translate("MainWindow", "Start", None))
self.lblFFileList.setText(_translate("MainWindow", "File list", None))
self.btnFAddFiles.setText(_translate("MainWindow", "Add files", None))
self.btnFAddFolder.setText(_translate("MainWindow", "Add folder", None))
self.btnFRemoveFiles.setText(_translate("MainWindow", "Remove files", None))
self.btnFClearList.setText(_translate("MainWindow", "Clear list", None))
self.tabMain.setTabText(self.tabMain.indexOf(self.tabFix), _translate("MainWindow", "Fix", None))
self.btnLDeleteRow.setText(_translate("MainWindow", "Delete row", None))
self.btnLUpdateRow.setText(_translate("MainWindow", "Update row", None))
self.btnLInsertRow.setText(_translate("MainWindow", "Insert row", None))
self.tabMain.setTabText(self.tabMain.indexOf(self.tabLists), _translate("MainWindow", "Lists", None))
self.btnCInsertRow.setText(_translate("MainWindow", "Insert row", None))
self.lblCList.setText(_translate("MainWindow", "List", None))
self.lblCorrectionsSelectMode.setText(_translate("MainWindow", "Mode", None))
self.cboCCorrectionMode.setItemText(0, _translate("MainWindow", "All", None))
self.cboCCorrectionMode.setItemText(1, _translate("MainWindow", "RegEx", None))
self.cboCCorrectionMode.setItemText(2, _translate("MainWindow", "Replace", None))
self.cboCCorrectionMode.setItemText(3, _translate("MainWindow", "Word", None))
self.btnCUpdateRow.setText(_translate("MainWindow", "Update row", None))
self.btnCDeleteRow.setText(_translate("MainWindow", "Delete row", None))
self.lblCSearch.setText(_translate("MainWindow", "Search", None))
self.tabMain.setTabText(self.tabMain.indexOf(self.tabCorrections), _translate("MainWindow", "Corrections", None))
self.chkLLogFixes.setText(_translate("MainWindow", "Log fixes", None))
self.btnLClearLog.setText(_translate("MainWindow", "Clear log", None))
self.chkLLogFiles.setText(_translate("MainWindow", "Log files", None))
self.tabMain.setTabText(self.tabMain.indexOf(self.tabLog), _translate("MainWindow", "Log", None))
self.lblSFileEncoding.setText(_translate("MainWindow", "File encoding", None))
self.chkSRemoveEmpty.setText(_translate("MainWindow", "Remove empty lines from EOF", None))
self.tabMain.setTabText(self.tabMain.indexOf(self.tabSettings), _translate("MainWindow", "Settings", None))
self.menuFile.setTitle(_translate("MainWindow", "File", None))
self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
self.menuFix.setTitle(_translate("MainWindow", "Fix", None))
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
self.actionQuit.setText(_translate("MainWindow", "Quit", None))
self.actionAbout.setText(_translate("MainWindow", "About...", None))
self.actionOpenDatabase.setText(_translate("MainWindow", "Open database", None))
self.actionNewDatabase.setText(_translate("MainWindow", "New database", None))
self.actionNewDatabase.setToolTip(_translate("MainWindow", "New database", None))
self.actionAddFiles.setText(_translate("MainWindow", "Add files", None))
self.actionAddFiles.setToolTip(_translate("MainWindow", "Add files", None))
self.actionAddFolder.setText(_translate("MainWindow", "Add folder", None))
self.actionAddFolder.setToolTip(_translate("MainWindow", "Add folder", None))
self.actionRemoveFiles.setText(_translate("MainWindow", "Remove files", None))
self.actionRemoveFiles.setToolTip(_translate("MainWindow", "Remove files", None))
self.actionClearList.setText(_translate("MainWindow", "Clear list", None))
self.actionClearList.setToolTip(_translate("MainWindow", "Clear list", None))
self.actionStart.setText(_translate("MainWindow", "Start", None))
self.actionStart.setToolTip(_translate("MainWindow", "Start", None))