Пример #1
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(400, 300)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setMargin(3)
        self.gridLayout.setSpacing(3)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.drawBtn = QtGui.QPushButton(Form)
        self.drawBtn.setObjectName(_fromUtf8("drawBtn"))
        self.gridLayout.addWidget(self.drawBtn, 2, 0, 1, 1)
        self.tree = TreeWidget(Form)
        self.tree.setObjectName(_fromUtf8("tree"))
        self.tree.header().setStretchLastSection(False)
        self.gridLayout.addWidget(self.tree, 0, 0, 1, 1)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_translate("Form", "Form", None))
        self.drawBtn.setText(_translate("Form", "Draw", None))
        self.tree.headerItem().setText(0, _translate("Form", "Param", None))
        self.tree.headerItem().setText(1, _translate("Form", "Threshold", None))
        self.tree.headerItem().setText(2, _translate("Form", "% of max", None))
        self.tree.headerItem().setText(3, _translate("Form", "Color", None))
        self.tree.headerItem().setText(4, _translate("Form", "Remove", None))
Пример #2
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(504, 237)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setMargin(3)
        self.gridLayout.setSpacing(3)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(1)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(Form)
        self.label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                | QtCore.Qt.AlignVCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.spacingSpin = SpinBox(Form)
        self.spacingSpin.setObjectName(_fromUtf8("spacingSpin"))
        self.horizontalLayout.addWidget(self.spacingSpin)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.processBtn = QtGui.QPushButton(Form)
        self.processBtn.setObjectName(_fromUtf8("processBtn"))
        self.gridLayout.addWidget(self.processBtn, 3, 0, 1, 1)
        self.tree = TreeWidget(Form)
        self.tree.setObjectName(_fromUtf8("tree"))
        self.tree.header().setDefaultSectionSize(120)
        self.tree.header().setStretchLastSection(True)
        self.gridLayout.addWidget(self.tree, 2, 0, 1, 1)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_translate("Form", "Form", None))
        self.label.setText(_translate("Form", "Spacing:", None))
        self.spacingSpin.setToolTip(
            _translate(
                "Form",
                "Spacing of the grid that the map will be projected onto.",
                None))
        self.processBtn.setText(_translate("Form", "Process", None))
        self.tree.headerItem().setText(0, _translate("Form", "Parameter",
                                                     None))
        self.tree.headerItem().setText(1, _translate("Form", "Method", None))
        self.tree.headerItem().setText(2, _translate("Form", "Sigma", None))
        self.tree.headerItem().setText(
            3, _translate("Form", "Interpolation type", None))
        self.tree.headerItem().setText(4, _translate("Form", "Remove", None))
Пример #3
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(504, 237)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setMargin(3)
        self.gridLayout.setSpacing(3)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(1)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(Form)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.spacingSpin = SpinBox(Form)
        self.spacingSpin.setObjectName(_fromUtf8("spacingSpin"))
        self.horizontalLayout.addWidget(self.spacingSpin)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.processBtn = QtGui.QPushButton(Form)
        self.processBtn.setObjectName(_fromUtf8("processBtn"))
        self.gridLayout.addWidget(self.processBtn, 3, 0, 1, 1)
        self.tree = TreeWidget(Form)
        self.tree.setObjectName(_fromUtf8("tree"))
        self.tree.header().setDefaultSectionSize(120)
        self.tree.header().setStretchLastSection(True)
        self.gridLayout.addWidget(self.tree, 2, 0, 1, 1)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_translate("Form", "Form", None))
        self.label.setText(_translate("Form", "Spacing:", None))
        self.spacingSpin.setToolTip(_translate("Form", "Spacing of the grid that the map will be projected onto.", None))
        self.processBtn.setText(_translate("Form", "Process", None))
        self.tree.headerItem().setText(0, _translate("Form", "Parameter", None))
        self.tree.headerItem().setText(1, _translate("Form", "Method", None))
        self.tree.headerItem().setText(2, _translate("Form", "Sigma", None))
        self.tree.headerItem().setText(3, _translate("Form", "Interpolation type", None))
        self.tree.headerItem().setText(4, _translate("Form", "Remove", None))
Пример #4
0
class Ui_solutionEditor(object):
    def setupUi(self, solutionEditor):
        solutionEditor.setObjectName(_fromUtf8("solutionEditor"))
        solutionEditor.resize(1139, 667)
        self.gridLayout_2 = QtGui.QGridLayout(solutionEditor)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.splitter_2 = QtGui.QSplitter(solutionEditor)
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.splitter = QtGui.QSplitter(self.splitter_2)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.solutionList = TreeWidget(self.splitter)
        self.solutionList.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.solutionList.setObjectName(_fromUtf8("solutionList"))
        item_0 = QtGui.QTreeWidgetItem(self.solutionList)
        item_0 = QtGui.QTreeWidgetItem(self.solutionList)
        item_0 = QtGui.QTreeWidgetItem(self.solutionList)
        item_0 = QtGui.QTreeWidgetItem(self.solutionList)
        item_0 = QtGui.QTreeWidgetItem(self.solutionList)
        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.notesText = RichTextEdit(self.layoutWidget)
        self.notesText.setObjectName(_fromUtf8("notesText"))
        self.verticalLayout.addWidget(self.notesText)
        self.layoutWidget1 = QtGui.QWidget(self.splitter_2)
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.solutionTable = TreeWidget(self.layoutWidget1)
        self.solutionTable.setAlternatingRowColors(True)
        self.solutionTable.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.solutionTable.setAllColumnsShowFocus(False)
        self.solutionTable.setObjectName(_fromUtf8("solutionTable"))
        item_0 = QtGui.QTreeWidgetItem(self.solutionTable)
        item_0 = QtGui.QTreeWidgetItem(self.solutionTable)
        item_0 = QtGui.QTreeWidgetItem(self.solutionTable)
        item_0 = QtGui.QTreeWidgetItem(self.solutionTable)
        item_0 = QtGui.QTreeWidgetItem(self.solutionTable)
        item_0 = QtGui.QTreeWidgetItem(self.solutionTable)
        self.solutionTable.header().setStretchLastSection(False)
        self.verticalLayout_2.addWidget(self.solutionTable)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_4 = QtGui.QLabel(self.layoutWidget1)
        self.label_4.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.reverseTempSpin = QtGui.QSpinBox(self.layoutWidget1)
        self.reverseTempSpin.setProperty("value", 34)
        self.reverseTempSpin.setObjectName(_fromUtf8("reverseTempSpin"))
        self.gridLayout.addWidget(self.reverseTempSpin, 0, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.gridLayout_2.addWidget(self.splitter_2, 0, 0, 1, 1)

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

    def retranslateUi(self, solutionEditor):
        solutionEditor.setWindowTitle(
            _translate("solutionEditor", "Form", None))
        self.solutionList.headerItem().setText(
            0, _translate("solutionEditor", "Solution", None))
        __sortingEnabled = self.solutionList.isSortingEnabled()
        self.solutionList.setSortingEnabled(False)
        self.solutionList.topLevelItem(0).setText(
            0, _translate("solutionEditor", "aCSF - Dissection", None))
        self.solutionList.topLevelItem(1).setText(
            0, _translate("solutionEditor", "aCSF - Holding", None))
        self.solutionList.topLevelItem(2).setText(
            0, _translate("solutionEditor", "aCSF - Recording", None))
        self.solutionList.topLevelItem(3).setText(
            0, _translate("solutionEditor", "Internal", None))
        self.solutionList.topLevelItem(4).setText(
            0, _translate("solutionEditor", "Misc", None))
        self.solutionList.setSortingEnabled(__sortingEnabled)
        self.label.setText(_translate("solutionEditor", "Notes", None))
        __sortingEnabled = self.solutionTable.isSortingEnabled()
        self.solutionTable.setSortingEnabled(False)
        self.solutionTable.topLevelItem(0).setText(
            0, _translate("solutionEditor", "Concentrations (mM)", None))
        self.solutionTable.topLevelItem(1).setText(
            0,
            _translate("solutionEditor", "Ion Concentrations (estimated)",
                       None))
        self.solutionTable.topLevelItem(2).setText(
            0,
            _translate("solutionEditor", "Ion Concentrations (measured)",
                       None))
        self.solutionTable.topLevelItem(3).setText(
            0, _translate("solutionEditor", "Osmolarity (estimated)", None))
        self.solutionTable.topLevelItem(4).setText(
            0, _translate("solutionEditor", "Osmolarity (measured)", None))
        self.solutionTable.topLevelItem(5).setText(
            0, _translate("solutionEditor", "Reversal Potentials", None))
        self.solutionTable.setSortingEnabled(__sortingEnabled)
        self.label_4.setText(
            _translate("solutionEditor", "Reversal temperature", None))
        self.reverseTempSpin.setSuffix(_translate("solutionEditor", "C", None))