00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 from PyQt4 import QtCore, QtGui
00011
00012 class Ui_Frame(object):
00013 def setupUi(self, Frame):
00014 Frame.setObjectName("Frame")
00015 Frame.resize(609, 289)
00016 Frame.setFrameShape(QtGui.QFrame.StyledPanel)
00017 Frame.setFrameShadow(QtGui.QFrame.Raised)
00018 self.start_button = QtGui.QPushButton(Frame)
00019 self.start_button.setGeometry(QtCore.QRect(20, 20, 161, 181))
00020 self.start_button.setStyleSheet("font: 16pt \"AlArabiya\";\n"
00021 "background-color: rgb(120, 255, 96);")
00022 self.start_button.setObjectName("start_button")
00023 self.kill_button = QtGui.QPushButton(Frame)
00024 self.kill_button.setGeometry(QtCore.QRect(210, 20, 161, 181))
00025 self.kill_button.setStyleSheet("background-color: rgb(255, 67, 67);\n"
00026 "font: 16pt \"AlArabiya\";")
00027 self.kill_button.setObjectName("kill_button")
00028 self.controller_combo = QtGui.QComboBox(Frame)
00029 self.controller_combo.setGeometry(QtCore.QRect(20, 230, 351, 31))
00030 self.controller_combo.setEditable(True)
00031 self.controller_combo.setObjectName("controller_combo")
00032 self.restart_button = QtGui.QPushButton(Frame)
00033 self.restart_button.setGeometry(QtCore.QRect(400, 20, 161, 181))
00034 self.restart_button.setStyleSheet("background-color: rgb(85, 170, 255);\n"
00035 "font: 16pt \"AlArabiya\";")
00036 self.restart_button.setObjectName("restart_button")
00037 self.arm_combo = QtGui.QComboBox(Frame)
00038 self.arm_combo.setGeometry(QtCore.QRect(400, 230, 161, 31))
00039 self.arm_combo.setObjectName("arm_combo")
00040 self.arm_combo.addItem("")
00041 self.arm_combo.addItem("")
00042
00043 self.retranslateUi(Frame)
00044 QtCore.QMetaObject.connectSlotsByName(Frame)
00045
00046 def retranslateUi(self, Frame):
00047 Frame.setWindowTitle(QtGui.QApplication.translate("Frame", "Frame", None, QtGui.QApplication.UnicodeUTF8))
00048 self.start_button.setText(QtGui.QApplication.translate("Frame", "Start", None, QtGui.QApplication.UnicodeUTF8))
00049 self.kill_button.setText(QtGui.QApplication.translate("Frame", "Kill", None, QtGui.QApplication.UnicodeUTF8))
00050 self.restart_button.setText(QtGui.QApplication.translate("Frame", "Restart", None, QtGui.QApplication.UnicodeUTF8))
00051 self.arm_combo.setItemText(0, QtGui.QApplication.translate("Frame", "right", None, QtGui.QApplication.UnicodeUTF8))
00052 self.arm_combo.setItemText(1, QtGui.QApplication.translate("Frame", "left", None, QtGui.QApplication.UnicodeUTF8))
00053