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

# Form implementation generated from reading ui file './nmreval/src/resources/_ui/interpol_dialog.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_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(416, 494)
        self.gridLayout = QtWidgets.QGridLayout(Dialog)
        self.gridLayout.setContentsMargins(3, 3, 3, 3)
        self.gridLayout.setSpacing(3)
        self.gridLayout.setObjectName("gridLayout")
        self.src_widget = QtWidgets.QWidget(Dialog)
        self.src_widget.setObjectName("src_widget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.src_widget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setSpacing(3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.graph_combobox = QtWidgets.QComboBox(self.src_widget)
        self.graph_combobox.setObjectName("graph_combobox")
        self.horizontalLayout.addWidget(self.graph_combobox)
        self.set_combobox = QtWidgets.QComboBox(self.src_widget)
        self.set_combobox.setObjectName("set_combobox")
        self.horizontalLayout.addWidget(self.set_combobox)
        self.gridLayout.addWidget(self.src_widget, 8, 0, 1, 2)
        self.label_3 = QtWidgets.QLabel(Dialog)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setToolTip("")
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 4, 0, 1, 1)
        self.line_2 = QtWidgets.QFrame(Dialog)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 5, 0, 1, 2)
        self.ylog_checkBox = QtWidgets.QCheckBox(Dialog)
        self.ylog_checkBox.setObjectName("ylog_checkBox")
        self.gridLayout.addWidget(self.ylog_checkBox, 2, 1, 1, 1)
        self.interp_comboBox = QtWidgets.QComboBox(Dialog)
        self.interp_comboBox.setToolTip("")
        self.interp_comboBox.setObjectName("interp_comboBox")
        self.interp_comboBox.addItem("")
        self.interp_comboBox.addItem("")
        self.gridLayout.addWidget(self.interp_comboBox, 4, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 12, 0, 1, 2)
        self.line = QtWidgets.QFrame(Dialog)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 3, 0, 1, 2)
        self.label_2 = QtWidgets.QLabel(Dialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 6, 0, 1, 1)
        self.listWidget = QListWidgetSelect(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.listWidget.sizePolicy().hasHeightForWidth())
        self.listWidget.setSizePolicy(sizePolicy)
        self.listWidget.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection)
        self.listWidget.setObjectName("listWidget")
        self.gridLayout.addWidget(self.listWidget, 1, 0, 1, 2)
        self.sampling_widget = QtWidgets.QWidget(Dialog)
        self.sampling_widget.setObjectName("sampling_widget")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.sampling_widget)
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setSpacing(3)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_4 = QtWidgets.QLabel(self.sampling_widget)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_2.addWidget(self.label_4)
        self.start_lineEdit = QtWidgets.QLineEdit(self.sampling_widget)
        self.start_lineEdit.setObjectName("start_lineEdit")
        self.horizontalLayout_2.addWidget(self.start_lineEdit)
        self.label_5 = QtWidgets.QLabel(self.sampling_widget)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_2.addWidget(self.label_5)
        self.stop_lineEdit = QtWidgets.QLineEdit(self.sampling_widget)
        self.stop_lineEdit.setObjectName("stop_lineEdit")
        self.horizontalLayout_2.addWidget(self.stop_lineEdit)
        self.label_6 = QtWidgets.QLabel(self.sampling_widget)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_2.addWidget(self.label_6)
        self.step_lineEdit = QtWidgets.QLineEdit(self.sampling_widget)
        self.step_lineEdit.setObjectName("step_lineEdit")
        self.horizontalLayout_2.addWidget(self.step_lineEdit)
        self.logspace_checkBox = QtWidgets.QCheckBox(self.sampling_widget)
        self.logspace_checkBox.setObjectName("logspace_checkBox")
        self.horizontalLayout_2.addWidget(self.logspace_checkBox)
        self.gridLayout.addWidget(self.sampling_widget, 7, 0, 1, 2)
        self.xaxis_comboBox = QtWidgets.QComboBox(Dialog)
        self.xaxis_comboBox.setObjectName("xaxis_comboBox")
        self.xaxis_comboBox.addItem("")
        self.xaxis_comboBox.addItem("")
        self.gridLayout.addWidget(self.xaxis_comboBox, 6, 1, 1, 1)
        self.line_3 = QtWidgets.QFrame(Dialog)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout.addWidget(self.line_3, 9, 0, 1, 2)
        self.dest_combobox = QtWidgets.QComboBox(Dialog)
        self.dest_combobox.setObjectName("dest_combobox")
        self.gridLayout.addWidget(self.dest_combobox, 10, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 11, 0, 1, 1)
        self.label_8 = QtWidgets.QLabel(Dialog)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 10, 0, 1, 1)
        self.xlog_checkBox = QtWidgets.QCheckBox(Dialog)
        self.xlog_checkBox.setObjectName("xlog_checkBox")
        self.gridLayout.addWidget(self.xlog_checkBox, 2, 0, 1, 1)
        self.label.setBuddy(self.interp_comboBox)
        self.label_2.setBuddy(self.xaxis_comboBox)
        self.label_4.setBuddy(self.start_lineEdit)
        self.label_5.setBuddy(self.stop_lineEdit)
        self.label_6.setBuddy(self.step_lineEdit)
        self.label_8.setBuddy(self.dest_combobox)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.listWidget, self.ylog_checkBox)
        Dialog.setTabOrder(self.ylog_checkBox, self.interp_comboBox)
        Dialog.setTabOrder(self.interp_comboBox, self.xaxis_comboBox)
        Dialog.setTabOrder(self.xaxis_comboBox, self.start_lineEdit)
        Dialog.setTabOrder(self.start_lineEdit, self.stop_lineEdit)
        Dialog.setTabOrder(self.stop_lineEdit, self.step_lineEdit)
        Dialog.setTabOrder(self.step_lineEdit, self.logspace_checkBox)
        Dialog.setTabOrder(self.logspace_checkBox, self.graph_combobox)
        Dialog.setTabOrder(self.graph_combobox, self.set_combobox)
        Dialog.setTabOrder(self.set_combobox, self.dest_combobox)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Data interpolation"))
        self.label_3.setText(_translate("Dialog", "Source data"))
        self.label.setText(_translate("Dialog", "Spline"))
        self.ylog_checkBox.setToolTip(_translate("Dialog", "If your data is on a logarithmic scale in y, check this box"))
        self.ylog_checkBox.setText(_translate("Dialog", "use log(y)"))
        self.interp_comboBox.setItemText(0, _translate("Dialog", "Cubic"))
        self.interp_comboBox.setItemText(1, _translate("Dialog", "Linear"))
        self.buttonBox.setToolTip(_translate("Dialog", "Accept to create new data sets."))
        self.label_2.setText(_translate("Dialog", "New x axis"))
        self.listWidget.setToolTip(_translate("Dialog", "Select sets that shall be interpolated. No selection will create interpolations of all visible sets."))
        self.label_4.setText(_translate("Dialog", "Start"))
        self.label_5.setText(_translate("Dialog", "Stop"))
        self.label_6.setText(_translate("Dialog", "Steps"))
        self.logspace_checkBox.setText(_translate("Dialog", "log-spaced?"))
        self.xaxis_comboBox.setItemText(0, _translate("Dialog", "new values"))
        self.xaxis_comboBox.setItemText(1, _translate("Dialog", "from data"))
        self.label_8.setText(_translate("Dialog", "Add interpolated data to"))
        self.xlog_checkBox.setText(_translate("Dialog", "use log(x)"))
from ..lib.listwidget import QListWidgetSelect
