Ejemplo n.º 1
0
class Ui_StdpCtrlWidget(object):
    def setupUi(self, StdpCtrlWidget):
        StdpCtrlWidget.setObjectName(_fromUtf8("StdpCtrlWidget"))
        StdpCtrlWidget.resize(227, 321)
        self.gridLayout = QtGui.QGridLayout(StdpCtrlWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(StdpCtrlWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.thresholdSpin = QtGui.QDoubleSpinBox(StdpCtrlWidget)
        self.thresholdSpin.setObjectName(_fromUtf8("thresholdSpin"))
        self.gridLayout.addWidget(self.thresholdSpin, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(StdpCtrlWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.durationSpin = QtGui.QSpinBox(StdpCtrlWidget)
        self.durationSpin.setObjectName(_fromUtf8("durationSpin"))
        self.gridLayout.addWidget(self.durationSpin, 1, 1, 1, 2)
        self.label_4 = QtGui.QLabel(StdpCtrlWidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.slopeWidthSpin = SpinBox(StdpCtrlWidget)
        self.slopeWidthSpin.setObjectName(_fromUtf8("slopeWidthSpin"))
        self.gridLayout.addWidget(self.slopeWidthSpin, 2, 1, 1, 2)
        self.apExclusionCheck = QtGui.QCheckBox(StdpCtrlWidget)
        self.apExclusionCheck.setObjectName(_fromUtf8("apExclusionCheck"))
        self.gridLayout.addWidget(self.apExclusionCheck, 3, 0, 1, 1)
        self.label_3 = QtGui.QLabel(StdpCtrlWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 2)
        self.apthresholdSpin = QtGui.QDoubleSpinBox(StdpCtrlWidget)
        self.apthresholdSpin.setObjectName(_fromUtf8("apthresholdSpin"))
        self.gridLayout.addWidget(self.apthresholdSpin, 4, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)

        self.retranslateUi(StdpCtrlWidget)
        QtCore.QMetaObject.connectSlotsByName(StdpCtrlWidget)

    def retranslateUi(self, StdpCtrlWidget):
        StdpCtrlWidget.setWindowTitle(
            _translate("StdpCtrlWidget", "Form", None))
        self.label.setText(_translate("StdpCtrlWidget", "PspThreshold:", None))
        self.label_2.setText(
            _translate("StdpCtrlWidget", "Post-stim Duration (ms):", None))
        self.label_4.setText(_translate("StdpCtrlWidget", "Slope width:",
                                        None))
        self.apExclusionCheck.setText(
            _translate("StdpCtrlWidget", "Exclude APs", None))
        self.label_3.setText(
            _translate("StdpCtrlWidget", "Exclusion Threshold (mV):", None))
Ejemplo n.º 2
0
class Ui_StdpCtrlWidget(object):
    def setupUi(self, StdpCtrlWidget):
        StdpCtrlWidget.setObjectName(_fromUtf8("StdpCtrlWidget"))
        StdpCtrlWidget.resize(227, 321)
        self.gridLayout = QtGui.QGridLayout(StdpCtrlWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(StdpCtrlWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.thresholdSpin = QtGui.QDoubleSpinBox(StdpCtrlWidget)
        self.thresholdSpin.setObjectName(_fromUtf8("thresholdSpin"))
        self.gridLayout.addWidget(self.thresholdSpin, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(StdpCtrlWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.durationSpin = QtGui.QSpinBox(StdpCtrlWidget)
        self.durationSpin.setObjectName(_fromUtf8("durationSpin"))
        self.gridLayout.addWidget(self.durationSpin, 1, 1, 1, 2)
        self.label_4 = QtGui.QLabel(StdpCtrlWidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.slopeWidthSpin = SpinBox(StdpCtrlWidget)
        self.slopeWidthSpin.setObjectName(_fromUtf8("slopeWidthSpin"))
        self.gridLayout.addWidget(self.slopeWidthSpin, 2, 1, 1, 2)
        self.apExclusionCheck = QtGui.QCheckBox(StdpCtrlWidget)
        self.apExclusionCheck.setObjectName(_fromUtf8("apExclusionCheck"))
        self.gridLayout.addWidget(self.apExclusionCheck, 3, 0, 1, 1)
        self.label_3 = QtGui.QLabel(StdpCtrlWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 2)
        self.apthresholdSpin = QtGui.QDoubleSpinBox(StdpCtrlWidget)
        self.apthresholdSpin.setObjectName(_fromUtf8("apthresholdSpin"))
        self.gridLayout.addWidget(self.apthresholdSpin, 4, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)

        self.retranslateUi(StdpCtrlWidget)
        QtCore.QMetaObject.connectSlotsByName(StdpCtrlWidget)

    def retranslateUi(self, StdpCtrlWidget):
        StdpCtrlWidget.setWindowTitle(_translate("StdpCtrlWidget", "Form", None))
        self.label.setText(_translate("StdpCtrlWidget", "PspThreshold:", None))
        self.label_2.setText(_translate("StdpCtrlWidget", "Post-stim Duration (ms):", None))
        self.label_4.setText(_translate("StdpCtrlWidget", "Slope width:", None))
        self.apExclusionCheck.setText(_translate("StdpCtrlWidget", "Exclude APs", None))
        self.label_3.setText(_translate("StdpCtrlWidget", "Exclusion Threshold (mV):", None))
Ejemplo n.º 3
0
    def setupUi(self, StdpCtrlWidget):
        StdpCtrlWidget.setObjectName("StdpCtrlWidget")
        StdpCtrlWidget.resize(227, 321)
        self.gridLayout = QtWidgets.QGridLayout(StdpCtrlWidget)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(StdpCtrlWidget)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.thresholdSpin = QtWidgets.QDoubleSpinBox(StdpCtrlWidget)
        self.thresholdSpin.setObjectName("thresholdSpin")
        self.gridLayout.addWidget(self.thresholdSpin, 0, 1, 1, 2)
        self.label_2 = QtWidgets.QLabel(StdpCtrlWidget)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.durationSpin = QtWidgets.QSpinBox(StdpCtrlWidget)
        self.durationSpin.setObjectName("durationSpin")
        self.gridLayout.addWidget(self.durationSpin, 1, 1, 1, 2)
        self.label_4 = QtWidgets.QLabel(StdpCtrlWidget)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.slopeWidthSpin = SpinBox(StdpCtrlWidget)
        self.slopeWidthSpin.setObjectName("slopeWidthSpin")
        self.gridLayout.addWidget(self.slopeWidthSpin, 2, 1, 1, 2)
        self.apExclusionCheck = QtWidgets.QCheckBox(StdpCtrlWidget)
        self.apExclusionCheck.setObjectName("apExclusionCheck")
        self.gridLayout.addWidget(self.apExclusionCheck, 3, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(StdpCtrlWidget)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 2)
        self.apthresholdSpin = QtWidgets.QDoubleSpinBox(StdpCtrlWidget)
        self.apthresholdSpin.setObjectName("apthresholdSpin")
        self.gridLayout.addWidget(self.apthresholdSpin, 4, 2, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)

        self.retranslateUi(StdpCtrlWidget)
        Qt.QMetaObject.connectSlotsByName(StdpCtrlWidget)
Ejemplo n.º 4
0
    def setupUi(self, StdpCtrlWidget):
        StdpCtrlWidget.setObjectName(_fromUtf8("StdpCtrlWidget"))
        StdpCtrlWidget.resize(227, 321)
        self.gridLayout = QtGui.QGridLayout(StdpCtrlWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(StdpCtrlWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.thresholdSpin = QtGui.QDoubleSpinBox(StdpCtrlWidget)
        self.thresholdSpin.setObjectName(_fromUtf8("thresholdSpin"))
        self.gridLayout.addWidget(self.thresholdSpin, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(StdpCtrlWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.durationSpin = QtGui.QSpinBox(StdpCtrlWidget)
        self.durationSpin.setObjectName(_fromUtf8("durationSpin"))
        self.gridLayout.addWidget(self.durationSpin, 1, 1, 1, 2)
        self.label_4 = QtGui.QLabel(StdpCtrlWidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.slopeWidthSpin = SpinBox(StdpCtrlWidget)
        self.slopeWidthSpin.setObjectName(_fromUtf8("slopeWidthSpin"))
        self.gridLayout.addWidget(self.slopeWidthSpin, 2, 1, 1, 2)
        self.apExclusionCheck = QtGui.QCheckBox(StdpCtrlWidget)
        self.apExclusionCheck.setObjectName(_fromUtf8("apExclusionCheck"))
        self.gridLayout.addWidget(self.apExclusionCheck, 3, 0, 1, 1)
        self.label_3 = QtGui.QLabel(StdpCtrlWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 2)
        self.apthresholdSpin = QtGui.QDoubleSpinBox(StdpCtrlWidget)
        self.apthresholdSpin.setObjectName(_fromUtf8("apthresholdSpin"))
        self.gridLayout.addWidget(self.apthresholdSpin, 4, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)

        self.retranslateUi(StdpCtrlWidget)
        QtCore.QMetaObject.connectSlotsByName(StdpCtrlWidget)
Ejemplo n.º 5
0
    def setupUi(self, EventDetectionCtrlForm):
        EventDetectionCtrlForm.setObjectName(_fromUtf8("EventDetectionCtrlForm"))
        EventDetectionCtrlForm.resize(264, 340)
        self.verticalLayout_3 = QtGui.QVBoxLayout(EventDetectionCtrlForm)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox_2 = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(100)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setSpacing(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.preFilterList = FilterList(self.groupBox_2)
        self.preFilterList.setObjectName(_fromUtf8("preFilterList"))
        self.gridLayout_3.addWidget(self.preFilterList, 0, 0, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.detectMethodCombo = QtGui.QComboBox(self.groupBox)
        self.detectMethodCombo.setObjectName(_fromUtf8("detectMethodCombo"))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.verticalLayout.addWidget(self.detectMethodCombo)
        self.detectMethodStack = QtGui.QStackedWidget(self.groupBox)
        self.detectMethodStack.setObjectName(_fromUtf8("detectMethodStack"))
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.gridLayout_4 = QtGui.QGridLayout(self.page_3)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setSpacing(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_6 = QtGui.QLabel(self.page_3)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_4.addWidget(self.label_6, 0, 0, 1, 1)
        self.stThresholdSpin = SpinBox(self.page_3)
        self.stThresholdSpin.setProperty("value", 3.0)
        self.stThresholdSpin.setObjectName(_fromUtf8("stThresholdSpin"))
        self.gridLayout_4.addWidget(self.stThresholdSpin, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1)
        self.detectMethodStack.addWidget(self.page_3)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.page_2)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.page_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.page_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.zcSumAbsThresholdSpin = SpinBox(self.page_2)
        self.zcSumAbsThresholdSpin.setObjectName(_fromUtf8("zcSumAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumAbsThresholdSpin, 1, 2, 1, 1)
        self.zcAmpAbsThresholdSpin = SpinBox(self.page_2)
        self.zcAmpAbsThresholdSpin.setEnabled(True)
        self.zcAmpAbsThresholdSpin.setObjectName(_fromUtf8("zcAmpAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpAbsThresholdSpin, 2, 2, 1, 1)
        self.label_8 = QtGui.QLabel(self.page_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout.addWidget(self.label_8, 0, 2, 1, 1)
        self.label_9 = QtGui.QLabel(self.page_2)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout.addWidget(self.label_9, 3, 0, 1, 1)
        self.zcAmpRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcAmpRelThresholdSpin.setEnabled(False)
        self.zcAmpRelThresholdSpin.setProperty("value", 8.0)
        self.zcAmpRelThresholdSpin.setObjectName(_fromUtf8("zcAmpRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpRelThresholdSpin, 2, 3, 1, 1)
        self.zcSumRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcSumRelThresholdSpin.setProperty("value", 8.0)
        self.zcSumRelThresholdSpin.setObjectName(_fromUtf8("zcSumRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumRelThresholdSpin, 1, 3, 1, 1)
        self.label_7 = QtGui.QLabel(self.page_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 0, 3, 1, 1)
        self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(self.page_2)
        self.doubleSpinBox_2.setEnabled(False)
        self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
        self.gridLayout.addWidget(self.doubleSpinBox_2, 3, 3, 1, 1)
        self.zcLenAbsThresholdSpin = QtGui.QSpinBox(self.page_2)
        self.zcLenAbsThresholdSpin.setMaximum(100000)
        self.zcLenAbsThresholdSpin.setProperty("value", 3)
        self.zcLenAbsThresholdSpin.setObjectName(_fromUtf8("zcLenAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcLenAbsThresholdSpin, 3, 2, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.detectMethodStack.addWidget(self.page_2)
        self.page = QtGui.QWidget()
        self.page.setObjectName(_fromUtf8("page"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.page)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_2 = QtGui.QLabel(self.page)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.cbThresholdSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbThresholdSpin.setProperty("value", 4.0)
        self.cbThresholdSpin.setObjectName(_fromUtf8("cbThresholdSpin"))
        self.gridLayout_2.addWidget(self.cbThresholdSpin, 0, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.page)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 1, 0, 1, 1)
        self.cbRiseTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbRiseTauSpin.setProperty("value", 0.01)
        self.cbRiseTauSpin.setObjectName(_fromUtf8("cbRiseTauSpin"))
        self.gridLayout_2.addWidget(self.cbRiseTauSpin, 1, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.page)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
        self.cbFallTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbFallTauSpin.setProperty("value", 0.01)
        self.cbFallTauSpin.setObjectName(_fromUtf8("cbFallTauSpin"))
        self.gridLayout_2.addWidget(self.cbFallTauSpin, 2, 1, 1, 1)
        self.verticalLayout_5.addLayout(self.gridLayout_2)
        self.detectMethodStack.addWidget(self.page)
        self.verticalLayout.addWidget(self.detectMethodStack)
        self.verticalLayout_3.addWidget(self.groupBox)

        self.retranslateUi(EventDetectionCtrlForm)
        self.detectMethodCombo.setCurrentIndex(1)
        self.detectMethodStack.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(EventDetectionCtrlForm)
Ejemplo n.º 6
0
class Ui_EventDetectionCtrlForm(object):
    def setupUi(self, EventDetectionCtrlForm):
        EventDetectionCtrlForm.setObjectName(_fromUtf8("EventDetectionCtrlForm"))
        EventDetectionCtrlForm.resize(264, 340)
        self.verticalLayout_3 = QtGui.QVBoxLayout(EventDetectionCtrlForm)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox_2 = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(100)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setSpacing(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.preFilterList = FilterList(self.groupBox_2)
        self.preFilterList.setObjectName(_fromUtf8("preFilterList"))
        self.gridLayout_3.addWidget(self.preFilterList, 0, 0, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.detectMethodCombo = QtGui.QComboBox(self.groupBox)
        self.detectMethodCombo.setObjectName(_fromUtf8("detectMethodCombo"))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.verticalLayout.addWidget(self.detectMethodCombo)
        self.detectMethodStack = QtGui.QStackedWidget(self.groupBox)
        self.detectMethodStack.setObjectName(_fromUtf8("detectMethodStack"))
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.gridLayout_4 = QtGui.QGridLayout(self.page_3)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setSpacing(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_6 = QtGui.QLabel(self.page_3)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_4.addWidget(self.label_6, 0, 0, 1, 1)
        self.stThresholdSpin = SpinBox(self.page_3)
        self.stThresholdSpin.setProperty("value", 3.0)
        self.stThresholdSpin.setObjectName(_fromUtf8("stThresholdSpin"))
        self.gridLayout_4.addWidget(self.stThresholdSpin, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1)
        self.detectMethodStack.addWidget(self.page_3)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.page_2)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.page_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.page_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.zcSumAbsThresholdSpin = SpinBox(self.page_2)
        self.zcSumAbsThresholdSpin.setObjectName(_fromUtf8("zcSumAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumAbsThresholdSpin, 1, 2, 1, 1)
        self.zcAmpAbsThresholdSpin = SpinBox(self.page_2)
        self.zcAmpAbsThresholdSpin.setEnabled(True)
        self.zcAmpAbsThresholdSpin.setObjectName(_fromUtf8("zcAmpAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpAbsThresholdSpin, 2, 2, 1, 1)
        self.label_8 = QtGui.QLabel(self.page_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout.addWidget(self.label_8, 0, 2, 1, 1)
        self.label_9 = QtGui.QLabel(self.page_2)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout.addWidget(self.label_9, 3, 0, 1, 1)
        self.zcAmpRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcAmpRelThresholdSpin.setEnabled(False)
        self.zcAmpRelThresholdSpin.setProperty("value", 8.0)
        self.zcAmpRelThresholdSpin.setObjectName(_fromUtf8("zcAmpRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpRelThresholdSpin, 2, 3, 1, 1)
        self.zcSumRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcSumRelThresholdSpin.setProperty("value", 8.0)
        self.zcSumRelThresholdSpin.setObjectName(_fromUtf8("zcSumRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumRelThresholdSpin, 1, 3, 1, 1)
        self.label_7 = QtGui.QLabel(self.page_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 0, 3, 1, 1)
        self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(self.page_2)
        self.doubleSpinBox_2.setEnabled(False)
        self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
        self.gridLayout.addWidget(self.doubleSpinBox_2, 3, 3, 1, 1)
        self.zcLenAbsThresholdSpin = QtGui.QSpinBox(self.page_2)
        self.zcLenAbsThresholdSpin.setMaximum(100000)
        self.zcLenAbsThresholdSpin.setProperty("value", 3)
        self.zcLenAbsThresholdSpin.setObjectName(_fromUtf8("zcLenAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcLenAbsThresholdSpin, 3, 2, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.detectMethodStack.addWidget(self.page_2)
        self.page = QtGui.QWidget()
        self.page.setObjectName(_fromUtf8("page"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.page)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_2 = QtGui.QLabel(self.page)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.cbThresholdSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbThresholdSpin.setProperty("value", 4.0)
        self.cbThresholdSpin.setObjectName(_fromUtf8("cbThresholdSpin"))
        self.gridLayout_2.addWidget(self.cbThresholdSpin, 0, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.page)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 1, 0, 1, 1)
        self.cbRiseTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbRiseTauSpin.setProperty("value", 0.01)
        self.cbRiseTauSpin.setObjectName(_fromUtf8("cbRiseTauSpin"))
        self.gridLayout_2.addWidget(self.cbRiseTauSpin, 1, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.page)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
        self.cbFallTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbFallTauSpin.setProperty("value", 0.01)
        self.cbFallTauSpin.setObjectName(_fromUtf8("cbFallTauSpin"))
        self.gridLayout_2.addWidget(self.cbFallTauSpin, 2, 1, 1, 1)
        self.verticalLayout_5.addLayout(self.gridLayout_2)
        self.detectMethodStack.addWidget(self.page)
        self.verticalLayout.addWidget(self.detectMethodStack)
        self.verticalLayout_3.addWidget(self.groupBox)

        self.retranslateUi(EventDetectionCtrlForm)
        self.detectMethodCombo.setCurrentIndex(1)
        self.detectMethodStack.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(EventDetectionCtrlForm)

    def retranslateUi(self, EventDetectionCtrlForm):
        EventDetectionCtrlForm.setWindowTitle(_translate("EventDetectionCtrlForm", "Form", None))
        self.groupBox_2.setToolTip(_translate("EventDetectionCtrlForm", "Pre-processing options. Used for processing data before any event detection takes place. Processing is performed in the order listed.", None))
        self.groupBox_2.setTitle(_translate("EventDetectionCtrlForm", "Pre-processing", None))
        self.groupBox.setTitle(_translate("EventDetectionCtrlForm", "Event Detection", None))
        self.detectMethodCombo.setItemText(0, _translate("EventDetectionCtrlForm", "Stdev. Threshold", None))
        self.detectMethodCombo.setItemText(1, _translate("EventDetectionCtrlForm", "Zero-crossing", None))
        self.detectMethodCombo.setItemText(2, _translate("EventDetectionCtrlForm", "Clements-Bekkers", None))
        self.label_6.setText(_translate("EventDetectionCtrlForm", "Threshold", None))
        self.label.setText(_translate("EventDetectionCtrlForm", "Sum Thresh.", None))
        self.label_3.setText(_translate("EventDetectionCtrlForm", "Amp. Thresh.", None))
        self.label_8.setText(_translate("EventDetectionCtrlForm", "Abs.", None))
        self.label_9.setText(_translate("EventDetectionCtrlForm", "Len. Thresh.", None))
        self.label_7.setText(_translate("EventDetectionCtrlForm", "Rel.", None))
        self.label_2.setText(_translate("EventDetectionCtrlForm", "Threshold", None))
        self.label_4.setText(_translate("EventDetectionCtrlForm", "Rise Tau", None))
        self.label_5.setText(_translate("EventDetectionCtrlForm", "Fall Tau", None))
Ejemplo n.º 7
0
    def setupUi(self, EventDetectionCtrlForm):
        EventDetectionCtrlForm.setObjectName(
            _fromUtf8("EventDetectionCtrlForm"))
        EventDetectionCtrlForm.resize(264, 340)
        self.verticalLayout_3 = QtGui.QVBoxLayout(EventDetectionCtrlForm)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox_2 = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(100)
        sizePolicy.setHeightForWidth(
            self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setSpacing(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.preFilterList = FilterList(self.groupBox_2)
        self.preFilterList.setObjectName(_fromUtf8("preFilterList"))
        self.gridLayout_3.addWidget(self.preFilterList, 0, 0, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.detectMethodCombo = QtGui.QComboBox(self.groupBox)
        self.detectMethodCombo.setObjectName(_fromUtf8("detectMethodCombo"))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.verticalLayout.addWidget(self.detectMethodCombo)
        self.detectMethodStack = QtGui.QStackedWidget(self.groupBox)
        self.detectMethodStack.setObjectName(_fromUtf8("detectMethodStack"))
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.gridLayout_4 = QtGui.QGridLayout(self.page_3)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setSpacing(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_6 = QtGui.QLabel(self.page_3)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_4.addWidget(self.label_6, 0, 0, 1, 1)
        self.stThresholdSpin = SpinBox(self.page_3)
        self.stThresholdSpin.setProperty("value", 3.0)
        self.stThresholdSpin.setObjectName(_fromUtf8("stThresholdSpin"))
        self.gridLayout_4.addWidget(self.stThresholdSpin, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1)
        self.detectMethodStack.addWidget(self.page_3)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.page_2)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.page_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.page_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.zcSumAbsThresholdSpin = SpinBox(self.page_2)
        self.zcSumAbsThresholdSpin.setObjectName(
            _fromUtf8("zcSumAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumAbsThresholdSpin, 1, 2, 1, 1)
        self.zcAmpAbsThresholdSpin = SpinBox(self.page_2)
        self.zcAmpAbsThresholdSpin.setEnabled(True)
        self.zcAmpAbsThresholdSpin.setObjectName(
            _fromUtf8("zcAmpAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpAbsThresholdSpin, 2, 2, 1, 1)
        self.label_8 = QtGui.QLabel(self.page_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout.addWidget(self.label_8, 0, 2, 1, 1)
        self.label_9 = QtGui.QLabel(self.page_2)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout.addWidget(self.label_9, 3, 0, 1, 1)
        self.zcAmpRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcAmpRelThresholdSpin.setEnabled(False)
        self.zcAmpRelThresholdSpin.setProperty("value", 8.0)
        self.zcAmpRelThresholdSpin.setObjectName(
            _fromUtf8("zcAmpRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpRelThresholdSpin, 2, 3, 1, 1)
        self.zcSumRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcSumRelThresholdSpin.setProperty("value", 8.0)
        self.zcSumRelThresholdSpin.setObjectName(
            _fromUtf8("zcSumRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumRelThresholdSpin, 1, 3, 1, 1)
        self.label_7 = QtGui.QLabel(self.page_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 0, 3, 1, 1)
        self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(self.page_2)
        self.doubleSpinBox_2.setEnabled(False)
        self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
        self.gridLayout.addWidget(self.doubleSpinBox_2, 3, 3, 1, 1)
        self.zcLenAbsThresholdSpin = QtGui.QSpinBox(self.page_2)
        self.zcLenAbsThresholdSpin.setMaximum(100000)
        self.zcLenAbsThresholdSpin.setProperty("value", 3)
        self.zcLenAbsThresholdSpin.setObjectName(
            _fromUtf8("zcLenAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcLenAbsThresholdSpin, 3, 2, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.detectMethodStack.addWidget(self.page_2)
        self.page = QtGui.QWidget()
        self.page.setObjectName(_fromUtf8("page"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.page)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_2 = QtGui.QLabel(self.page)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.cbThresholdSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbThresholdSpin.setProperty("value", 4.0)
        self.cbThresholdSpin.setObjectName(_fromUtf8("cbThresholdSpin"))
        self.gridLayout_2.addWidget(self.cbThresholdSpin, 0, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.page)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 1, 0, 1, 1)
        self.cbRiseTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbRiseTauSpin.setProperty("value", 0.01)
        self.cbRiseTauSpin.setObjectName(_fromUtf8("cbRiseTauSpin"))
        self.gridLayout_2.addWidget(self.cbRiseTauSpin, 1, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.page)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
        self.cbFallTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbFallTauSpin.setProperty("value", 0.01)
        self.cbFallTauSpin.setObjectName(_fromUtf8("cbFallTauSpin"))
        self.gridLayout_2.addWidget(self.cbFallTauSpin, 2, 1, 1, 1)
        self.verticalLayout_5.addLayout(self.gridLayout_2)
        self.detectMethodStack.addWidget(self.page)
        self.verticalLayout.addWidget(self.detectMethodStack)
        self.verticalLayout_3.addWidget(self.groupBox)

        self.retranslateUi(EventDetectionCtrlForm)
        self.detectMethodCombo.setCurrentIndex(1)
        self.detectMethodStack.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(EventDetectionCtrlForm)
Ejemplo n.º 8
0
class Ui_EventDetectionCtrlForm(object):
    def setupUi(self, EventDetectionCtrlForm):
        EventDetectionCtrlForm.setObjectName(
            _fromUtf8("EventDetectionCtrlForm"))
        EventDetectionCtrlForm.resize(264, 340)
        self.verticalLayout_3 = QtGui.QVBoxLayout(EventDetectionCtrlForm)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox_2 = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(100)
        sizePolicy.setHeightForWidth(
            self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setSpacing(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.preFilterList = FilterList(self.groupBox_2)
        self.preFilterList.setObjectName(_fromUtf8("preFilterList"))
        self.gridLayout_3.addWidget(self.preFilterList, 0, 0, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(EventDetectionCtrlForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.detectMethodCombo = QtGui.QComboBox(self.groupBox)
        self.detectMethodCombo.setObjectName(_fromUtf8("detectMethodCombo"))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.detectMethodCombo.addItem(_fromUtf8(""))
        self.verticalLayout.addWidget(self.detectMethodCombo)
        self.detectMethodStack = QtGui.QStackedWidget(self.groupBox)
        self.detectMethodStack.setObjectName(_fromUtf8("detectMethodStack"))
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.gridLayout_4 = QtGui.QGridLayout(self.page_3)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setSpacing(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_6 = QtGui.QLabel(self.page_3)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_4.addWidget(self.label_6, 0, 0, 1, 1)
        self.stThresholdSpin = SpinBox(self.page_3)
        self.stThresholdSpin.setProperty("value", 3.0)
        self.stThresholdSpin.setObjectName(_fromUtf8("stThresholdSpin"))
        self.gridLayout_4.addWidget(self.stThresholdSpin, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1)
        self.detectMethodStack.addWidget(self.page_3)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.page_2)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.page_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.page_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.zcSumAbsThresholdSpin = SpinBox(self.page_2)
        self.zcSumAbsThresholdSpin.setObjectName(
            _fromUtf8("zcSumAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumAbsThresholdSpin, 1, 2, 1, 1)
        self.zcAmpAbsThresholdSpin = SpinBox(self.page_2)
        self.zcAmpAbsThresholdSpin.setEnabled(True)
        self.zcAmpAbsThresholdSpin.setObjectName(
            _fromUtf8("zcAmpAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpAbsThresholdSpin, 2, 2, 1, 1)
        self.label_8 = QtGui.QLabel(self.page_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout.addWidget(self.label_8, 0, 2, 1, 1)
        self.label_9 = QtGui.QLabel(self.page_2)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout.addWidget(self.label_9, 3, 0, 1, 1)
        self.zcAmpRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcAmpRelThresholdSpin.setEnabled(False)
        self.zcAmpRelThresholdSpin.setProperty("value", 8.0)
        self.zcAmpRelThresholdSpin.setObjectName(
            _fromUtf8("zcAmpRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcAmpRelThresholdSpin, 2, 3, 1, 1)
        self.zcSumRelThresholdSpin = QtGui.QDoubleSpinBox(self.page_2)
        self.zcSumRelThresholdSpin.setProperty("value", 8.0)
        self.zcSumRelThresholdSpin.setObjectName(
            _fromUtf8("zcSumRelThresholdSpin"))
        self.gridLayout.addWidget(self.zcSumRelThresholdSpin, 1, 3, 1, 1)
        self.label_7 = QtGui.QLabel(self.page_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 0, 3, 1, 1)
        self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(self.page_2)
        self.doubleSpinBox_2.setEnabled(False)
        self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
        self.gridLayout.addWidget(self.doubleSpinBox_2, 3, 3, 1, 1)
        self.zcLenAbsThresholdSpin = QtGui.QSpinBox(self.page_2)
        self.zcLenAbsThresholdSpin.setMaximum(100000)
        self.zcLenAbsThresholdSpin.setProperty("value", 3)
        self.zcLenAbsThresholdSpin.setObjectName(
            _fromUtf8("zcLenAbsThresholdSpin"))
        self.gridLayout.addWidget(self.zcLenAbsThresholdSpin, 3, 2, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.detectMethodStack.addWidget(self.page_2)
        self.page = QtGui.QWidget()
        self.page.setObjectName(_fromUtf8("page"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.page)
        self.verticalLayout_5.setSpacing(0)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_2 = QtGui.QLabel(self.page)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.cbThresholdSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbThresholdSpin.setProperty("value", 4.0)
        self.cbThresholdSpin.setObjectName(_fromUtf8("cbThresholdSpin"))
        self.gridLayout_2.addWidget(self.cbThresholdSpin, 0, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.page)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 1, 0, 1, 1)
        self.cbRiseTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbRiseTauSpin.setProperty("value", 0.01)
        self.cbRiseTauSpin.setObjectName(_fromUtf8("cbRiseTauSpin"))
        self.gridLayout_2.addWidget(self.cbRiseTauSpin, 1, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.page)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
        self.cbFallTauSpin = QtGui.QDoubleSpinBox(self.page)
        self.cbFallTauSpin.setProperty("value", 0.01)
        self.cbFallTauSpin.setObjectName(_fromUtf8("cbFallTauSpin"))
        self.gridLayout_2.addWidget(self.cbFallTauSpin, 2, 1, 1, 1)
        self.verticalLayout_5.addLayout(self.gridLayout_2)
        self.detectMethodStack.addWidget(self.page)
        self.verticalLayout.addWidget(self.detectMethodStack)
        self.verticalLayout_3.addWidget(self.groupBox)

        self.retranslateUi(EventDetectionCtrlForm)
        self.detectMethodCombo.setCurrentIndex(1)
        self.detectMethodStack.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(EventDetectionCtrlForm)

    def retranslateUi(self, EventDetectionCtrlForm):
        EventDetectionCtrlForm.setWindowTitle(
            _translate("EventDetectionCtrlForm", "Form", None))
        self.groupBox_2.setToolTip(
            _translate(
                "EventDetectionCtrlForm",
                "Pre-processing options. Used for processing data before any event detection takes place. Processing is performed in the order listed.",
                None))
        self.groupBox_2.setTitle(
            _translate("EventDetectionCtrlForm", "Pre-processing", None))
        self.groupBox.setTitle(
            _translate("EventDetectionCtrlForm", "Event Detection", None))
        self.detectMethodCombo.setItemText(
            0, _translate("EventDetectionCtrlForm", "Stdev. Threshold", None))
        self.detectMethodCombo.setItemText(
            1, _translate("EventDetectionCtrlForm", "Zero-crossing", None))
        self.detectMethodCombo.setItemText(
            2, _translate("EventDetectionCtrlForm", "Clements-Bekkers", None))
        self.label_6.setText(
            _translate("EventDetectionCtrlForm", "Threshold", None))
        self.label.setText(
            _translate("EventDetectionCtrlForm", "Sum Thresh.", None))
        self.label_3.setText(
            _translate("EventDetectionCtrlForm", "Amp. Thresh.", None))
        self.label_8.setText(_translate("EventDetectionCtrlForm", "Abs.",
                                        None))
        self.label_9.setText(
            _translate("EventDetectionCtrlForm", "Len. Thresh.", None))
        self.label_7.setText(_translate("EventDetectionCtrlForm", "Rel.",
                                        None))
        self.label_2.setText(
            _translate("EventDetectionCtrlForm", "Threshold", None))
        self.label_4.setText(
            _translate("EventDetectionCtrlForm", "Rise Tau", None))
        self.label_5.setText(
            _translate("EventDetectionCtrlForm", "Fall Tau", None))