def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(800, 600) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.myPlot = MPLWidget(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.myPlot.sizePolicy().hasHeightForWidth()) self.myPlot.setSizePolicy(sizePolicy) self.myPlot.setObjectName(_fromUtf8("myPlot")) self.verticalLayout.addWidget(self.myPlot) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.spinBox = QtGui.QSpinBox(self.centralwidget) self.spinBox.setObjectName(_fromUtf8("spinBox")) self.horizontalLayout.addWidget(self.spinBox) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 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 setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(697, 537) self.horizontalLayout = QtGui.QHBoxLayout(Form) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.widget = MPLWidget(Form) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout.addWidget(self.widget) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(697, 537) self.horizontalLayout = QtGui.QHBoxLayout(Form) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.widget = MPLWidget(Form) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout.addWidget(self.widget) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(800, 600) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.myPlot = MPLWidget(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.myPlot.sizePolicy().hasHeightForWidth()) self.myPlot.setSizePolicy(sizePolicy) self.myPlot.setObjectName(_fromUtf8("myPlot")) self.verticalLayout.addWidget(self.myPlot) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.spinBox = QtGui.QSpinBox(self.centralwidget) self.spinBox.setObjectName(_fromUtf8("spinBox")) self.horizontalLayout.addWidget(self.spinBox) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 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.QObject.connect(self.spinBox, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), MainWindow.spinBoxValueChanged) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(697, 537) self.horizontalLayout = QtGui.QHBoxLayout(Form) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.widget = MPLWidget(Form) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout.addWidget(self.widget) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle( QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(697, 537) self.horizontalLayout = QtGui.QHBoxLayout(Form) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.widget = MPLWidget(Form) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout.addWidget(self.widget) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, MBI_GUI): MBI_GUI.setObjectName("MBI_GUI") MBI_GUI.setEnabled(True) MBI_GUI.resize(1920, 1080) MBI_GUI.setWindowOpacity(1.0) MBI_GUI.setAutoFillBackground(False) self.centralwidget = QtWidgets.QWidget(MBI_GUI) self.centralwidget.setObjectName("centralwidget") self.LoadBitFile = QtWidgets.QPushButton(self.centralwidget) self.LoadBitFile.setGeometry(QtCore.QRect(30, 30, 311, 71)) font = QtGui.QFont() font.setPointSize(8) self.LoadBitFile.setFont(font) self.LoadBitFile.setObjectName("LoadBitFile") self.LoadPattFile = QtWidgets.QPushButton(self.centralwidget) self.LoadPattFile.setGeometry(QtCore.QRect(30, 130, 311, 71)) font = QtGui.QFont() font.setPointSize(8) self.LoadPattFile.setFont(font) self.LoadPattFile.setObjectName("LoadPattFile") self.Exposure = QtWidgets.QLineEdit(self.centralwidget) self.Exposure.setGeometry(QtCore.QRect(280, 230, 61, 31)) font = QtGui.QFont() font.setPointSize(8) self.Exposure.setFont(font) self.Exposure.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.Exposure.setObjectName("Exposure") self.exposurelabel = QtWidgets.QLabel(self.centralwidget) self.exposurelabel.setGeometry(QtCore.QRect(30, 230, 221, 31)) font = QtGui.QFont() font.setPointSize(8) self.exposurelabel.setFont(font) self.exposurelabel.setObjectName("exposurelabel") self.maskslabel = QtWidgets.QLabel(self.centralwidget) self.maskslabel.setGeometry(QtCore.QRect(30, 290, 181, 31)) font = QtGui.QFont() font.setPointSize(8) self.maskslabel.setFont(font) self.maskslabel.setObjectName("maskslabel") self.Masks = QtWidgets.QLineEdit(self.centralwidget) self.Masks.setGeometry(QtCore.QRect(280, 290, 61, 31)) font = QtGui.QFont() font.setPointSize(8) self.Masks.setFont(font) self.Masks.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.Masks.setObjectName("Masks") self.MaskChanges = QtWidgets.QLineEdit(self.centralwidget) self.MaskChanges.setGeometry(QtCore.QRect(280, 350, 61, 31)) font = QtGui.QFont() font.setPointSize(8) self.MaskChanges.setFont(font) self.MaskChanges.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.MaskChanges.setObjectName("MaskChanges") self.maskschangeslabel = QtWidgets.QLabel(self.centralwidget) self.maskschangeslabel.setGeometry(QtCore.QRect(30, 350, 181, 31)) font = QtGui.QFont() font.setPointSize(8) self.maskschangeslabel.setFont(font) self.maskschangeslabel.setObjectName("maskschangeslabel") self.maskschangeslabel_2 = QtWidgets.QLabel(self.centralwidget) self.maskschangeslabel_2.setGeometry(QtCore.QRect(30, 410, 231, 31)) font = QtGui.QFont() font.setPointSize(8) self.maskschangeslabel_2.setFont(font) self.maskschangeslabel_2.setObjectName("maskschangeslabel_2") self.SubChange = QtWidgets.QLineEdit(self.centralwidget) self.SubChange.setGeometry(QtCore.QRect(280, 410, 61, 31)) font = QtGui.QFont() font.setPointSize(8) self.SubChange.setFont(font) self.SubChange.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.SubChange.setObjectName("SubChange") self.DispImage = QtWidgets.QPushButton(self.centralwidget) self.DispImage.setGeometry(QtCore.QRect(30, 470, 181, 71)) font = QtGui.QFont() font.setPointSize(8) self.DispImage.setFont(font) self.DispImage.setCheckable(True) self.DispImage.setObjectName("DispImage") self.DispFrame = QtWidgets.QComboBox(self.centralwidget) self.DispFrame.setGeometry(QtCore.QRect(240, 490, 101, 31)) font = QtGui.QFont() font.setPointSize(8) self.DispFrame.setFont(font) self.DispFrame.setObjectName("DispFrame") self.DispFrame.addItem("") self.DispFrame.addItem("") self.DispFrame.addItem("") self.RecVideo = QtWidgets.QPushButton(self.centralwidget) self.RecVideo.setGeometry(QtCore.QRect(30, 570, 311, 71)) font = QtGui.QFont() font.setPointSize(8) self.RecVideo.setFont(font) self.RecVideo.setCheckable(True) self.RecVideo.setObjectName("RecVideo") self.SaveImages = QtWidgets.QPushButton(self.centralwidget) self.SaveImages.setGeometry(QtCore.QRect(200, 670, 141, 71)) font = QtGui.QFont() font.setPointSize(8) self.SaveImages.setFont(font) self.SaveImages.setObjectName("SaveImages") self.NumImages = QtWidgets.QLineEdit(self.centralwidget) self.NumImages.setGeometry(QtCore.QRect(110, 700, 61, 31)) self.NumImages.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.NumImages.setObjectName("NumImages") self.label = QtWidgets.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(30, 670, 101, 61)) self.label.setWordWrap(True) self.label.setObjectName("label") self.TestPixels = QtWidgets.QPushButton(self.centralwidget) self.TestPixels.setGeometry(QtCore.QRect(30, 770, 311, 71)) self.TestPixels.setObjectName("TestPixels") self.mplimg1 = MPLWidget(self.centralwidget) self.mplimg1.setGeometry(QtCore.QRect(370, 70, 750, 750)) self.mplimg1.setAutoFillBackground(True) self.mplimg1.setObjectName("mplimg1") self.mplimg2 = MPLWidget(self.centralwidget) self.mplimg2.setGeometry(QtCore.QRect(1140, 70, 750, 750)) self.mplimg2.setAutoFillBackground(True) self.mplimg2.setObjectName("mplimg2") self.mplhist1 = MPLWidget(self.centralwidget) self.mplhist1.setGeometry(QtCore.QRect(370, 860, 751, 191)) self.mplhist1.setAutoFillBackground(True) self.mplhist1.setObjectName("mplhist1") self.mplhist2 = MPLWidget(self.centralwidget) self.mplhist2.setGeometry(QtCore.QRect(1140, 860, 751, 191)) self.mplhist2.setAutoFillBackground(True) self.mplhist2.setObjectName("mplhist2") self.label_2 = QtWidgets.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(370, 40, 89, 25)) self.label_2.setObjectName("label_2") self.label_3 = QtWidgets.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(1140, 40, 89, 25)) self.label_3.setObjectName("label_3") self.label_4 = QtWidgets.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(370, 830, 89, 25)) self.label_4.setObjectName("label_4") self.label_5 = QtWidgets.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(1140, 830, 89, 25)) self.label_5.setObjectName("label_5") MBI_GUI.setCentralWidget(self.centralwidget) self.retranslateUi(MBI_GUI) QtCore.QMetaObject.connectSlotsByName(MBI_GUI)