arm_cart_control_gui.py
Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 
00003 # Form implementation generated from reading ui file 'arm_cart_control_gui.ui'
00004 #
00005 # Created: Sat Feb 11 08:02:57 2012
00006 #      by: PyQt4 UI code generator 4.7.2
00007 #
00008 # WARNING! All changes made in this file will be lost!
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(702, 521)
00016         Frame.setFrameShape(QtGui.QFrame.StyledPanel)
00017         Frame.setFrameShadow(QtGui.QFrame.Raised)
00018         self.frame = QtGui.QComboBox(Frame)
00019         self.frame.setGeometry(QtCore.QRect(420, 430, 261, 31))
00020         self.frame.setEditable(True)
00021         self.frame.setObjectName("frame")
00022         self.label_2 = QtGui.QLabel(Frame)
00023         self.label_2.setGeometry(QtCore.QRect(330, 430, 71, 31))
00024         self.label_2.setStyleSheet("font: 16pt;")
00025         self.label_2.setObjectName("label_2")
00026         self.layoutWidget = QtGui.QWidget(Frame)
00027         self.layoutWidget.setGeometry(QtCore.QRect(360, 50, 321, 311))
00028         self.layoutWidget.setObjectName("layoutWidget")
00029         self.gridLayout = QtGui.QGridLayout(self.layoutWidget)
00030         self.gridLayout.setObjectName("gridLayout")
00031         self.rotate_x_pos = QtGui.QPushButton(self.layoutWidget)
00032         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00033         sizePolicy.setHorizontalStretch(0)
00034         sizePolicy.setVerticalStretch(0)
00035         sizePolicy.setHeightForWidth(self.rotate_x_pos.sizePolicy().hasHeightForWidth())
00036         self.rotate_x_pos.setSizePolicy(sizePolicy)
00037         self.rotate_x_pos.setBaseSize(QtCore.QSize(80, 80))
00038         self.rotate_x_pos.setStyleSheet("image: url(:/resources/roate_x_neg.png);\n"
00039 "background-image: url(:/resources/empty.png);")
00040         self.rotate_x_pos.setText("")
00041         self.rotate_x_pos.setObjectName("rotate_x_pos")
00042         self.gridLayout.addWidget(self.rotate_x_pos, 0, 0, 1, 1)
00043         self.rotate_y_pos = QtGui.QPushButton(self.layoutWidget)
00044         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00045         sizePolicy.setHorizontalStretch(0)
00046         sizePolicy.setVerticalStretch(0)
00047         sizePolicy.setHeightForWidth(self.rotate_y_pos.sizePolicy().hasHeightForWidth())
00048         self.rotate_y_pos.setSizePolicy(sizePolicy)
00049         self.rotate_y_pos.setBaseSize(QtCore.QSize(80, 80))
00050         self.rotate_y_pos.setStyleSheet("image: url(:/resources/rotate_y_pos.png);\n"
00051 "background-image: url(:/resources/empty.png);")
00052         self.rotate_y_pos.setText("")
00053         self.rotate_y_pos.setObjectName("rotate_y_pos")
00054         self.gridLayout.addWidget(self.rotate_y_pos, 0, 1, 1, 1)
00055         self.rotate_x_neg = QtGui.QPushButton(self.layoutWidget)
00056         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00057         sizePolicy.setHorizontalStretch(0)
00058         sizePolicy.setVerticalStretch(0)
00059         sizePolicy.setHeightForWidth(self.rotate_x_neg.sizePolicy().hasHeightForWidth())
00060         self.rotate_x_neg.setSizePolicy(sizePolicy)
00061         self.rotate_x_neg.setBaseSize(QtCore.QSize(80, 80))
00062         self.rotate_x_neg.setStyleSheet("image: url(:/resources/roate_x_pos.png);\n"
00063 "background-image: url(:/resources/empty.png);")
00064         self.rotate_x_neg.setText("")
00065         self.rotate_x_neg.setObjectName("rotate_x_neg")
00066         self.gridLayout.addWidget(self.rotate_x_neg, 0, 2, 1, 1)
00067         self.rotate_z_neg = QtGui.QPushButton(self.layoutWidget)
00068         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00069         sizePolicy.setHorizontalStretch(0)
00070         sizePolicy.setVerticalStretch(0)
00071         sizePolicy.setHeightForWidth(self.rotate_z_neg.sizePolicy().hasHeightForWidth())
00072         self.rotate_z_neg.setSizePolicy(sizePolicy)
00073         self.rotate_z_neg.setBaseSize(QtCore.QSize(80, 80))
00074         self.rotate_z_neg.setStyleSheet("image: url(:/resources/rotate_z_neg.png);\n"
00075 "background-image: url(:/resources/empty.png);")
00076         self.rotate_z_neg.setText("")
00077         self.rotate_z_neg.setObjectName("rotate_z_neg")
00078         self.gridLayout.addWidget(self.rotate_z_neg, 1, 0, 1, 1)
00079         self.rotate_z_pos = QtGui.QPushButton(self.layoutWidget)
00080         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00081         sizePolicy.setHorizontalStretch(0)
00082         sizePolicy.setVerticalStretch(0)
00083         sizePolicy.setHeightForWidth(self.rotate_z_pos.sizePolicy().hasHeightForWidth())
00084         self.rotate_z_pos.setSizePolicy(sizePolicy)
00085         self.rotate_z_pos.setBaseSize(QtCore.QSize(80, 80))
00086         self.rotate_z_pos.setStyleSheet("image: url(:/resources/rotate_z_pos.png);\n"
00087 "background-image: url(:/resources/empty.png);")
00088         self.rotate_z_pos.setText("")
00089         self.rotate_z_pos.setObjectName("rotate_z_pos")
00090         self.gridLayout.addWidget(self.rotate_z_pos, 1, 2, 1, 1)
00091         self.rotate_y_neg = QtGui.QPushButton(self.layoutWidget)
00092         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00093         sizePolicy.setHorizontalStretch(0)
00094         sizePolicy.setVerticalStretch(0)
00095         sizePolicy.setHeightForWidth(self.rotate_y_neg.sizePolicy().hasHeightForWidth())
00096         self.rotate_y_neg.setSizePolicy(sizePolicy)
00097         self.rotate_y_neg.setBaseSize(QtCore.QSize(80, 80))
00098         self.rotate_y_neg.setStyleSheet("image: url(:/resources/rotate_y_neg.png);\n"
00099 "background-image: url(:/resources/empty.png);")
00100         self.rotate_y_neg.setText("")
00101         self.rotate_y_neg.setObjectName("rotate_y_neg")
00102         self.gridLayout.addWidget(self.rotate_y_neg, 2, 1, 1, 1)
00103         self.label_3 = QtGui.QLabel(self.layoutWidget)
00104         self.label_3.setStyleSheet("background-image: url(:/resources/empty.png);\n"
00105 "image: url(:/resources/arm_gripper.png);")
00106         self.label_3.setText("")
00107         self.label_3.setObjectName("label_3")
00108         self.gridLayout.addWidget(self.label_3, 1, 1, 1, 1)
00109         self.layoutWidget1 = QtGui.QWidget(Frame)
00110         self.layoutWidget1.setGeometry(QtCore.QRect(20, 390, 271, 111))
00111         self.layoutWidget1.setObjectName("layoutWidget1")
00112         self.horizontalLayout = QtGui.QHBoxLayout(self.layoutWidget1)
00113         self.horizontalLayout.setObjectName("horizontalLayout")
00114         self.label = QtGui.QLabel(self.layoutWidget1)
00115         self.label.setStyleSheet("font: 20pt;")
00116         self.label.setObjectName("label")
00117         self.horizontalLayout.addWidget(self.label)
00118         self.arm_left = QtGui.QPushButton(self.layoutWidget1)
00119         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00120         sizePolicy.setHorizontalStretch(0)
00121         sizePolicy.setVerticalStretch(0)
00122         sizePolicy.setHeightForWidth(self.arm_left.sizePolicy().hasHeightForWidth())
00123         self.arm_left.setSizePolicy(sizePolicy)
00124         self.arm_left.setBaseSize(QtCore.QSize(80, 80))
00125         self.arm_left.setStyleSheet("image: url(:/resources/arm_left_off.png);\n"
00126 "background-image: url(:/resources/empty.png);")
00127         self.arm_left.setObjectName("arm_left")
00128         self.horizontalLayout.addWidget(self.arm_left)
00129         self.arm_right = QtGui.QPushButton(self.layoutWidget1)
00130         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00131         sizePolicy.setHorizontalStretch(0)
00132         sizePolicy.setVerticalStretch(0)
00133         sizePolicy.setHeightForWidth(self.arm_right.sizePolicy().hasHeightForWidth())
00134         self.arm_right.setSizePolicy(sizePolicy)
00135         self.arm_right.setBaseSize(QtCore.QSize(80, 80))
00136         self.arm_right.setStyleSheet("image: url(:/resources/arm_right_off.png);\n"
00137 "background-image: url(:/resources/empty.png);")
00138         self.arm_right.setObjectName("arm_right")
00139         self.horizontalLayout.addWidget(self.arm_right)
00140         self.label_5 = QtGui.QLabel(Frame)
00141         self.label_5.setGeometry(QtCore.QRect(470, 10, 151, 31))
00142         self.label_5.setStyleSheet("font: 20pt;")
00143         self.label_5.setObjectName("label_5")
00144         self.label_4 = QtGui.QLabel(Frame)
00145         self.label_4.setGeometry(QtCore.QRect(110, 10, 151, 31))
00146         self.label_4.setStyleSheet("font: 20pt;")
00147         self.label_4.setObjectName("label_4")
00148         self.layoutWidget_2 = QtGui.QWidget(Frame)
00149         self.layoutWidget_2.setGeometry(QtCore.QRect(20, 50, 321, 311))
00150         self.layoutWidget_2.setObjectName("layoutWidget_2")
00151         self.gridLayout_2 = QtGui.QGridLayout(self.layoutWidget_2)
00152         self.gridLayout_2.setObjectName("gridLayout_2")
00153         self.translate_out = QtGui.QPushButton(self.layoutWidget_2)
00154         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00155         sizePolicy.setHorizontalStretch(0)
00156         sizePolicy.setVerticalStretch(0)
00157         sizePolicy.setHeightForWidth(self.translate_out.sizePolicy().hasHeightForWidth())
00158         self.translate_out.setSizePolicy(sizePolicy)
00159         self.translate_out.setBaseSize(QtCore.QSize(80, 80))
00160         self.translate_out.setStyleSheet("image: url(:/resources/translate_out.png);\n"
00161 "background-image: url(:/resources/empty.png);")
00162         self.translate_out.setText("")
00163         self.translate_out.setObjectName("translate_out")
00164         self.gridLayout_2.addWidget(self.translate_out, 0, 0, 1, 1)
00165         self.translate_up = QtGui.QPushButton(self.layoutWidget_2)
00166         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00167         sizePolicy.setHorizontalStretch(0)
00168         sizePolicy.setVerticalStretch(0)
00169         sizePolicy.setHeightForWidth(self.translate_up.sizePolicy().hasHeightForWidth())
00170         self.translate_up.setSizePolicy(sizePolicy)
00171         self.translate_up.setBaseSize(QtCore.QSize(80, 80))
00172         self.translate_up.setStyleSheet("image: url(:/resources/translate_up.png);\n"
00173 "background-image: url(:/resources/empty.png);")
00174         self.translate_up.setText("")
00175         self.translate_up.setObjectName("translate_up")
00176         self.gridLayout_2.addWidget(self.translate_up, 0, 1, 1, 1)
00177         self.translate_in = QtGui.QPushButton(self.layoutWidget_2)
00178         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00179         sizePolicy.setHorizontalStretch(0)
00180         sizePolicy.setVerticalStretch(0)
00181         sizePolicy.setHeightForWidth(self.translate_in.sizePolicy().hasHeightForWidth())
00182         self.translate_in.setSizePolicy(sizePolicy)
00183         self.translate_in.setBaseSize(QtCore.QSize(80, 80))
00184         self.translate_in.setStyleSheet("image: url(:/resources/translate_in.png);\n"
00185 "background-image: url(:/resources/empty.png);")
00186         self.translate_in.setText("")
00187         self.translate_in.setObjectName("translate_in")
00188         self.gridLayout_2.addWidget(self.translate_in, 0, 2, 1, 1)
00189         self.translate_left = QtGui.QPushButton(self.layoutWidget_2)
00190         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00191         sizePolicy.setHorizontalStretch(0)
00192         sizePolicy.setVerticalStretch(0)
00193         sizePolicy.setHeightForWidth(self.translate_left.sizePolicy().hasHeightForWidth())
00194         self.translate_left.setSizePolicy(sizePolicy)
00195         self.translate_left.setBaseSize(QtCore.QSize(80, 80))
00196         self.translate_left.setStyleSheet("image: url(:/resources/translate_left.png);\n"
00197 "background-image: url(:/resources/empty.png);")
00198         self.translate_left.setText("")
00199         self.translate_left.setObjectName("translate_left")
00200         self.gridLayout_2.addWidget(self.translate_left, 1, 0, 1, 1)
00201         self.translate_right = QtGui.QPushButton(self.layoutWidget_2)
00202         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00203         sizePolicy.setHorizontalStretch(0)
00204         sizePolicy.setVerticalStretch(0)
00205         sizePolicy.setHeightForWidth(self.translate_right.sizePolicy().hasHeightForWidth())
00206         self.translate_right.setSizePolicy(sizePolicy)
00207         self.translate_right.setBaseSize(QtCore.QSize(80, 80))
00208         self.translate_right.setStyleSheet("image: url(:/resources/translate_right.png);\n"
00209 "background-image: url(:/resources/empty.png);")
00210         self.translate_right.setText("")
00211         self.translate_right.setObjectName("translate_right")
00212         self.gridLayout_2.addWidget(self.translate_right, 1, 2, 1, 1)
00213         self.translate_down = QtGui.QPushButton(self.layoutWidget_2)
00214         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00215         sizePolicy.setHorizontalStretch(0)
00216         sizePolicy.setVerticalStretch(0)
00217         sizePolicy.setHeightForWidth(self.translate_down.sizePolicy().hasHeightForWidth())
00218         self.translate_down.setSizePolicy(sizePolicy)
00219         self.translate_down.setBaseSize(QtCore.QSize(80, 80))
00220         self.translate_down.setStyleSheet("image: url(:/resources/translate_down.png);\n"
00221 "background-image: url(:/resources/empty.png);")
00222         self.translate_down.setText("")
00223         self.translate_down.setObjectName("translate_down")
00224         self.gridLayout_2.addWidget(self.translate_down, 2, 1, 1, 1)
00225 
00226         self.retranslateUi(Frame)
00227         QtCore.QMetaObject.connectSlotsByName(Frame)
00228 
00229     def retranslateUi(self, Frame):
00230         Frame.setWindowTitle(QtGui.QApplication.translate("Frame", "Frame", None, QtGui.QApplication.UnicodeUTF8))
00231         self.label_2.setText(QtGui.QApplication.translate("Frame", "Frame", None, QtGui.QApplication.UnicodeUTF8))
00232         self.label.setText(QtGui.QApplication.translate("Frame", "Arm", None, QtGui.QApplication.UnicodeUTF8))
00233         self.arm_left.setText(QtGui.QApplication.translate("Frame", "Left Arm", None, QtGui.QApplication.UnicodeUTF8))
00234         self.arm_right.setText(QtGui.QApplication.translate("Frame", "Right Arm", None, QtGui.QApplication.UnicodeUTF8))
00235         self.label_5.setText(QtGui.QApplication.translate("Frame", "Rotation", None, QtGui.QApplication.UnicodeUTF8))
00236         self.label_4.setText(QtGui.QApplication.translate("Frame", "Translation", None, QtGui.QApplication.UnicodeUTF8))
00237 
00238 import icons_rc


kelsey_sandbox
Author(s): kelsey
autogenerated on Wed Nov 27 2013 11:52:03