class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(400, 300) self.verticalLayout_3 = QtGui.QVBoxLayout(Form) self.verticalLayout_3.setSpacing(0) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.groupBox = GroupBox(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.groupBox.setFont(font) self.groupBox.setCheckable(False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setSpacing(0) self.verticalLayout_2.setContentsMargins(5, 0, 0, 0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSpacing(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.preSetCheck = QtGui.QCheckBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.preSetCheck.setFont(font) self.preSetCheck.setObjectName(_fromUtf8("preSetCheck")) self.gridLayout.addWidget(self.preSetCheck, 0, 0, 1, 1) self.holdingCheck = QtGui.QCheckBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.holdingCheck.setFont(font) self.holdingCheck.setObjectName(_fromUtf8("holdingCheck")) self.gridLayout.addWidget(self.holdingCheck, 1, 0, 1, 1) self.preSetSpin = QtGui.QSpinBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.preSetSpin.setFont(font) self.preSetSpin.setMaximum(1) self.preSetSpin.setObjectName(_fromUtf8("preSetSpin")) self.gridLayout.addWidget(self.preSetSpin, 0, 1, 1, 1) self.holdingSpin = QtGui.QSpinBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.holdingSpin.setFont(font) self.holdingSpin.setMaximum(1) self.holdingSpin.setObjectName(_fromUtf8("holdingSpin")) self.gridLayout.addWidget(self.holdingSpin, 1, 1, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout) self.frame = QtGui.QFrame(self.groupBox) self.frame.setFrameShape(QtGui.QFrame.Box) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.functionCheck = QtGui.QCheckBox(self.frame) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.functionCheck.setFont(font) self.functionCheck.setObjectName(_fromUtf8("functionCheck")) self.horizontalLayout.addWidget(self.functionCheck) self.displayCheck = QtGui.QCheckBox(self.frame) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.displayCheck.setFont(font) self.displayCheck.setChecked(True) self.displayCheck.setObjectName(_fromUtf8("displayCheck")) self.horizontalLayout.addWidget(self.displayCheck) self.verticalLayout.addLayout(self.horizontalLayout) self.waveGeneratorWidget = StimGenerator(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.waveGeneratorWidget.sizePolicy().hasHeightForWidth()) self.waveGeneratorWidget.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.waveGeneratorWidget.setFont(font) self.waveGeneratorWidget.setObjectName( _fromUtf8("waveGeneratorWidget")) self.verticalLayout.addWidget(self.waveGeneratorWidget) self.verticalLayout_2.addWidget(self.frame) self.verticalLayout_3.addWidget(self.groupBox) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.groupBox.setTitle(_translate("Form", "GroupBox", None)) self.preSetCheck.setText(_translate("Form", "Pre-set", None)) self.holdingCheck.setText(_translate("Form", "Holding", None)) self.functionCheck.setText(_translate("Form", "Enable Function", None)) self.displayCheck.setText(_translate("Form", "Display", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(330, 97) Form.setAutoFillBackground(True) self.verticalLayout_3 = QtGui.QVBoxLayout(Form) self.verticalLayout_3.setSpacing(0) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter_2 = QtGui.QSplitter(Form) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.layoutWidget = QtGui.QWidget(self.splitter_2) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget) self.verticalLayout_2.setSpacing(0) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setSpacing(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.frame_2 = QtGui.QFrame(self.layoutWidget) self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_2.setFrameShadow(QtGui.QFrame.Raised) self.frame_2.setObjectName(_fromUtf8("frame_2")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame_2) self.horizontalLayout_2.setSpacing(0) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.vcModeRadio = QtGui.QRadioButton(self.frame_2) self.vcModeRadio.setObjectName(_fromUtf8("vcModeRadio")) self.horizontalLayout_2.addWidget(self.vcModeRadio) self.i0ModeRadio = QtGui.QRadioButton(self.frame_2) self.i0ModeRadio.setChecked(True) self.i0ModeRadio.setObjectName(_fromUtf8("i0ModeRadio")) self.horizontalLayout_2.addWidget(self.i0ModeRadio) self.icModeRadio = QtGui.QRadioButton(self.frame_2) self.icModeRadio.setObjectName(_fromUtf8("icModeRadio")) self.horizontalLayout_2.addWidget(self.icModeRadio) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setSpacing(0) self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.holdingCheck = QtGui.QCheckBox(self.frame_2) self.holdingCheck.setObjectName(_fromUtf8("holdingCheck")) self.horizontalLayout_6.addWidget(self.holdingCheck) self.holdingSpin = SpinBox(self.frame_2) self.holdingSpin.setEnabled(False) self.holdingSpin.setMinimum(-1000000.0) self.holdingSpin.setMaximum(1000000.0) self.holdingSpin.setObjectName(_fromUtf8("holdingSpin")) self.horizontalLayout_6.addWidget(self.holdingSpin) self.horizontalLayout_2.addLayout(self.horizontalLayout_6) self.gridLayout_2.addWidget(self.frame_2, 0, 0, 1, 2) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSpacing(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.primarySignalCheck = QtGui.QCheckBox(self.layoutWidget) self.primarySignalCheck.setObjectName(_fromUtf8("primarySignalCheck")) self.gridLayout.addWidget(self.primarySignalCheck, 0, 0, 1, 1) self.secondarySignalCheck = QtGui.QCheckBox(self.layoutWidget) self.secondarySignalCheck.setObjectName(_fromUtf8("secondarySignalCheck")) self.gridLayout.addWidget(self.secondarySignalCheck, 1, 0, 1, 1) self.primarySignalCombo = QtGui.QComboBox(self.layoutWidget) self.primarySignalCombo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.primarySignalCombo.sizePolicy().hasHeightForWidth()) self.primarySignalCombo.setSizePolicy(sizePolicy) self.primarySignalCombo.setMinimumSize(QtCore.QSize(40, 0)) self.primarySignalCombo.setObjectName(_fromUtf8("primarySignalCombo")) self.primarySignalCombo.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.primarySignalCombo, 0, 1, 1, 1) self.secondarySignalCombo = QtGui.QComboBox(self.layoutWidget) self.secondarySignalCombo.setEnabled(False) self.secondarySignalCombo.setMinimumSize(QtCore.QSize(40, 0)) self.secondarySignalCombo.setObjectName(_fromUtf8("secondarySignalCombo")) self.secondarySignalCombo.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.secondarySignalCombo, 1, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 2, 1) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setSpacing(0) self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.secondaryGainCheck = QtGui.QCheckBox(self.layoutWidget) self.secondaryGainCheck.setObjectName(_fromUtf8("secondaryGainCheck")) self.horizontalLayout_7.addWidget(self.secondaryGainCheck) self.secondaryGainSpin = QtGui.QSpinBox(self.layoutWidget) self.secondaryGainSpin.setEnabled(False) self.secondaryGainSpin.setMaximum(100000) self.secondaryGainSpin.setObjectName(_fromUtf8("secondaryGainSpin")) self.horizontalLayout_7.addWidget(self.secondaryGainSpin) self.gridLayout_2.addLayout(self.horizontalLayout_7, 2, 1, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setSpacing(0) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.primaryGainCheck = QtGui.QCheckBox(self.layoutWidget) self.primaryGainCheck.setObjectName(_fromUtf8("primaryGainCheck")) self.horizontalLayout_5.addWidget(self.primaryGainCheck) self.primaryGainSpin = QtGui.QSpinBox(self.layoutWidget) self.primaryGainSpin.setEnabled(False) self.primaryGainSpin.setMaximum(100000) self.primaryGainSpin.setObjectName(_fromUtf8("primaryGainSpin")) self.horizontalLayout_5.addWidget(self.primaryGainSpin) self.gridLayout_2.addLayout(self.horizontalLayout_5, 1, 1, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_2) self.frame = QtGui.QFrame(self.layoutWidget) self.frame.setFrameShape(QtGui.QFrame.Box) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.waveGeneratorLabel = QtGui.QLabel(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.waveGeneratorLabel.sizePolicy().hasHeightForWidth()) self.waveGeneratorLabel.setSizePolicy(sizePolicy) self.waveGeneratorLabel.setObjectName(_fromUtf8("waveGeneratorLabel")) self.verticalLayout.addWidget(self.waveGeneratorLabel) self.waveGeneratorWidget = StimGenerator(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.waveGeneratorWidget.sizePolicy().hasHeightForWidth()) self.waveGeneratorWidget.setSizePolicy(sizePolicy) self.waveGeneratorWidget.setObjectName(_fromUtf8("waveGeneratorWidget")) self.verticalLayout.addWidget(self.waveGeneratorWidget) self.verticalLayout_2.addWidget(self.frame) self.splitter = QtGui.QSplitter(self.splitter_2) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.topPlotWidget = PlotWidget(self.splitter) self.topPlotWidget.setObjectName(_fromUtf8("topPlotWidget")) self.bottomPlotWidget = PlotWidget(self.splitter) self.bottomPlotWidget.setObjectName(_fromUtf8("bottomPlotWidget")) self.verticalLayout_3.addWidget(self.splitter_2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.vcModeRadio.setText(_translate("Form", "VC", None)) self.i0ModeRadio.setText(_translate("Form", "I=0", None)) self.icModeRadio.setText(_translate("Form", "IC", None)) self.holdingCheck.setText(_translate("Form", "Holding", None)) self.primarySignalCheck.setText(_translate("Form", "Primary:", None)) self.secondarySignalCheck.setText(_translate("Form", "Secondary:", None)) self.primarySignalCombo.setItemText(0, _translate("Form", "MembranePotential", None)) self.secondarySignalCombo.setItemText(0, _translate("Form", "MembraneCurrent", None)) self.secondaryGainCheck.setText(_translate("Form", "Set Gain", None)) self.primaryGainCheck.setText(_translate("Form", "Set Gain", None)) self.waveGeneratorLabel.setText(_translate("Form", "Command Function (A)", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(529, 353) self.verticalLayout_3 = QtGui.QVBoxLayout(Form) self.verticalLayout_3.setSpacing(0) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.groupBox = QtGui.QGroupBox(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.groupBox.setFont(font) self.groupBox.setCheckable(True) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setSpacing(0) self.verticalLayout_2.setContentsMargins(5, 0, 0, 0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSpacing(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.preSetCheck = QtGui.QCheckBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.preSetCheck.setFont(font) self.preSetCheck.setObjectName(_fromUtf8("preSetCheck")) self.gridLayout.addWidget(self.preSetCheck, 0, 0, 1, 1) self.preSetSpin = SpinBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.preSetSpin.setFont(font) self.preSetSpin.setMinimum(-999999999.0) self.preSetSpin.setMaximum(999999999.0) self.preSetSpin.setObjectName(_fromUtf8("preSetSpin")) self.gridLayout.addWidget(self.preSetSpin, 0, 1, 1, 1) self.holdingCheck = QtGui.QCheckBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.holdingCheck.setFont(font) self.holdingCheck.setObjectName(_fromUtf8("holdingCheck")) self.gridLayout.addWidget(self.holdingCheck, 1, 0, 1, 1) self.holdingSpin = SpinBox(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.holdingSpin.setFont(font) self.holdingSpin.setMinimum(-999999999.0) self.holdingSpin.setMaximum(999999999.0) self.holdingSpin.setObjectName(_fromUtf8("holdingSpin")) self.gridLayout.addWidget(self.holdingSpin, 1, 1, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout) self.frame = QtGui.QFrame(self.groupBox) self.frame.setFrameShape(QtGui.QFrame.Box) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.functionCheck = QtGui.QCheckBox(self.frame) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.functionCheck.setFont(font) self.functionCheck.setObjectName(_fromUtf8("functionCheck")) self.horizontalLayout.addWidget(self.functionCheck) self.displayCheck = QtGui.QCheckBox(self.frame) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.displayCheck.setFont(font) self.displayCheck.setChecked(True) self.displayCheck.setObjectName(_fromUtf8("displayCheck")) self.horizontalLayout.addWidget(self.displayCheck) self.verticalLayout.addLayout(self.horizontalLayout) self.waveGeneratorWidget = StimGenerator(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.waveGeneratorWidget.sizePolicy().hasHeightForWidth()) self.waveGeneratorWidget.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.waveGeneratorWidget.setFont(font) self.waveGeneratorWidget.setObjectName(_fromUtf8("waveGeneratorWidget")) self.verticalLayout.addWidget(self.waveGeneratorWidget) self.verticalLayout_2.addWidget(self.frame) self.verticalLayout_3.addWidget(self.groupBox) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.groupBox.setTitle(_translate("Form", "GroupBox", None)) self.preSetCheck.setText(_translate("Form", "Pre-set", None)) self.holdingCheck.setText(_translate("Form", "Holding", None)) self.functionCheck.setText(_translate("Form", "Enable Function", None)) self.displayCheck.setText(_translate("Form", "Display", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(302, 110) Form.setAutoFillBackground(True) self.verticalLayout_3 = QtGui.QVBoxLayout(Form) self.verticalLayout_3.setSpacing(0) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter_2 = QtGui.QSplitter(Form) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.layoutWidget = QtGui.QWidget(self.splitter_2) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget) self.verticalLayout_2.setSpacing(0) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setSpacing(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.frame_2 = QtGui.QFrame(self.layoutWidget) self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_2.setFrameShadow(QtGui.QFrame.Raised) self.frame_2.setObjectName(_fromUtf8("frame_2")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame_2) self.horizontalLayout_2.setSpacing(0) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.icModeRadio = QtGui.QRadioButton(self.frame_2) self.icModeRadio.setObjectName(_fromUtf8("icModeRadio")) self.horizontalLayout_2.addWidget(self.icModeRadio) self.i0ModeRadio = QtGui.QRadioButton(self.frame_2) self.i0ModeRadio.setChecked(True) self.i0ModeRadio.setObjectName(_fromUtf8("i0ModeRadio")) self.horizontalLayout_2.addWidget(self.i0ModeRadio) self.vcModeRadio = QtGui.QRadioButton(self.frame_2) self.vcModeRadio.setObjectName(_fromUtf8("vcModeRadio")) self.horizontalLayout_2.addWidget(self.vcModeRadio) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setSpacing(0) self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.holdingCheck = QtGui.QCheckBox(self.frame_2) self.holdingCheck.setObjectName(_fromUtf8("holdingCheck")) self.horizontalLayout_6.addWidget(self.holdingCheck) self.holdingSpin = SpinBox(self.frame_2) self.holdingSpin.setEnabled(False) self.holdingSpin.setMinimum(-1000000.0) self.holdingSpin.setMaximum(1000000.0) self.holdingSpin.setObjectName(_fromUtf8("holdingSpin")) self.horizontalLayout_6.addWidget(self.holdingSpin) self.horizontalLayout_2.addLayout(self.horizontalLayout_6) self.gridLayout_2.addWidget(self.frame_2, 0, 0, 1, 2) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSpacing(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.primarySignalCheck = QtGui.QCheckBox(self.layoutWidget) self.primarySignalCheck.setObjectName(_fromUtf8("primarySignalCheck")) self.gridLayout.addWidget(self.primarySignalCheck, 0, 0, 1, 1) self.secondarySignalCheck = QtGui.QCheckBox(self.layoutWidget) self.secondarySignalCheck.setObjectName(_fromUtf8("secondarySignalCheck")) self.gridLayout.addWidget(self.secondarySignalCheck, 1, 0, 1, 1) self.primarySignalCombo = QtGui.QComboBox(self.layoutWidget) self.primarySignalCombo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.primarySignalCombo.sizePolicy().hasHeightForWidth()) self.primarySignalCombo.setSizePolicy(sizePolicy) self.primarySignalCombo.setMinimumSize(QtCore.QSize(40, 0)) self.primarySignalCombo.setObjectName(_fromUtf8("primarySignalCombo")) self.primarySignalCombo.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.primarySignalCombo, 0, 1, 1, 1) self.secondarySignalCombo = QtGui.QComboBox(self.layoutWidget) self.secondarySignalCombo.setEnabled(False) self.secondarySignalCombo.setMinimumSize(QtCore.QSize(40, 0)) self.secondarySignalCombo.setObjectName(_fromUtf8("secondarySignalCombo")) self.secondarySignalCombo.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.secondarySignalCombo, 1, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 2, 1) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setSpacing(0) self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.secondaryGainCheck = QtGui.QCheckBox(self.layoutWidget) self.secondaryGainCheck.setObjectName(_fromUtf8("secondaryGainCheck")) self.horizontalLayout_7.addWidget(self.secondaryGainCheck) self.secondaryGainSpin = QtGui.QSpinBox(self.layoutWidget) self.secondaryGainSpin.setEnabled(False) self.secondaryGainSpin.setMaximum(100000) self.secondaryGainSpin.setObjectName(_fromUtf8("secondaryGainSpin")) self.horizontalLayout_7.addWidget(self.secondaryGainSpin) self.gridLayout_2.addLayout(self.horizontalLayout_7, 2, 1, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setSpacing(0) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.primaryGainCheck = QtGui.QCheckBox(self.layoutWidget) self.primaryGainCheck.setObjectName(_fromUtf8("primaryGainCheck")) self.horizontalLayout_5.addWidget(self.primaryGainCheck) self.primaryGainSpin = QtGui.QSpinBox(self.layoutWidget) self.primaryGainSpin.setEnabled(False) self.primaryGainSpin.setMaximum(100000) self.primaryGainSpin.setObjectName(_fromUtf8("primaryGainSpin")) self.horizontalLayout_5.addWidget(self.primaryGainSpin) self.gridLayout_2.addLayout(self.horizontalLayout_5, 1, 1, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_2) self.frame = QtGui.QFrame(self.layoutWidget) self.frame.setFrameShape(QtGui.QFrame.Box) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.waveGeneratorLabel = QtGui.QLabel(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.waveGeneratorLabel.sizePolicy().hasHeightForWidth()) self.waveGeneratorLabel.setSizePolicy(sizePolicy) self.waveGeneratorLabel.setObjectName(_fromUtf8("waveGeneratorLabel")) self.verticalLayout.addWidget(self.waveGeneratorLabel) self.waveGeneratorWidget = StimGenerator(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.waveGeneratorWidget.sizePolicy().hasHeightForWidth()) self.waveGeneratorWidget.setSizePolicy(sizePolicy) self.waveGeneratorWidget.setObjectName(_fromUtf8("waveGeneratorWidget")) self.verticalLayout.addWidget(self.waveGeneratorWidget) self.verticalLayout_2.addWidget(self.frame) self.splitter = QtGui.QSplitter(self.splitter_2) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.topPlotWidget = PlotWidget(self.splitter) self.topPlotWidget.setObjectName(_fromUtf8("topPlotWidget")) self.bottomPlotWidget = PlotWidget(self.splitter) self.bottomPlotWidget.setObjectName(_fromUtf8("bottomPlotWidget")) self.verticalLayout_3.addWidget(self.splitter_2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.icModeRadio.setText(_translate("Form", "IC", None)) self.i0ModeRadio.setText(_translate("Form", "I=0", None)) self.vcModeRadio.setText(_translate("Form", "VC", None)) self.holdingCheck.setText(_translate("Form", "Holding", None)) self.primarySignalCheck.setText(_translate("Form", "Primary:", None)) self.secondarySignalCheck.setText(_translate("Form", "Secondary:", None)) self.primarySignalCombo.setItemText(0, _translate("Form", "MembranePotential", None)) self.secondarySignalCombo.setItemText(0, _translate("Form", "MembraneCurrent", None)) self.secondaryGainCheck.setText(_translate("Form", "Set Gain", None)) self.primaryGainCheck.setText(_translate("Form", "Set Gain", None)) self.waveGeneratorLabel.setText(_translate("Form", "Command Function (A)", None))