-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_evaluator.py
91 lines (83 loc) · 4.26 KB
/
ui_evaluator.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'evaluate.ui'
#
# Created: Wed Apr 16 21:13:50 2014
# by: PyQt4 UI code generator 4.10.4
#
# 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_Evaluator(object):
def setupUi(self, Evaluator):
Evaluator.setObjectName(_fromUtf8("Evaluator"))
Evaluator.resize(666, 370)
self.horizontalLayout = QtGui.QHBoxLayout(Evaluator)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.fileList = QtGui.QListWidget(Evaluator)
self.fileList.setObjectName(_fromUtf8("fileList"))
item = QtGui.QListWidgetItem()
self.fileList.addItem(item)
self.horizontalLayout.addWidget(self.fileList)
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.addDirButton = QtGui.QPushButton(Evaluator)
self.addDirButton.setObjectName(_fromUtf8("addDirButton"))
self.verticalLayout.addWidget(self.addDirButton)
self.addButton = QtGui.QPushButton(Evaluator)
self.addButton.setObjectName(_fromUtf8("addButton"))
self.verticalLayout.addWidget(self.addButton)
self.line = QtGui.QFrame(Evaluator)
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName(_fromUtf8("line"))
self.verticalLayout.addWidget(self.line)
self.removeButton = QtGui.QPushButton(Evaluator)
self.removeButton.setObjectName(_fromUtf8("removeButton"))
self.verticalLayout.addWidget(self.removeButton)
self.clearButton = QtGui.QPushButton(Evaluator)
self.clearButton.setObjectName(_fromUtf8("clearButton"))
self.verticalLayout.addWidget(self.clearButton)
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.singleRadio = QtGui.QRadioButton(Evaluator)
self.singleRadio.setObjectName(_fromUtf8("singleRadio"))
self.verticalLayout_2.addWidget(self.singleRadio)
self.ratbotRadio = QtGui.QRadioButton(Evaluator)
self.ratbotRadio.setChecked(True)
self.ratbotRadio.setObjectName(_fromUtf8("ratbotRadio"))
self.verticalLayout_2.addWidget(self.ratbotRadio)
self.verticalLayout.addLayout(self.verticalLayout_2)
self.processButton = QtGui.QPushButton(Evaluator)
self.processButton.setEnabled(False)
self.processButton.setObjectName(_fromUtf8("processButton"))
self.verticalLayout.addWidget(self.processButton)
self.horizontalLayout.addLayout(self.verticalLayout)
self.retranslateUi(Evaluator)
QtCore.QMetaObject.connectSlotsByName(Evaluator)
def retranslateUi(self, Evaluator):
Evaluator.setWindowTitle(_translate("Evaluator", "Evaluator", None))
__sortingEnabled = self.fileList.isSortingEnabled()
self.fileList.setSortingEnabled(False)
item = self.fileList.item(0)
item.setText(_translate("Evaluator", "Add files...", None))
self.fileList.setSortingEnabled(__sortingEnabled)
self.addDirButton.setText(_translate("Evaluator", "Add directory", None))
self.addButton.setText(_translate("Evaluator", "Add files", None))
self.removeButton.setText(_translate("Evaluator", "Remove files", None))
self.clearButton.setText(_translate("Evaluator", "Clear list", None))
self.singleRadio.setText(_translate("Evaluator", "Single mode", None))
self.ratbotRadio.setText(_translate("Evaluator", "Rat/robot mode", None))
self.processButton.setText(_translate("Evaluator", "Process", None))