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(403, 274)
00016 Frame.setFrameShape(QtGui.QFrame.StyledPanel)
00017 Frame.setFrameShadow(QtGui.QFrame.Raised)
00018 self.stop_moving = QtGui.QPushButton(Frame)
00019 self.stop_moving.setEnabled(True)
00020 self.stop_moving.setGeometry(QtCore.QRect(30, 20, 141, 131))
00021 palette = QtGui.QPalette()
00022 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00023 brush.setStyle(QtCore.Qt.SolidPattern)
00024 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
00025 brush = QtGui.QBrush(QtGui.QColor(193, 193, 193))
00026 brush.setStyle(QtCore.Qt.SolidPattern)
00027 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
00028 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00029 brush.setStyle(QtCore.Qt.SolidPattern)
00030 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
00031 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00032 brush.setStyle(QtCore.Qt.SolidPattern)
00033 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush)
00034 brush = QtGui.QBrush(QtGui.QColor(197, 197, 197))
00035 brush.setStyle(QtCore.Qt.SolidPattern)
00036 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
00037 brush = QtGui.QBrush(QtGui.QColor(163, 163, 163))
00038 brush.setStyle(QtCore.Qt.SolidPattern)
00039 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
00040 brush = QtGui.QBrush(QtGui.QColor(255, 57, 252))
00041 brush.setStyle(QtCore.Qt.SolidPattern)
00042 palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
00043 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00044 brush.setStyle(QtCore.Qt.SolidPattern)
00045 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
00046 brush = QtGui.QBrush(QtGui.QColor(193, 193, 193))
00047 brush.setStyle(QtCore.Qt.SolidPattern)
00048 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
00049 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00050 brush.setStyle(QtCore.Qt.SolidPattern)
00051 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
00052 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00053 brush.setStyle(QtCore.Qt.SolidPattern)
00054 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush)
00055 brush = QtGui.QBrush(QtGui.QColor(197, 197, 197))
00056 brush.setStyle(QtCore.Qt.SolidPattern)
00057 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
00058 brush = QtGui.QBrush(QtGui.QColor(163, 163, 163))
00059 brush.setStyle(QtCore.Qt.SolidPattern)
00060 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
00061 brush = QtGui.QBrush(QtGui.QColor(255, 57, 252))
00062 brush.setStyle(QtCore.Qt.SolidPattern)
00063 palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Highlight, brush)
00064 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00065 brush.setStyle(QtCore.Qt.SolidPattern)
00066 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
00067 brush = QtGui.QBrush(QtGui.QColor(193, 193, 193))
00068 brush.setStyle(QtCore.Qt.SolidPattern)
00069 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
00070 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00071 brush.setStyle(QtCore.Qt.SolidPattern)
00072 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
00073 brush = QtGui.QBrush(QtGui.QColor(18, 33, 126))
00074 brush.setStyle(QtCore.Qt.SolidPattern)
00075 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush)
00076 brush = QtGui.QBrush(QtGui.QColor(163, 163, 163))
00077 brush.setStyle(QtCore.Qt.SolidPattern)
00078 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
00079 brush = QtGui.QBrush(QtGui.QColor(163, 163, 163))
00080 brush.setStyle(QtCore.Qt.SolidPattern)
00081 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
00082 brush = QtGui.QBrush(QtGui.QColor(255, 57, 252))
00083 brush.setStyle(QtCore.Qt.SolidPattern)
00084 palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
00085 self.stop_moving.setPalette(palette)
00086 self.stop_moving.setStyleSheet("font: 75 18pt \"AlArabiya\";\n"
00087 "selection-background-color: rgb(255, 57, 252);\n"
00088 "background-color: rgb(255, 0, 0);\n"
00089 "color: rgb(18, 33, 126);")
00090 self.stop_moving.setObjectName("stop_moving")
00091 self.find_ar_tag = QtGui.QPushButton(Frame)
00092 self.find_ar_tag.setGeometry(QtCore.QRect(190, 20, 181, 61))
00093 self.find_ar_tag.setStyleSheet("font: 75 18pt \"AlArabiya\";\n"
00094 "background-color: rgb(55, 168, 255);")
00095 self.find_ar_tag.setObjectName("find_ar_tag")
00096 self.begin_servoing = QtGui.QPushButton(Frame)
00097 self.begin_servoing.setGeometry(QtCore.QRect(190, 90, 181, 61))
00098 self.begin_servoing.setStyleSheet("font: 75 18pt \"AlArabiya\";\n"
00099 "background-color: rgb(34, 255, 78);")
00100 self.begin_servoing.setObjectName("begin_servoing")
00101 self.state_information = QtGui.QLabel(Frame)
00102 self.state_information.setGeometry(QtCore.QRect(30, 160, 341, 91))
00103 self.state_information.setStyleSheet("font: 16pt \"AlArabiya\";")
00104 self.state_information.setObjectName("state_information")
00105
00106 self.retranslateUi(Frame)
00107 QtCore.QMetaObject.connectSlotsByName(Frame)
00108
00109 def retranslateUi(self, Frame):
00110 Frame.setWindowTitle(QtGui.QApplication.translate("Frame", "Frame", None, QtGui.QApplication.UnicodeUTF8))
00111 self.stop_moving.setText(QtGui.QApplication.translate("Frame", "Stop\n"
00112 "Moving", None, QtGui.QApplication.UnicodeUTF8))
00113 self.find_ar_tag.setText(QtGui.QApplication.translate("Frame", "Find AR Tag", None, QtGui.QApplication.UnicodeUTF8))
00114 self.begin_servoing.setText(QtGui.QApplication.translate("Frame", "Begin Servoing", None, QtGui.QApplication.UnicodeUTF8))
00115 self.state_information.setText(QtGui.QApplication.translate("Frame", "State Information\n"
00116 "", None, QtGui.QApplication.UnicodeUTF8))
00117