# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'nmreval/src/resources/_ui/ptstab.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(417, 746)
        self.gridLayout = QtWidgets.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtWidgets.QLabel(Form)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 2)
        self.peaktable = QtWidgets.QListWidget(Form)
        self.peaktable.setEditTriggers(QtWidgets.QAbstractItemView.DoubleClicked|QtWidgets.QAbstractItemView.EditKeyPressed)
        self.peaktable.setObjectName("peaktable")
        self.gridLayout.addWidget(self.peaktable, 1, 0, 1, 2)
        self.special_checkbox = QtWidgets.QCheckBox(Form)
        self.special_checkbox.setObjectName("special_checkbox")
        self.gridLayout.addWidget(self.special_checkbox, 3, 0, 1, 1)
        self.special_comboBox = QtWidgets.QComboBox(Form)
        self.special_comboBox.setEnabled(False)
        self.special_comboBox.setObjectName("special_comboBox")
        self.special_comboBox.addItem("")
        self.special_comboBox.addItem("")
        self.special_comboBox.addItem("")
        self.special_comboBox.addItem("")
        self.gridLayout.addWidget(self.special_comboBox, 3, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 30, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        self.gridLayout.addItem(spacerItem, 4, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(Form)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 5, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.left_limit = QtWidgets.QLineEdit(Form)
        self.left_limit.setObjectName("left_limit")
        self.horizontalLayout_2.addWidget(self.left_limit)
        self.right_limit = QtWidgets.QLineEdit(Form)
        self.right_limit.setObjectName("right_limit")
        self.horizontalLayout_2.addWidget(self.right_limit)
        self.limit_combobox = QtWidgets.QComboBox(Form)
        self.limit_combobox.setObjectName("limit_combobox")
        self.limit_combobox.addItem("")
        self.limit_combobox.addItem("")
        self.horizontalLayout_2.addWidget(self.limit_combobox)
        self.gridLayout.addLayout(self.horizontalLayout_2, 5, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(Form)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 6, 0, 1, 1)
        self.average_combobox = QtWidgets.QComboBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.average_combobox.sizePolicy().hasHeightForWidth())
        self.average_combobox.setSizePolicy(sizePolicy)
        self.average_combobox.setObjectName("average_combobox")
        self.average_combobox.addItem("")
        self.average_combobox.addItem("")
        self.average_combobox.addItem("")
        self.average_combobox.addItem("")
        self.gridLayout.addWidget(self.average_combobox, 6, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(Form)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 7, 0, 1, 1)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.xbutton = QtWidgets.QCheckBox(Form)
        self.xbutton.setObjectName("xbutton")
        self.horizontalLayout.addWidget(self.xbutton)
        self.ybutton = QtWidgets.QCheckBox(Form)
        self.ybutton.setChecked(True)
        self.ybutton.setObjectName("ybutton")
        self.horizontalLayout.addWidget(self.ybutton)
        self.gridLayout.addLayout(self.horizontalLayout, 7, 1, 1, 1)
        self.label = QtWidgets.QLabel(Form)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 8, 0, 1, 1)
        self.group_box = QtWidgets.QComboBox(Form)
        self.group_box.setObjectName("group_box")
        self.group_box.addItem("")
        self.group_box.addItem("")
        self.gridLayout.addWidget(self.group_box, 8, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        self.gridLayout.addItem(spacerItem1, 9, 0, 1, 1)
        self.graph_checkbox = QtWidgets.QCheckBox(Form)
        self.graph_checkbox.setChecked(True)
        self.graph_checkbox.setObjectName("graph_checkbox")
        self.gridLayout.addWidget(self.graph_checkbox, 10, 0, 1, 1)
        self.graph_combobox = QtWidgets.QComboBox(Form)
        self.graph_combobox.setEnabled(False)
        self.graph_combobox.setObjectName("graph_combobox")
        self.gridLayout.addWidget(self.graph_combobox, 10, 1, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 12, 0, 1, 1)
        self.okButton = QtWidgets.QPushButton(Form)
        icon = QtGui.QIcon.fromTheme("dialog-ok")
        self.okButton.setIcon(icon)
        self.okButton.setObjectName("okButton")
        self.gridLayout.addWidget(self.okButton, 11, 0, 1, 2)
        self.deleteButton = QtWidgets.QPushButton(Form)
        icon = QtGui.QIcon.fromTheme("dialog-cancel")
        self.deleteButton.setIcon(icon)
        self.deleteButton.setObjectName("deleteButton")
        self.gridLayout.addWidget(self.deleteButton, 2, 0, 1, 2)
        self.label_2.setBuddy(self.peaktable)
        self.label_5.setBuddy(self.average_combobox)
        self.label_4.setBuddy(self.xbutton)
        self.label.setBuddy(self.group_box)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.peaktable, self.limit_combobox)
        Form.setTabOrder(self.limit_combobox, self.average_combobox)
        Form.setTabOrder(self.average_combobox, self.xbutton)
        Form.setTabOrder(self.xbutton, self.ybutton)
        Form.setTabOrder(self.ybutton, self.group_box)
        Form.setTabOrder(self.group_box, self.graph_checkbox)
        Form.setTabOrder(self.graph_checkbox, self.graph_combobox)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.label_2.setText(_translate("Form", "Selected points and regions"))
        self.peaktable.setToolTip(_translate("Form", "Edit by entering new value: \n"
"Single number for points (e.g. 1e-6); \n"
"two numbers separated by space for regions (e.g. 1e-6 5e-6). \n"
"Changing between regions and points is NOT possible"))
        self.special_checkbox.setText(_translate("Form", "Use special value"))
        self.special_comboBox.setToolTip(_translate("Form", "Automatic selection of respective points"))
        self.special_comboBox.setItemText(0, _translate("Form", "max(y)"))
        self.special_comboBox.setItemText(1, _translate("Form", "max(abs(y))"))
        self.special_comboBox.setItemText(2, _translate("Form", "min(y)"))
        self.special_comboBox.setItemText(3, _translate("Form", "min(abs(y))"))
        self.label_3.setText(_translate("Form", "Region around points"))
        self.limit_combobox.setItemText(0, _translate("Form", "points"))
        self.limit_combobox.setItemText(1, _translate("Form", "range"))
        self.label_5.setText(_translate("Form", "Aggregation"))
        self.average_combobox.setItemText(0, _translate("Form", "Mean"))
        self.average_combobox.setItemText(1, _translate("Form", "Sum"))
        self.average_combobox.setItemText(2, _translate("Form", "Integral"))
        self.average_combobox.setItemText(3, _translate("Form", "Std. deviation"))
        self.label_4.setText(_translate("Form", "New set based on"))
        self.xbutton.setText(_translate("Form", "x"))
        self.ybutton.setText(_translate("Form", "y"))
        self.label.setText(_translate("Form", "Group by"))
        self.group_box.setItemText(0, _translate("Form", "\"Group\" value"))
        self.group_box.setItemText(1, _translate("Form", "x value"))
        self.graph_checkbox.setText(_translate("Form", "New graph?"))
        self.okButton.setText(_translate("Form", "Apply"))
        self.deleteButton.setText(_translate("Form", "Delete selection"))
