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

# Form implementation generated from reading ui file 'src/resources/_ui/apod_dialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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_ApodEdit(object):
    def setupUi(self, ApodEdit):
        ApodEdit.setObjectName("ApodEdit")
        ApodEdit.resize(1144, 655)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ApodEdit.sizePolicy().hasHeightForWidth())
        ApodEdit.setSizePolicy(sizePolicy)
        self.gridLayout = QtWidgets.QGridLayout(ApodEdit)
        self.gridLayout.setContentsMargins(9, 9, 9, 9)
        self.gridLayout.setSpacing(3)
        self.gridLayout.setObjectName("gridLayout")
        self.freq_graph = NMRPlotWidget(ApodEdit)
        self.freq_graph.setObjectName("freq_graph")
        self.gridLayout.addWidget(self.freq_graph, 2, 2, 1, 1)
        self.time_graph = NMRPlotWidget(ApodEdit)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.time_graph.sizePolicy().hasHeightForWidth())
        self.time_graph.setSizePolicy(sizePolicy)
        self.time_graph.setObjectName("time_graph")
        self.gridLayout.addWidget(self.time_graph, 2, 1, 1, 1)
        self.widget = QtWidgets.QWidget(ApodEdit)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName("widget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.widget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.baseline_box = QtWidgets.QCheckBox(self.widget)
        self.baseline_box.setObjectName("baseline_box")
        self.verticalLayout.addWidget(self.baseline_box)
        self.shift_box = QtWidgets.QGroupBox(self.widget)
        self.shift_box.setFlat(True)
        self.shift_box.setCheckable(True)
        self.shift_box.setChecked(False)
        self.shift_box.setObjectName("shift_box")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.shift_box)
        self.gridLayout_4.setContentsMargins(3, 3, 3, 3)
        self.gridLayout_4.setSpacing(3)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.ls_lineedit = QtWidgets.QLineEdit(self.shift_box)
        self.ls_lineedit.setObjectName("ls_lineedit")
        self.gridLayout_4.addWidget(self.ls_lineedit, 1, 1, 1, 1)
        self.ls_spinbox = QtWidgets.QSpinBox(self.shift_box)
        self.ls_spinbox.setMaximum(999999)
        self.ls_spinbox.setObjectName("ls_spinbox")
        self.gridLayout_4.addWidget(self.ls_spinbox, 0, 1, 1, 1)
        self.ls_combobox = QtWidgets.QComboBox(self.shift_box)
        self.ls_combobox.setObjectName("ls_combobox")
        self.ls_combobox.addItem("")
        self.ls_combobox.addItem("")
        self.gridLayout_4.addWidget(self.ls_combobox, 0, 0, 2, 1)
        self.verticalLayout.addWidget(self.shift_box)
        self.apod_box = QtWidgets.QGroupBox(self.widget)
        self.apod_box.setFlat(True)
        self.apod_box.setCheckable(True)
        self.apod_box.setChecked(False)
        self.apod_box.setObjectName("apod_box")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.apod_box)
        self.verticalLayout_2.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_2.setSpacing(3)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.apodcombobox = QtWidgets.QComboBox(self.apod_box)
        self.apodcombobox.setObjectName("apodcombobox")
        self.verticalLayout_2.addWidget(self.apodcombobox)
        self.eqn_label = QtWidgets.QLabel(self.apod_box)
        self.eqn_label.setIndent(3)
        self.eqn_label.setObjectName("eqn_label")
        self.verticalLayout_2.addWidget(self.eqn_label)
        self.widget_layout = QtWidgets.QHBoxLayout()
        self.widget_layout.setContentsMargins(-1, 6, -1, -1)
        self.widget_layout.setSpacing(20)
        self.widget_layout.setObjectName("widget_layout")
        self.verticalLayout_2.addLayout(self.widget_layout)
        self.verticalLayout.addWidget(self.apod_box)
        self.zerofill_box = QtWidgets.QGroupBox(self.widget)
        self.zerofill_box.setFlat(True)
        self.zerofill_box.setCheckable(True)
        self.zerofill_box.setChecked(False)
        self.zerofill_box.setObjectName("zerofill_box")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.zerofill_box)
        self.horizontalLayout.setContentsMargins(3, 3, 3, 3)
        self.horizontalLayout.setSpacing(3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(self.zerofill_box)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.zf_spinbox = QtWidgets.QSpinBox(self.zerofill_box)
        self.zf_spinbox.setMinimum(1)
        self.zf_spinbox.setMaximum(3)
        self.zf_spinbox.setObjectName("zf_spinbox")
        self.horizontalLayout.addWidget(self.zf_spinbox)
        self.verticalLayout.addWidget(self.zerofill_box)
        self.phase_box = QtWidgets.QGroupBox(self.widget)
        self.phase_box.setFlat(True)
        self.phase_box.setCheckable(True)
        self.phase_box.setChecked(False)
        self.phase_box.setObjectName("phase_box")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.phase_box)
        self.gridLayout_2.setContentsMargins(3, 3, 3, 3)
        self.gridLayout_2.setSpacing(3)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_3 = QtWidgets.QLabel(self.phase_box)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.phase_box)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.ph0_spinbox = QtWidgets.QDoubleSpinBox(self.phase_box)
        self.ph0_spinbox.setWrapping(True)
        self.ph0_spinbox.setDecimals(1)
        self.ph0_spinbox.setMinimum(-180.0)
        self.ph0_spinbox.setMaximum(180.0)
        self.ph0_spinbox.setSingleStep(0.5)
        self.ph0_spinbox.setObjectName("ph0_spinbox")
        self.gridLayout_2.addWidget(self.ph0_spinbox, 0, 1, 1, 1)
        self.pivot_lineedit = QtWidgets.QLineEdit(self.phase_box)
        self.pivot_lineedit.setObjectName("pivot_lineedit")
        self.gridLayout_2.addWidget(self.pivot_lineedit, 2, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.phase_box)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.ph1_spinbox = QtWidgets.QDoubleSpinBox(self.phase_box)
        self.ph1_spinbox.setWrapping(True)
        self.ph1_spinbox.setDecimals(2)
        self.ph1_spinbox.setMinimum(-720.0)
        self.ph1_spinbox.setMaximum(720.0)
        self.ph1_spinbox.setSingleStep(0.05)
        self.ph1_spinbox.setObjectName("ph1_spinbox")
        self.gridLayout_2.addWidget(self.ph1_spinbox, 1, 1, 1, 1)
        self.verticalLayout.addWidget(self.phase_box)
        self.ft_box = QtWidgets.QGroupBox(self.widget)
        self.ft_box.setCheckable(True)
        self.ft_box.setChecked(False)
        self.ft_box.setObjectName("ft_box")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.ft_box)
        self.verticalLayout_3.setContentsMargins(3, 3, 3, 3)
        self.verticalLayout_3.setSpacing(3)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.phase_before_button = QtWidgets.QRadioButton(self.ft_box)
        self.phase_before_button.setChecked(True)
        self.phase_before_button.setObjectName("phase_before_button")
        self.buttonGroup = QtWidgets.QButtonGroup(ApodEdit)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.phase_before_button)
        self.verticalLayout_3.addWidget(self.phase_before_button)
        self.phase_after_button = QtWidgets.QRadioButton(self.ft_box)
        self.phase_after_button.setObjectName("phase_after_button")
        self.buttonGroup.addButton(self.phase_after_button)
        self.verticalLayout_3.addWidget(self.phase_after_button)
        self.verticalLayout.addWidget(self.ft_box)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addWidget(self.widget, 2, 0, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(ApodEdit)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 4, 1, 1, 2)
        self.log_freq_widget = QtWidgets.QWidget(ApodEdit)
        self.log_freq_widget.setObjectName("log_freq_widget")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.log_freq_widget)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.logx_freq = QtWidgets.QCheckBox(self.log_freq_widget)
        self.logx_freq.setObjectName("logx_freq")
        self.horizontalLayout_3.addWidget(self.logx_freq)
        self.logy_freq = QtWidgets.QCheckBox(self.log_freq_widget)
        self.logy_freq.setObjectName("logy_freq")
        self.horizontalLayout_3.addWidget(self.logy_freq)
        self.gridLayout.addWidget(self.log_freq_widget, 3, 2, 1, 1)
        self.logtime_widget = QtWidgets.QWidget(ApodEdit)
        self.logtime_widget.setObjectName("logtime_widget")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.logtime_widget)
        self.horizontalLayout_2.setContentsMargins(-1, 1, -1, -1)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.logx_time = QtWidgets.QCheckBox(self.logtime_widget)
        self.logx_time.setObjectName("logx_time")
        self.horizontalLayout_2.addWidget(self.logx_time)
        self.logy_time = QtWidgets.QCheckBox(self.logtime_widget)
        self.logy_time.setObjectName("logy_time")
        self.horizontalLayout_2.addWidget(self.logy_time)
        self.gridLayout.addWidget(self.logtime_widget, 3, 1, 1, 1)

        self.retranslateUi(ApodEdit)
        self.buttonBox.accepted.connect(ApodEdit.accept) # type: ignore
        self.buttonBox.rejected.connect(ApodEdit.close) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ApodEdit)

    def retranslateUi(self, ApodEdit):
        _translate = QtCore.QCoreApplication.translate
        ApodEdit.setWindowTitle(_translate("ApodEdit", "Apodization"))
        self.baseline_box.setText(_translate("ApodEdit", "Baseline"))
        self.shift_box.setTitle(_translate("ApodEdit", "Shift"))
        self.ls_lineedit.setText(_translate("ApodEdit", "0"))
        self.ls_combobox.setItemText(0, _translate("ApodEdit", "Points"))
        self.ls_combobox.setItemText(1, _translate("ApodEdit", "Seconds"))
        self.apod_box.setTitle(_translate("ApodEdit", "Apodization"))
        self.eqn_label.setText(_translate("ApodEdit", "TextLabel"))
        self.zerofill_box.setTitle(_translate("ApodEdit", "Zero fill"))
        self.label.setText(_translate("ApodEdit", "Double length"))
        self.zf_spinbox.setSuffix(_translate("ApodEdit", "x"))
        self.phase_box.setTitle(_translate("ApodEdit", "Phase correction"))
        self.label_3.setText(_translate("ApodEdit", "Phase 1"))
        self.label_4.setText(_translate("ApodEdit", "Pivot"))
        self.pivot_lineedit.setText(_translate("ApodEdit", "0"))
        self.label_2.setText(_translate("ApodEdit", "Phase 0"))
        self.ft_box.setTitle(_translate("ApodEdit", "Fourier transform"))
        self.phase_before_button.setText(_translate("ApodEdit", "before phase correction"))
        self.phase_after_button.setText(_translate("ApodEdit", "after phase correction"))
        self.logx_freq.setText(_translate("ApodEdit", "Log X"))
        self.logy_freq.setText(_translate("ApodEdit", "Log Y"))
        self.logx_time.setText(_translate("ApodEdit", "Log X"))
        self.logy_time.setText(_translate("ApodEdit", "Log Y"))
from ..lib.graph_items import NMRPlotWidget
