# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'THz_GUI.ui' # # Created: Wed Sep 16 12:00:28 2015 # by: PyQt4 UI code generator 4.9.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.setEnabled(True) MainWindow.resize(1444, 685) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.AlternateBase, brush) brush = QtGui.QBrush(QtGui.QColor(69, 69, 69)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush) brush = QtGui.QBrush(QtGui.QColor(69, 69, 69)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.AlternateBase, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.AlternateBase, brush) MainWindow.setPalette(palette) self.centralwidget = QtGui.QWidget(MainWindow) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush) brush = QtGui.QBrush(QtGui.QColor(178, 178, 178)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Light, brush) brush = QtGui.QBrush(QtGui.QColor(70, 70, 70)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Dark, brush) brush = QtGui.QBrush(QtGui.QColor(160, 160, 164)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.ButtonText, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(151, 151, 151)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(69, 69, 69)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush) brush = QtGui.QBrush(QtGui.QColor(178, 178, 178)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Light, brush) brush = QtGui.QBrush(QtGui.QColor(70, 70, 70)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Dark, brush) brush = QtGui.QBrush(QtGui.QColor(160, 160, 164)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.ButtonText, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(151, 151, 151)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(70, 70, 70)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush) brush = QtGui.QBrush(QtGui.QColor(178, 178, 178)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Light, brush) brush = QtGui.QBrush(QtGui.QColor(70, 70, 70)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Dark, brush) brush = QtGui.QBrush(QtGui.QColor(160, 160, 164)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush) brush = QtGui.QBrush(QtGui.QColor(70, 70, 70)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(70, 70, 70)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.ButtonText, brush) brush = QtGui.QBrush(QtGui.QColor(151, 151, 151)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(151, 151, 151)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.centralwidget.setPalette(palette) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.horizontalLayoutWidget = QtGui.QWidget(self.centralwidget) self.horizontalLayoutWidget.setGeometry(QtCore.QRect(10, 10, 1421, 621)) self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget")) self.horizontalLayout_10 = QtGui.QHBoxLayout(self.horizontalLayoutWidget) self.horizontalLayout_10.setMargin(0) self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10")) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setContentsMargins(-1, -1, -1, 0) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.open_port_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.open_port_button.sizePolicy().hasHeightForWidth()) self.open_port_button.setSizePolicy(sizePolicy) self.open_port_button.setMinimumSize(QtCore.QSize(70, 25)) self.open_port_button.setMaximumSize(QtCore.QSize(70, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(224, 220, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(224, 220, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(224, 220, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.open_port_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.open_port_button.setFont(font) self.open_port_button.setObjectName(_fromUtf8("open_port_button")) self.horizontalLayout_3.addWidget(self.open_port_button) self.label_38 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_38.sizePolicy().hasHeightForWidth()) self.label_38.setSizePolicy(sizePolicy) self.label_38.setMinimumSize(QtCore.QSize(40, 25)) self.label_38.setMaximumSize(QtCore.QSize(40, 21)) self.label_38.setObjectName(_fromUtf8("label_38")) self.horizontalLayout_3.addWidget(self.label_38) self.serial_port_name_input_vac = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.serial_port_name_input_vac.sizePolicy().hasHeightForWidth()) self.serial_port_name_input_vac.setSizePolicy(sizePolicy) self.serial_port_name_input_vac.setMinimumSize(QtCore.QSize(0, 25)) self.serial_port_name_input_vac.setMaximumSize(QtCore.QSize(16777202, 25)) self.serial_port_name_input_vac.setObjectName(_fromUtf8("serial_port_name_input_vac")) self.horizontalLayout_3.addWidget(self.serial_port_name_input_vac) self.label_37 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_37.sizePolicy().hasHeightForWidth()) self.label_37.setSizePolicy(sizePolicy) self.label_37.setMinimumSize(QtCore.QSize(40, 25)) self.label_37.setMaximumSize(QtCore.QSize(40, 25)) self.label_37.setObjectName(_fromUtf8("label_37")) self.horizontalLayout_3.addWidget(self.label_37) self.serial_port_name_input_int = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.serial_port_name_input_int.sizePolicy().hasHeightForWidth()) self.serial_port_name_input_int.setSizePolicy(sizePolicy) self.serial_port_name_input_int.setMinimumSize(QtCore.QSize(0, 25)) self.serial_port_name_input_int.setMaximumSize(QtCore.QSize(16777215, 25)) self.serial_port_name_input_int.setObjectName(_fromUtf8("serial_port_name_input_int")) self.horizontalLayout_3.addWidget(self.serial_port_name_input_int) self.verticalLayout.addLayout(self.horizontalLayout_3) self.horizontalLayout_11 = QtGui.QHBoxLayout() self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11")) self.line_9 = QtGui.QFrame(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.line_9.sizePolicy().hasHeightForWidth()) self.line_9.setSizePolicy(sizePolicy) self.line_9.setMinimumSize(QtCore.QSize(80, 0)) self.line_9.setMaximumSize(QtCore.QSize(80, 16777215)) self.line_9.setFrameShape(QtGui.QFrame.HLine) self.line_9.setFrameShadow(QtGui.QFrame.Sunken) self.line_9.setObjectName(_fromUtf8("line_9")) self.horizontalLayout_11.addWidget(self.line_9) self.label = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(14) self.label.setFont(font) self.label.setFrameShape(QtGui.QFrame.Box) self.label.setFrameShadow(QtGui.QFrame.Plain) self.label.setLineWidth(1) self.label.setAlignment(QtCore.Qt.AlignCenter) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout_11.addWidget(self.label) self.line_8 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_8.setFrameShape(QtGui.QFrame.HLine) self.line_8.setFrameShadow(QtGui.QFrame.Sunken) self.line_8.setObjectName(_fromUtf8("line_8")) self.horizontalLayout_11.addWidget(self.line_8) self.verticalLayout.addLayout(self.horizontalLayout_11) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.label_2 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) self.label_2.setMinimumSize(QtCore.QSize(45, 25)) self.label_2.setMaximumSize(QtCore.QSize(45, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_2.setFont(font) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout_2.addWidget(self.label_2) self.home_mirror_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.home_mirror_button.sizePolicy().hasHeightForWidth()) self.home_mirror_button.setSizePolicy(sizePolicy) self.home_mirror_button.setMinimumSize(QtCore.QSize(80, 25)) self.home_mirror_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.home_mirror_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.home_mirror_button.setFont(font) self.home_mirror_button.setObjectName(_fromUtf8("home_mirror_button")) self.horizontalLayout_2.addWidget(self.home_mirror_button) self.move_mirror_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.move_mirror_button.sizePolicy().hasHeightForWidth()) self.move_mirror_button.setSizePolicy(sizePolicy) self.move_mirror_button.setMinimumSize(QtCore.QSize(80, 25)) self.move_mirror_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.move_mirror_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.move_mirror_button.setFont(font) self.move_mirror_button.setStatusTip(_fromUtf8("")) self.move_mirror_button.setAutoFillBackground(False) self.move_mirror_button.setCheckable(False) self.move_mirror_button.setFlat(False) self.move_mirror_button.setObjectName(_fromUtf8("move_mirror_button")) self.horizontalLayout_2.addWidget(self.move_mirror_button) self.move_mirror_to_pos = QtGui.QLineEdit(self.horizontalLayoutWidget) self.move_mirror_to_pos.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.move_mirror_to_pos.sizePolicy().hasHeightForWidth()) self.move_mirror_to_pos.setSizePolicy(sizePolicy) self.move_mirror_to_pos.setMinimumSize(QtCore.QSize(90, 25)) self.move_mirror_to_pos.setMaximumSize(QtCore.QSize(90, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(69, 69, 69)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.move_mirror_to_pos.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.move_mirror_to_pos.setFont(font) self.move_mirror_to_pos.setObjectName(_fromUtf8("move_mirror_to_pos")) self.horizontalLayout_2.addWidget(self.move_mirror_to_pos) self.line = QtGui.QFrame(self.horizontalLayoutWidget) self.line.setFrameShape(QtGui.QFrame.VLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.horizontalLayout_2.addWidget(self.line) self.label_7 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth()) self.label_7.setSizePolicy(sizePolicy) self.label_7.setMinimumSize(QtCore.QSize(40, 25)) self.label_7.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_7.setFont(font) self.label_7.setObjectName(_fromUtf8("label_7")) self.horizontalLayout_2.addWidget(self.label_7) self.interferometer_mirror_pos = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.interferometer_mirror_pos.sizePolicy().hasHeightForWidth()) self.interferometer_mirror_pos.setSizePolicy(sizePolicy) self.interferometer_mirror_pos.setMinimumSize(QtCore.QSize(90, 25)) self.interferometer_mirror_pos.setMaximumSize(QtCore.QSize(90, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(69, 69, 69)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.interferometer_mirror_pos.setPalette(palette) self.interferometer_mirror_pos.setFrameShape(QtGui.QFrame.Box) self.interferometer_mirror_pos.setText(_fromUtf8("")) self.interferometer_mirror_pos.setObjectName(_fromUtf8("interferometer_mirror_pos")) self.horizontalLayout_2.addWidget(self.interferometer_mirror_pos) self.label_10 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth()) self.label_10.setSizePolicy(sizePolicy) self.label_10.setMinimumSize(QtCore.QSize(40, 25)) self.label_10.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_10.setFont(font) self.label_10.setObjectName(_fromUtf8("label_10")) self.horizontalLayout_2.addWidget(self.label_10) self.interferometer_mirror_sts = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.interferometer_mirror_sts.sizePolicy().hasHeightForWidth()) self.interferometer_mirror_sts.setSizePolicy(sizePolicy) self.interferometer_mirror_sts.setMinimumSize(QtCore.QSize(90, 25)) self.interferometer_mirror_sts.setMaximumSize(QtCore.QSize(90, 25)) self.interferometer_mirror_sts.setFrameShape(QtGui.QFrame.Box) self.interferometer_mirror_sts.setText(_fromUtf8("")) self.interferometer_mirror_sts.setObjectName(_fromUtf8("interferometer_mirror_sts")) self.horizontalLayout_2.addWidget(self.interferometer_mirror_sts) self.move_mirror_stop_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.move_mirror_stop_button.sizePolicy().hasHeightForWidth()) self.move_mirror_stop_button.setSizePolicy(sizePolicy) self.move_mirror_stop_button.setMinimumSize(QtCore.QSize(80, 25)) self.move_mirror_stop_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.move_mirror_stop_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.move_mirror_stop_button.setFont(font) self.move_mirror_stop_button.setObjectName(_fromUtf8("move_mirror_stop_button")) self.horizontalLayout_2.addWidget(self.move_mirror_stop_button) self.disable_mirror_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.disable_mirror_button.sizePolicy().hasHeightForWidth()) self.disable_mirror_button.setSizePolicy(sizePolicy) self.disable_mirror_button.setMinimumSize(QtCore.QSize(80, 25)) self.disable_mirror_button.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.disable_mirror_button.setFont(font) self.disable_mirror_button.setObjectName(_fromUtf8("disable_mirror_button")) self.horizontalLayout_2.addWidget(self.disable_mirror_button) self.verticalLayout.addLayout(self.horizontalLayout_2) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label_3 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth()) self.label_3.setSizePolicy(sizePolicy) self.label_3.setMinimumSize(QtCore.QSize(45, 25)) self.label_3.setMaximumSize(QtCore.QSize(45, 21)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_3.setFont(font) self.label_3.setObjectName(_fromUtf8("label_3")) self.horizontalLayout.addWidget(self.label_3) self.home_detector_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.home_detector_button.sizePolicy().hasHeightForWidth()) self.home_detector_button.setSizePolicy(sizePolicy) self.home_detector_button.setMinimumSize(QtCore.QSize(80, 25)) self.home_detector_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.home_detector_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.home_detector_button.setFont(font) self.home_detector_button.setObjectName(_fromUtf8("home_detector_button")) self.horizontalLayout.addWidget(self.home_detector_button) self.move_detector_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.move_detector_button.sizePolicy().hasHeightForWidth()) self.move_detector_button.setSizePolicy(sizePolicy) self.move_detector_button.setMinimumSize(QtCore.QSize(80, 25)) self.move_detector_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.move_detector_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.move_detector_button.setFont(font) self.move_detector_button.setObjectName(_fromUtf8("move_detector_button")) self.horizontalLayout.addWidget(self.move_detector_button) self.move_detector_to_pos = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.move_detector_to_pos.sizePolicy().hasHeightForWidth()) self.move_detector_to_pos.setSizePolicy(sizePolicy) self.move_detector_to_pos.setMinimumSize(QtCore.QSize(90, 25)) self.move_detector_to_pos.setMaximumSize(QtCore.QSize(90, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(69, 69, 69)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.move_detector_to_pos.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.move_detector_to_pos.setFont(font) self.move_detector_to_pos.setObjectName(_fromUtf8("move_detector_to_pos")) self.horizontalLayout.addWidget(self.move_detector_to_pos) self.line_2 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_2.setFrameShape(QtGui.QFrame.VLine) self.line_2.setFrameShadow(QtGui.QFrame.Sunken) self.line_2.setObjectName(_fromUtf8("line_2")) self.horizontalLayout.addWidget(self.line_2) self.label_4 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth()) self.label_4.setSizePolicy(sizePolicy) self.label_4.setMinimumSize(QtCore.QSize(40, 25)) self.label_4.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.horizontalLayout.addWidget(self.label_4) self.detector_pos = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.detector_pos.sizePolicy().hasHeightForWidth()) self.detector_pos.setSizePolicy(sizePolicy) self.detector_pos.setMinimumSize(QtCore.QSize(90, 25)) self.detector_pos.setMaximumSize(QtCore.QSize(90, 25)) self.detector_pos.setFrameShape(QtGui.QFrame.Box) self.detector_pos.setText(_fromUtf8("")) self.detector_pos.setObjectName(_fromUtf8("detector_pos")) self.horizontalLayout.addWidget(self.detector_pos) self.label_11 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth()) self.label_11.setSizePolicy(sizePolicy) self.label_11.setMinimumSize(QtCore.QSize(40, 25)) self.label_11.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_11.setFont(font) self.label_11.setObjectName(_fromUtf8("label_11")) self.horizontalLayout.addWidget(self.label_11) self.detector_sts = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.detector_sts.sizePolicy().hasHeightForWidth()) self.detector_sts.setSizePolicy(sizePolicy) self.detector_sts.setMinimumSize(QtCore.QSize(90, 25)) self.detector_sts.setMaximumSize(QtCore.QSize(90, 25)) self.detector_sts.setFrameShape(QtGui.QFrame.Box) self.detector_sts.setText(_fromUtf8("")) self.detector_sts.setObjectName(_fromUtf8("detector_sts")) self.horizontalLayout.addWidget(self.detector_sts) self.move_detector_stop_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.move_detector_stop_button.sizePolicy().hasHeightForWidth()) self.move_detector_stop_button.setSizePolicy(sizePolicy) self.move_detector_stop_button.setMinimumSize(QtCore.QSize(80, 25)) self.move_detector_stop_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.move_detector_stop_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.move_detector_stop_button.setFont(font) self.move_detector_stop_button.setObjectName(_fromUtf8("move_detector_stop_button")) self.horizontalLayout.addWidget(self.move_detector_stop_button) self.disable_detector_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.disable_detector_button.sizePolicy().hasHeightForWidth()) self.disable_detector_button.setSizePolicy(sizePolicy) self.disable_detector_button.setMinimumSize(QtCore.QSize(80, 25)) self.disable_detector_button.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.disable_detector_button.setFont(font) self.disable_detector_button.setObjectName(_fromUtf8("disable_detector_button")) self.horizontalLayout.addWidget(self.disable_detector_button) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_12 = QtGui.QHBoxLayout() self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12")) self.line_10 = QtGui.QFrame(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.line_10.sizePolicy().hasHeightForWidth()) self.line_10.setSizePolicy(sizePolicy) self.line_10.setMinimumSize(QtCore.QSize(80, 0)) self.line_10.setMaximumSize(QtCore.QSize(80, 16777215)) self.line_10.setFrameShape(QtGui.QFrame.HLine) self.line_10.setFrameShadow(QtGui.QFrame.Sunken) self.line_10.setObjectName(_fromUtf8("line_10")) self.horizontalLayout_12.addWidget(self.line_10) self.label_12 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth()) self.label_12.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(14) font.setItalic(False) self.label_12.setFont(font) self.label_12.setFrameShape(QtGui.QFrame.Box) self.label_12.setAlignment(QtCore.Qt.AlignCenter) self.label_12.setObjectName(_fromUtf8("label_12")) self.horizontalLayout_12.addWidget(self.label_12) self.line_11 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_11.setFrameShape(QtGui.QFrame.HLine) self.line_11.setFrameShadow(QtGui.QFrame.Sunken) self.line_11.setObjectName(_fromUtf8("line_11")) self.horizontalLayout_12.addWidget(self.line_11) self.verticalLayout.addLayout(self.horizontalLayout_12) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.label_8 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth()) self.label_8.setSizePolicy(sizePolicy) self.label_8.setMinimumSize(QtCore.QSize(45, 25)) self.label_8.setMaximumSize(QtCore.QSize(45, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_8.setFont(font) self.label_8.setObjectName(_fromUtf8("label_8")) self.horizontalLayout_4.addWidget(self.label_8) self.pushButton_3 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth()) self.pushButton_3.setSizePolicy(sizePolicy) self.pushButton_3.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_3.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.pushButton_3.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_3.setFont(font) self.pushButton_3.setObjectName(_fromUtf8("pushButton_3")) self.horizontalLayout_4.addWidget(self.pushButton_3) self.pushButton_2 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth()) self.pushButton_2.setSizePolicy(sizePolicy) self.pushButton_2.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_2.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.pushButton_2.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_2.setFont(font) self.pushButton_2.setObjectName(_fromUtf8("pushButton_2")) self.horizontalLayout_4.addWidget(self.pushButton_2) self.lineEdit_4 = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lineEdit_4.sizePolicy().hasHeightForWidth()) self.lineEdit_4.setSizePolicy(sizePolicy) self.lineEdit_4.setMinimumSize(QtCore.QSize(90, 25)) self.lineEdit_4.setMaximumSize(QtCore.QSize(90, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.lineEdit_4.setPalette(palette) self.lineEdit_4.setObjectName(_fromUtf8("lineEdit_4")) self.horizontalLayout_4.addWidget(self.lineEdit_4) self.line_3 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_3.setFrameShape(QtGui.QFrame.VLine) self.line_3.setFrameShadow(QtGui.QFrame.Sunken) self.line_3.setObjectName(_fromUtf8("line_3")) self.horizontalLayout_4.addWidget(self.line_3) self.label_17 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_17.sizePolicy().hasHeightForWidth()) self.label_17.setSizePolicy(sizePolicy) self.label_17.setMinimumSize(QtCore.QSize(40, 25)) self.label_17.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_17.setFont(font) self.label_17.setObjectName(_fromUtf8("label_17")) self.horizontalLayout_4.addWidget(self.label_17) self.label_16 = QtGui.QLabel(self.horizontalLayoutWidget) self.label_16.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_16.sizePolicy().hasHeightForWidth()) self.label_16.setSizePolicy(sizePolicy) self.label_16.setMinimumSize(QtCore.QSize(90, 25)) self.label_16.setMaximumSize(QtCore.QSize(90, 25)) self.label_16.setFrameShape(QtGui.QFrame.Box) self.label_16.setText(_fromUtf8("")) self.label_16.setObjectName(_fromUtf8("label_16")) self.horizontalLayout_4.addWidget(self.label_16) self.label_18 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_18.sizePolicy().hasHeightForWidth()) self.label_18.setSizePolicy(sizePolicy) self.label_18.setMinimumSize(QtCore.QSize(40, 25)) self.label_18.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_18.setFont(font) self.label_18.setObjectName(_fromUtf8("label_18")) self.horizontalLayout_4.addWidget(self.label_18) self.label_19 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_19.sizePolicy().hasHeightForWidth()) self.label_19.setSizePolicy(sizePolicy) self.label_19.setMinimumSize(QtCore.QSize(90, 25)) self.label_19.setMaximumSize(QtCore.QSize(90, 25)) self.label_19.setFrameShape(QtGui.QFrame.Box) self.label_19.setText(_fromUtf8("")) self.label_19.setObjectName(_fromUtf8("label_19")) self.horizontalLayout_4.addWidget(self.label_19) self.rot_mir_stop_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rot_mir_stop_button.sizePolicy().hasHeightForWidth()) self.rot_mir_stop_button.setSizePolicy(sizePolicy) self.rot_mir_stop_button.setMinimumSize(QtCore.QSize(80, 25)) self.rot_mir_stop_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.rot_mir_stop_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.rot_mir_stop_button.setFont(font) self.rot_mir_stop_button.setObjectName(_fromUtf8("rot_mir_stop_button")) self.horizontalLayout_4.addWidget(self.rot_mir_stop_button) self.pushButton_15 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_15.sizePolicy().hasHeightForWidth()) self.pushButton_15.setSizePolicy(sizePolicy) self.pushButton_15.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_15.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_15.setFont(font) self.pushButton_15.setText(_fromUtf8("")) self.pushButton_15.setObjectName(_fromUtf8("pushButton_15")) self.horizontalLayout_4.addWidget(self.pushButton_15) self.verticalLayout.addLayout(self.horizontalLayout_4) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.label_29 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_29.sizePolicy().hasHeightForWidth()) self.label_29.setSizePolicy(sizePolicy) self.label_29.setMinimumSize(QtCore.QSize(45, 25)) self.label_29.setMaximumSize(QtCore.QSize(45, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_29.setFont(font) self.label_29.setObjectName(_fromUtf8("label_29")) self.horizontalLayout_8.addWidget(self.label_29) self.pushButton_11 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_11.sizePolicy().hasHeightForWidth()) self.pushButton_11.setSizePolicy(sizePolicy) self.pushButton_11.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_11.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.pushButton_11.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_11.setFont(font) self.pushButton_11.setObjectName(_fromUtf8("pushButton_11")) self.horizontalLayout_8.addWidget(self.pushButton_11) self.pushButton_10 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_10.sizePolicy().hasHeightForWidth()) self.pushButton_10.setSizePolicy(sizePolicy) self.pushButton_10.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_10.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.pushButton_10.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_10.setFont(font) self.pushButton_10.setObjectName(_fromUtf8("pushButton_10")) self.horizontalLayout_8.addWidget(self.pushButton_10) self.lineEdit_5 = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lineEdit_5.sizePolicy().hasHeightForWidth()) self.lineEdit_5.setSizePolicy(sizePolicy) self.lineEdit_5.setMinimumSize(QtCore.QSize(90, 25)) self.lineEdit_5.setMaximumSize(QtCore.QSize(90, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.lineEdit_5.setPalette(palette) self.lineEdit_5.setObjectName(_fromUtf8("lineEdit_5")) self.horizontalLayout_8.addWidget(self.lineEdit_5) self.line_4 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_4.setFrameShape(QtGui.QFrame.VLine) self.line_4.setFrameShadow(QtGui.QFrame.Sunken) self.line_4.setObjectName(_fromUtf8("line_4")) self.horizontalLayout_8.addWidget(self.line_4) self.label_20 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_20.sizePolicy().hasHeightForWidth()) self.label_20.setSizePolicy(sizePolicy) self.label_20.setMinimumSize(QtCore.QSize(40, 25)) self.label_20.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_20.setFont(font) self.label_20.setObjectName(_fromUtf8("label_20")) self.horizontalLayout_8.addWidget(self.label_20) self.label_21 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_21.sizePolicy().hasHeightForWidth()) self.label_21.setSizePolicy(sizePolicy) self.label_21.setMinimumSize(QtCore.QSize(90, 25)) self.label_21.setMaximumSize(QtCore.QSize(90, 25)) self.label_21.setFrameShape(QtGui.QFrame.Box) self.label_21.setText(_fromUtf8("")) self.label_21.setObjectName(_fromUtf8("label_21")) self.horizontalLayout_8.addWidget(self.label_21) self.label_22 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_22.sizePolicy().hasHeightForWidth()) self.label_22.setSizePolicy(sizePolicy) self.label_22.setMinimumSize(QtCore.QSize(40, 25)) self.label_22.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_22.setFont(font) self.label_22.setObjectName(_fromUtf8("label_22")) self.horizontalLayout_8.addWidget(self.label_22) self.label_23 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_23.sizePolicy().hasHeightForWidth()) self.label_23.setSizePolicy(sizePolicy) self.label_23.setMinimumSize(QtCore.QSize(90, 25)) self.label_23.setMaximumSize(QtCore.QSize(90, 25)) self.label_23.setFrameShape(QtGui.QFrame.Box) self.label_23.setText(_fromUtf8("")) self.label_23.setObjectName(_fromUtf8("label_23")) self.horizontalLayout_8.addWidget(self.label_23) self.rot_tar_stop_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rot_tar_stop_button.sizePolicy().hasHeightForWidth()) self.rot_tar_stop_button.setSizePolicy(sizePolicy) self.rot_tar_stop_button.setMinimumSize(QtCore.QSize(80, 25)) self.rot_tar_stop_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.rot_tar_stop_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.rot_tar_stop_button.setFont(font) self.rot_tar_stop_button.setObjectName(_fromUtf8("rot_tar_stop_button")) self.horizontalLayout_8.addWidget(self.rot_tar_stop_button) self.pushButton_16 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_16.sizePolicy().hasHeightForWidth()) self.pushButton_16.setSizePolicy(sizePolicy) self.pushButton_16.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_16.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_16.setFont(font) self.pushButton_16.setText(_fromUtf8("")) self.pushButton_16.setObjectName(_fromUtf8("pushButton_16")) self.horizontalLayout_8.addWidget(self.pushButton_16) self.verticalLayout.addLayout(self.horizontalLayout_8) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_30 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_30.sizePolicy().hasHeightForWidth()) self.label_30.setSizePolicy(sizePolicy) self.label_30.setMinimumSize(QtCore.QSize(45, 25)) self.label_30.setMaximumSize(QtCore.QSize(45, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_30.setFont(font) self.label_30.setObjectName(_fromUtf8("label_30")) self.horizontalLayout_7.addWidget(self.label_30) self.pushButton_6 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_6.sizePolicy().hasHeightForWidth()) self.pushButton_6.setSizePolicy(sizePolicy) self.pushButton_6.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_6.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.pushButton_6.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_6.setFont(font) self.pushButton_6.setObjectName(_fromUtf8("pushButton_6")) self.horizontalLayout_7.addWidget(self.pushButton_6) self.pushButton_4 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_4.sizePolicy().hasHeightForWidth()) self.pushButton_4.setSizePolicy(sizePolicy) self.pushButton_4.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_4.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.pushButton_4.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_4.setFont(font) self.pushButton_4.setObjectName(_fromUtf8("pushButton_4")) self.horizontalLayout_7.addWidget(self.pushButton_4) self.lineEdit = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth()) self.lineEdit.setSizePolicy(sizePolicy) self.lineEdit.setMinimumSize(QtCore.QSize(90, 25)) self.lineEdit.setMaximumSize(QtCore.QSize(90, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.lineEdit.setPalette(palette) self.lineEdit.setObjectName(_fromUtf8("lineEdit")) self.horizontalLayout_7.addWidget(self.lineEdit) self.line_5 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_5.setFrameShape(QtGui.QFrame.VLine) self.line_5.setFrameShadow(QtGui.QFrame.Sunken) self.line_5.setObjectName(_fromUtf8("line_5")) self.horizontalLayout_7.addWidget(self.line_5) self.label_5 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth()) self.label_5.setSizePolicy(sizePolicy) self.label_5.setMinimumSize(QtCore.QSize(40, 25)) self.label_5.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_5.setFont(font) self.label_5.setObjectName(_fromUtf8("label_5")) self.horizontalLayout_7.addWidget(self.label_5) self.label_24 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_24.sizePolicy().hasHeightForWidth()) self.label_24.setSizePolicy(sizePolicy) self.label_24.setMinimumSize(QtCore.QSize(90, 25)) self.label_24.setMaximumSize(QtCore.QSize(90, 25)) self.label_24.setFrameShape(QtGui.QFrame.Box) self.label_24.setText(_fromUtf8("")) self.label_24.setObjectName(_fromUtf8("label_24")) self.horizontalLayout_7.addWidget(self.label_24) self.label_9 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth()) self.label_9.setSizePolicy(sizePolicy) self.label_9.setMinimumSize(QtCore.QSize(40, 25)) self.label_9.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_9.setFont(font) self.label_9.setObjectName(_fromUtf8("label_9")) self.horizontalLayout_7.addWidget(self.label_9) self.label_25 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_25.sizePolicy().hasHeightForWidth()) self.label_25.setSizePolicy(sizePolicy) self.label_25.setMinimumSize(QtCore.QSize(90, 25)) self.label_25.setMaximumSize(QtCore.QSize(90, 25)) self.label_25.setFrameShape(QtGui.QFrame.Box) self.label_25.setText(_fromUtf8("")) self.label_25.setObjectName(_fromUtf8("label_25")) self.horizontalLayout_7.addWidget(self.label_25) self.lin_ver_stop_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lin_ver_stop_button.sizePolicy().hasHeightForWidth()) self.lin_ver_stop_button.setSizePolicy(sizePolicy) self.lin_ver_stop_button.setMinimumSize(QtCore.QSize(80, 25)) self.lin_ver_stop_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.lin_ver_stop_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.lin_ver_stop_button.setFont(font) self.lin_ver_stop_button.setObjectName(_fromUtf8("lin_ver_stop_button")) self.horizontalLayout_7.addWidget(self.lin_ver_stop_button) self.pushButton_5 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_5.sizePolicy().hasHeightForWidth()) self.pushButton_5.setSizePolicy(sizePolicy) self.pushButton_5.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_5.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_5.setFont(font) self.pushButton_5.setText(_fromUtf8("")) self.pushButton_5.setObjectName(_fromUtf8("pushButton_5")) self.horizontalLayout_7.addWidget(self.pushButton_5) self.verticalLayout.addLayout(self.horizontalLayout_7) self.horizontalLayout_9 = QtGui.QHBoxLayout() self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9")) self.label_31 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_31.sizePolicy().hasHeightForWidth()) self.label_31.setSizePolicy(sizePolicy) self.label_31.setMinimumSize(QtCore.QSize(45, 25)) self.label_31.setMaximumSize(QtCore.QSize(45, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_31.setFont(font) self.label_31.setObjectName(_fromUtf8("label_31")) self.horizontalLayout_9.addWidget(self.label_31) self.lin_hor_home_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lin_hor_home_button.sizePolicy().hasHeightForWidth()) self.lin_hor_home_button.setSizePolicy(sizePolicy) self.lin_hor_home_button.setMinimumSize(QtCore.QSize(80, 25)) self.lin_hor_home_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(42, 236, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.lin_hor_home_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.lin_hor_home_button.setFont(font) self.lin_hor_home_button.setObjectName(_fromUtf8("lin_hor_home_button")) self.horizontalLayout_9.addWidget(self.lin_hor_home_button) self.lin_hor_move_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lin_hor_move_button.sizePolicy().hasHeightForWidth()) self.lin_hor_move_button.setSizePolicy(sizePolicy) self.lin_hor_move_button.setMinimumSize(QtCore.QSize(80, 25)) self.lin_hor_move_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(236, 92, 223)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.lin_hor_move_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.lin_hor_move_button.setFont(font) self.lin_hor_move_button.setObjectName(_fromUtf8("lin_hor_move_button")) self.horizontalLayout_9.addWidget(self.lin_hor_move_button) self.lin_hor_pos_input = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lin_hor_pos_input.sizePolicy().hasHeightForWidth()) self.lin_hor_pos_input.setSizePolicy(sizePolicy) self.lin_hor_pos_input.setMinimumSize(QtCore.QSize(90, 25)) self.lin_hor_pos_input.setMaximumSize(QtCore.QSize(90, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(146, 146, 146)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(165, 165, 165)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) self.lin_hor_pos_input.setPalette(palette) self.lin_hor_pos_input.setObjectName(_fromUtf8("lin_hor_pos_input")) self.horizontalLayout_9.addWidget(self.lin_hor_pos_input) self.line_6 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_6.setFrameShape(QtGui.QFrame.VLine) self.line_6.setFrameShadow(QtGui.QFrame.Sunken) self.line_6.setObjectName(_fromUtf8("line_6")) self.horizontalLayout_9.addWidget(self.line_6) self.label_6 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth()) self.label_6.setSizePolicy(sizePolicy) self.label_6.setMinimumSize(QtCore.QSize(40, 25)) self.label_6.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_6.setFont(font) self.label_6.setObjectName(_fromUtf8("label_6")) self.horizontalLayout_9.addWidget(self.label_6) self.lin_hor_pos = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lin_hor_pos.sizePolicy().hasHeightForWidth()) self.lin_hor_pos.setSizePolicy(sizePolicy) self.lin_hor_pos.setMinimumSize(QtCore.QSize(90, 25)) self.lin_hor_pos.setMaximumSize(QtCore.QSize(90, 25)) self.lin_hor_pos.setFrameShape(QtGui.QFrame.Box) self.lin_hor_pos.setText(_fromUtf8("")) self.lin_hor_pos.setObjectName(_fromUtf8("lin_hor_pos")) self.horizontalLayout_9.addWidget(self.lin_hor_pos) self.label_27 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_27.sizePolicy().hasHeightForWidth()) self.label_27.setSizePolicy(sizePolicy) self.label_27.setMinimumSize(QtCore.QSize(40, 25)) self.label_27.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_27.setFont(font) self.label_27.setObjectName(_fromUtf8("label_27")) self.horizontalLayout_9.addWidget(self.label_27) self.lin_hor_sts = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lin_hor_sts.sizePolicy().hasHeightForWidth()) self.lin_hor_sts.setSizePolicy(sizePolicy) self.lin_hor_sts.setMinimumSize(QtCore.QSize(90, 25)) self.lin_hor_sts.setMaximumSize(QtCore.QSize(90, 25)) self.lin_hor_sts.setFrameShape(QtGui.QFrame.Box) self.lin_hor_sts.setText(_fromUtf8("")) self.lin_hor_sts.setObjectName(_fromUtf8("lin_hor_sts")) self.horizontalLayout_9.addWidget(self.lin_hor_sts) self.lin_hor_stop_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lin_hor_stop_button.sizePolicy().hasHeightForWidth()) self.lin_hor_stop_button.setSizePolicy(sizePolicy) self.lin_hor_stop_button.setMinimumSize(QtCore.QSize(80, 25)) self.lin_hor_stop_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(255, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.lin_hor_stop_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.lin_hor_stop_button.setFont(font) self.lin_hor_stop_button.setObjectName(_fromUtf8("lin_hor_stop_button")) self.horizontalLayout_9.addWidget(self.lin_hor_stop_button) self.pushButton_17 = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_17.sizePolicy().hasHeightForWidth()) self.pushButton_17.setSizePolicy(sizePolicy) self.pushButton_17.setMinimumSize(QtCore.QSize(80, 25)) self.pushButton_17.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.pushButton_17.setFont(font) self.pushButton_17.setText(_fromUtf8("")) self.pushButton_17.setObjectName(_fromUtf8("pushButton_17")) self.horizontalLayout_9.addWidget(self.pushButton_17) self.verticalLayout.addLayout(self.horizontalLayout_9) self.horizontalLayout_13 = QtGui.QHBoxLayout() self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13")) self.line_12 = QtGui.QFrame(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.line_12.sizePolicy().hasHeightForWidth()) self.line_12.setSizePolicy(sizePolicy) self.line_12.setMinimumSize(QtCore.QSize(80, 0)) self.line_12.setMaximumSize(QtCore.QSize(80, 16777215)) self.line_12.setFrameShape(QtGui.QFrame.HLine) self.line_12.setFrameShadow(QtGui.QFrame.Sunken) self.line_12.setObjectName(_fromUtf8("line_12")) self.horizontalLayout_13.addWidget(self.line_12) self.label_40 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_40.sizePolicy().hasHeightForWidth()) self.label_40.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(14) self.label_40.setFont(font) self.label_40.setFrameShape(QtGui.QFrame.Box) self.label_40.setFrameShadow(QtGui.QFrame.Plain) self.label_40.setLineWidth(1) self.label_40.setAlignment(QtCore.Qt.AlignCenter) self.label_40.setObjectName(_fromUtf8("label_40")) self.horizontalLayout_13.addWidget(self.label_40) self.line_13 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_13.setFrameShape(QtGui.QFrame.HLine) self.line_13.setFrameShadow(QtGui.QFrame.Sunken) self.line_13.setObjectName(_fromUtf8("line_13")) self.horizontalLayout_13.addWidget(self.line_13) self.verticalLayout.addLayout(self.horizontalLayout_13) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.open_scope_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.open_scope_button.sizePolicy().hasHeightForWidth()) self.open_scope_button.setSizePolicy(sizePolicy) self.open_scope_button.setMinimumSize(QtCore.QSize(80, 25)) self.open_scope_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(224, 220, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(224, 220, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(224, 220, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.open_scope_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.open_scope_button.setFont(font) self.open_scope_button.setObjectName(_fromUtf8("open_scope_button")) self.horizontalLayout_5.addWidget(self.open_scope_button) self.close_scope_button = QtGui.QPushButton(self.horizontalLayoutWidget) self.close_scope_button.setMinimumSize(QtCore.QSize(80, 25)) self.close_scope_button.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.close_scope_button.setFont(font) self.close_scope_button.setObjectName(_fromUtf8("close_scope_button")) self.horizontalLayout_5.addWidget(self.close_scope_button) self.label_14 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_14.sizePolicy().hasHeightForWidth()) self.label_14.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_14.setFont(font) self.label_14.setObjectName(_fromUtf8("label_14")) self.horizontalLayout_5.addWidget(self.label_14) self.trig_lvl_input = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.trig_lvl_input.sizePolicy().hasHeightForWidth()) self.trig_lvl_input.setSizePolicy(sizePolicy) self.trig_lvl_input.setMinimumSize(QtCore.QSize(90, 25)) self.trig_lvl_input.setMaximumSize(QtCore.QSize(90, 25)) self.trig_lvl_input.setObjectName(_fromUtf8("trig_lvl_input")) self.horizontalLayout_5.addWidget(self.trig_lvl_input) self.label_15 = QtGui.QLabel(self.horizontalLayoutWidget) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_15.setFont(font) self.label_15.setObjectName(_fromUtf8("label_15")) self.horizontalLayout_5.addWidget(self.label_15) self.rate_input = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rate_input.sizePolicy().hasHeightForWidth()) self.rate_input.setSizePolicy(sizePolicy) self.rate_input.setMinimumSize(QtCore.QSize(90, 25)) self.rate_input.setSizeIncrement(QtCore.QSize(90, 25)) self.rate_input.setObjectName(_fromUtf8("rate_input")) self.horizontalLayout_5.addWidget(self.rate_input) self.label_32 = QtGui.QLabel(self.horizontalLayoutWidget) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_32.setFont(font) self.label_32.setObjectName(_fromUtf8("label_32")) self.horizontalLayout_5.addWidget(self.label_32) self.acq_time_input = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.acq_time_input.sizePolicy().hasHeightForWidth()) self.acq_time_input.setSizePolicy(sizePolicy) self.acq_time_input.setMinimumSize(QtCore.QSize(90, 25)) self.acq_time_input.setObjectName(_fromUtf8("acq_time_input")) self.horizontalLayout_5.addWidget(self.acq_time_input) self.acquire_trace_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.acquire_trace_button.sizePolicy().hasHeightForWidth()) self.acquire_trace_button.setSizePolicy(sizePolicy) self.acquire_trace_button.setMinimumSize(QtCore.QSize(80, 25)) self.acquire_trace_button.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.acquire_trace_button.setFont(font) self.acquire_trace_button.setObjectName(_fromUtf8("acquire_trace_button")) self.horizontalLayout_5.addWidget(self.acquire_trace_button) self.save_single_shot_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.save_single_shot_button.sizePolicy().hasHeightForWidth()) self.save_single_shot_button.setSizePolicy(sizePolicy) self.save_single_shot_button.setMinimumSize(QtCore.QSize(80, 25)) self.save_single_shot_button.setMaximumSize(QtCore.QSize(80, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.save_single_shot_button.setFont(font) self.save_single_shot_button.setObjectName(_fromUtf8("save_single_shot_button")) self.horizontalLayout_5.addWidget(self.save_single_shot_button) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout_14 = QtGui.QHBoxLayout() self.horizontalLayout_14.setObjectName(_fromUtf8("horizontalLayout_14")) self.line_14 = QtGui.QFrame(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.line_14.sizePolicy().hasHeightForWidth()) self.line_14.setSizePolicy(sizePolicy) self.line_14.setMinimumSize(QtCore.QSize(80, 0)) self.line_14.setMaximumSize(QtCore.QSize(80, 16777215)) self.line_14.setFrameShape(QtGui.QFrame.HLine) self.line_14.setFrameShadow(QtGui.QFrame.Sunken) self.line_14.setObjectName(_fromUtf8("line_14")) self.horizontalLayout_14.addWidget(self.line_14) self.label_41 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_41.sizePolicy().hasHeightForWidth()) self.label_41.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(14) font.setItalic(False) self.label_41.setFont(font) self.label_41.setFrameShape(QtGui.QFrame.Box) self.label_41.setAlignment(QtCore.Qt.AlignCenter) self.label_41.setObjectName(_fromUtf8("label_41")) self.horizontalLayout_14.addWidget(self.label_41) self.line_15 = QtGui.QFrame(self.horizontalLayoutWidget) self.line_15.setFrameShape(QtGui.QFrame.HLine) self.line_15.setFrameShadow(QtGui.QFrame.Sunken) self.line_15.setObjectName(_fromUtf8("line_15")) self.horizontalLayout_14.addWidget(self.line_15) self.verticalLayout.addLayout(self.horizontalLayout_14) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.scan_button = QtGui.QPushButton(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scan_button.sizePolicy().hasHeightForWidth()) self.scan_button.setSizePolicy(sizePolicy) self.scan_button.setMinimumSize(QtCore.QSize(80, 25)) self.scan_button.setMaximumSize(QtCore.QSize(80, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(144, 202, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(144, 202, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) brush = QtGui.QBrush(QtGui.QColor(144, 202, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) self.scan_button.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) font.setBold(False) font.setWeight(50) self.scan_button.setFont(font) self.scan_button.setObjectName(_fromUtf8("scan_button")) self.horizontalLayout_6.addWidget(self.scan_button) self.label_36 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_36.sizePolicy().hasHeightForWidth()) self.label_36.setSizePolicy(sizePolicy) self.label_36.setMinimumSize(QtCore.QSize(40, 25)) self.label_36.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_36.setFont(font) self.label_36.setObjectName(_fromUtf8("label_36")) self.horizontalLayout_6.addWidget(self.label_36) self.scan_type_selector = QtGui.QComboBox(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scan_type_selector.sizePolicy().hasHeightForWidth()) self.scan_type_selector.setSizePolicy(sizePolicy) self.scan_type_selector.setMinimumSize(QtCore.QSize(0, 25)) self.scan_type_selector.setMaximumSize(QtCore.QSize(16777215, 25)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.NoRole, brush) brush = QtGui.QBrush(QtGui.QColor(0, 0, 0)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.NoRole, brush) brush = QtGui.QBrush(QtGui.QColor(70, 70, 70)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush) brush = QtGui.QBrush(QtGui.QColor(4, 26, 190)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.NoRole, brush) self.scan_type_selector.setPalette(palette) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.scan_type_selector.setFont(font) self.scan_type_selector.setObjectName(_fromUtf8("scan_type_selector")) self.horizontalLayout_6.addWidget(self.scan_type_selector) self.label_13 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth()) self.label_13.setSizePolicy(sizePolicy) self.label_13.setMinimumSize(QtCore.QSize(50, 25)) self.label_13.setMaximumSize(QtCore.QSize(50, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_13.setFont(font) self.label_13.setObjectName(_fromUtf8("label_13")) self.horizontalLayout_6.addWidget(self.label_13) self.scan_start = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scan_start.sizePolicy().hasHeightForWidth()) self.scan_start.setSizePolicy(sizePolicy) self.scan_start.setMinimumSize(QtCore.QSize(90, 21)) self.scan_start.setMaximumSize(QtCore.QSize(90, 25)) self.scan_start.setObjectName(_fromUtf8("scan_start")) self.horizontalLayout_6.addWidget(self.scan_start) self.label_33 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_33.sizePolicy().hasHeightForWidth()) self.label_33.setSizePolicy(sizePolicy) self.label_33.setMinimumSize(QtCore.QSize(30, 25)) self.label_33.setMaximumSize(QtCore.QSize(30, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_33.setFont(font) self.label_33.setObjectName(_fromUtf8("label_33")) self.horizontalLayout_6.addWidget(self.label_33) self.scan_stop = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scan_stop.sizePolicy().hasHeightForWidth()) self.scan_stop.setSizePolicy(sizePolicy) self.scan_stop.setMinimumSize(QtCore.QSize(90, 25)) self.scan_stop.setMaximumSize(QtCore.QSize(90, 25)) self.scan_stop.setObjectName(_fromUtf8("scan_stop")) self.horizontalLayout_6.addWidget(self.scan_stop) self.label_35 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_35.sizePolicy().hasHeightForWidth()) self.label_35.setSizePolicy(sizePolicy) self.label_35.setMinimumSize(QtCore.QSize(50, 25)) self.label_35.setMaximumSize(QtCore.QSize(40, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_35.setFont(font) self.label_35.setObjectName(_fromUtf8("label_35")) self.horizontalLayout_6.addWidget(self.label_35) self.scan_step = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scan_step.sizePolicy().hasHeightForWidth()) self.scan_step.setSizePolicy(sizePolicy) self.scan_step.setMinimumSize(QtCore.QSize(90, 25)) self.scan_step.setMaximumSize(QtCore.QSize(90, 25)) self.scan_step.setObjectName(_fromUtf8("scan_step")) self.horizontalLayout_6.addWidget(self.scan_step) self.label_34 = QtGui.QLabel(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_34.sizePolicy().hasHeightForWidth()) self.label_34.setSizePolicy(sizePolicy) self.label_34.setMinimumSize(QtCore.QSize(40, 25)) self.label_34.setMaximumSize(QtCore.QSize(30, 25)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(12) self.label_34.setFont(font) self.label_34.setObjectName(_fromUtf8("label_34")) self.horizontalLayout_6.addWidget(self.label_34) self.scan_rep = QtGui.QLineEdit(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scan_rep.sizePolicy().hasHeightForWidth()) self.scan_rep.setSizePolicy(sizePolicy) self.scan_rep.setMinimumSize(QtCore.QSize(90, 25)) self.scan_rep.setMaximumSize(QtCore.QSize(90, 25)) self.scan_rep.setObjectName(_fromUtf8("scan_rep")) self.horizontalLayout_6.addWidget(self.scan_rep) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_10.addLayout(self.verticalLayout) self.line_7 = QtGui.QFrame(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.line_7.sizePolicy().hasHeightForWidth()) self.line_7.setSizePolicy(sizePolicy) self.line_7.setFrameShape(QtGui.QFrame.VLine) self.line_7.setFrameShadow(QtGui.QFrame.Sunken) self.line_7.setObjectName(_fromUtf8("line_7")) self.horizontalLayout_10.addWidget(self.line_7) self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.mpl = MplWidget(self.horizontalLayoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth()) self.mpl.setSizePolicy(sizePolicy) self.mpl.setMaximumSize(QtCore.QSize(1000, 16777215)) self.mpl.setObjectName(_fromUtf8("mpl")) self.verticalLayout_4.addWidget(self.mpl) self.horizontalLayout_10.addLayout(self.verticalLayout_4) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1444, 22)) self.menubar.setObjectName(_fromUtf8("menubar")) MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName(_fromUtf8("statusbar")) MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) self.open_port_button.setText(QtGui.QApplication.translate("MainWindow", "OPEN", None, QtGui.QApplication.UnicodeUTF8)) self.label_38.setText(QtGui.QApplication.translate("MainWindow", "VAC", None, QtGui.QApplication.UnicodeUTF8)) self.label_37.setText(QtGui.QApplication.translate("MainWindow", "INT", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("MainWindow", "INTERFEROMETER MOTORS CONTROL", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("MainWindow", "MIR", None, QtGui.QApplication.UnicodeUTF8)) self.home_mirror_button.setText(QtGui.QApplication.translate("MainWindow", "HOME", None, QtGui.QApplication.UnicodeUTF8)) self.move_mirror_button.setText(QtGui.QApplication.translate("MainWindow", "MOVE", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText(QtGui.QApplication.translate("MainWindow", "POS", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setText(QtGui.QApplication.translate("MainWindow", "STS", None, QtGui.QApplication.UnicodeUTF8)) self.move_mirror_stop_button.setText(QtGui.QApplication.translate("MainWindow", "STOP", None, QtGui.QApplication.UnicodeUTF8)) self.disable_mirror_button.setText(QtGui.QApplication.translate("MainWindow", "DISABLE", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("MainWindow", "DET", None, QtGui.QApplication.UnicodeUTF8)) self.home_detector_button.setText(QtGui.QApplication.translate("MainWindow", "HOME", None, QtGui.QApplication.UnicodeUTF8)) self.move_detector_button.setText(QtGui.QApplication.translate("MainWindow", "MOVE", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("MainWindow", "POS", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText(QtGui.QApplication.translate("MainWindow", "STS", None, QtGui.QApplication.UnicodeUTF8)) self.move_detector_stop_button.setText(QtGui.QApplication.translate("MainWindow", "STOP", None, QtGui.QApplication.UnicodeUTF8)) self.disable_detector_button.setText(QtGui.QApplication.translate("MainWindow", "DISABLE", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText(QtGui.QApplication.translate("MainWindow", "IN-VACUUM MOTORS CONTROL", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText(QtGui.QApplication.translate("MainWindow", "MIR", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_3.setText(QtGui.QApplication.translate("MainWindow", "HOME", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_2.setText(QtGui.QApplication.translate("MainWindow", "MOVE", None, QtGui.QApplication.UnicodeUTF8)) self.label_17.setText(QtGui.QApplication.translate("MainWindow", "POS", None, QtGui.QApplication.UnicodeUTF8)) self.label_18.setText(QtGui.QApplication.translate("MainWindow", "STS", None, QtGui.QApplication.UnicodeUTF8)) self.rot_mir_stop_button.setText(QtGui.QApplication.translate("MainWindow", "STOP", None, QtGui.QApplication.UnicodeUTF8)) self.label_29.setText(QtGui.QApplication.translate("MainWindow", "TAR", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_11.setText(QtGui.QApplication.translate("MainWindow", "HOME", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_10.setText(QtGui.QApplication.translate("MainWindow", "MOVE", None, QtGui.QApplication.UnicodeUTF8)) self.label_20.setText(QtGui.QApplication.translate("MainWindow", "POS", None, QtGui.QApplication.UnicodeUTF8)) self.label_22.setText(QtGui.QApplication.translate("MainWindow", "STS", None, QtGui.QApplication.UnicodeUTF8)) self.rot_tar_stop_button.setText(QtGui.QApplication.translate("MainWindow", "STOP", None, QtGui.QApplication.UnicodeUTF8)) self.label_30.setText(QtGui.QApplication.translate("MainWindow", "VER", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_6.setText(QtGui.QApplication.translate("MainWindow", "HOME", None, QtGui.QApplication.UnicodeUTF8)) self.pushButton_4.setText(QtGui.QApplication.translate("MainWindow", "MOVE", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("MainWindow", "POS", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setText(QtGui.QApplication.translate("MainWindow", "STS", None, QtGui.QApplication.UnicodeUTF8)) self.lin_ver_stop_button.setText(QtGui.QApplication.translate("MainWindow", "STOP", None, QtGui.QApplication.UnicodeUTF8)) self.label_31.setText(QtGui.QApplication.translate("MainWindow", "HOR", None, QtGui.QApplication.UnicodeUTF8)) self.lin_hor_home_button.setText(QtGui.QApplication.translate("MainWindow", "HOME", None, QtGui.QApplication.UnicodeUTF8)) self.lin_hor_move_button.setText(QtGui.QApplication.translate("MainWindow", "MOVE", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("MainWindow", "POS", None, QtGui.QApplication.UnicodeUTF8)) self.label_27.setText(QtGui.QApplication.translate("MainWindow", "STS", None, QtGui.QApplication.UnicodeUTF8)) self.lin_hor_stop_button.setText(QtGui.QApplication.translate("MainWindow", "STOP", None, QtGui.QApplication.UnicodeUTF8)) self.label_40.setText(QtGui.QApplication.translate("MainWindow", "OSCILLOSCOPE AND DAQ CONTROL", None, QtGui.QApplication.UnicodeUTF8)) self.open_scope_button.setText(QtGui.QApplication.translate("MainWindow", "OPEN", None, QtGui.QApplication.UnicodeUTF8)) self.close_scope_button.setText(QtGui.QApplication.translate("MainWindow", "CLOSE", None, QtGui.QApplication.UnicodeUTF8)) self.label_14.setText(QtGui.QApplication.translate("MainWindow", "TRIG", None, QtGui.QApplication.UnicodeUTF8)) self.label_15.setText(QtGui.QApplication.translate("MainWindow", "RATE", None, QtGui.QApplication.UnicodeUTF8)) self.label_32.setText(QtGui.QApplication.translate("MainWindow", "TIME", None, QtGui.QApplication.UnicodeUTF8)) self.acquire_trace_button.setText(QtGui.QApplication.translate("MainWindow", "ACQUIRE", None, QtGui.QApplication.UnicodeUTF8)) self.save_single_shot_button.setText(QtGui.QApplication.translate("MainWindow", "SAVE", None, QtGui.QApplication.UnicodeUTF8)) self.label_41.setText(QtGui.QApplication.translate("MainWindow", "SCANNING", None, QtGui.QApplication.UnicodeUTF8)) self.scan_button.setText(QtGui.QApplication.translate("MainWindow", "SCAN", None, QtGui.QApplication.UnicodeUTF8)) self.label_36.setText(QtGui.QApplication.translate("MainWindow", "AXIS", None, QtGui.QApplication.UnicodeUTF8)) self.label_13.setText(QtGui.QApplication.translate("MainWindow", "FROM", None, QtGui.QApplication.UnicodeUTF8)) self.label_33.setText(QtGui.QApplication.translate("MainWindow", "TO", None, QtGui.QApplication.UnicodeUTF8)) self.label_35.setText(QtGui.QApplication.translate("MainWindow", "STEP", None, QtGui.QApplication.UnicodeUTF8)) self.label_34.setText(QtGui.QApplication.translate("MainWindow", "REP", None, QtGui.QApplication.UnicodeUTF8)) from mplwidget import MplWidget