1
0
forked from IPKM/nmreval
nmreval/src/gui_qt/_py/editsignalwidget.py

205 lines
11 KiB
Python
Raw Normal View History

2022-03-08 09:27:40 +00:00
# -*- coding: utf-8 -*-
2023-01-07 18:13:13 +00:00
# Form implementation generated from reading ui file 'src/resources/_ui/editsignalwidget.ui'
2022-03-08 09:27:40 +00:00
#
2023-01-07 18:13:13 +00:00
# Created by: PyQt5 UI code generator 5.15.2
2022-03-08 09:27:40 +00:00
#
# 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.
2022-03-08 09:27:40 +00:00
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(328, 732)
self.verticalLayout = QtWidgets.QVBoxLayout(Form)
self.verticalLayout.setContentsMargins(3, 3, 3, 3)
self.verticalLayout.setSpacing(3)
self.verticalLayout.setObjectName("verticalLayout")
2023-01-07 18:13:13 +00:00
self.baseline_box = QtWidgets.QGroupBox(Form)
self.baseline_box.setObjectName("baseline_box")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.baseline_box)
2022-03-08 09:27:40 +00:00
self.horizontalLayout_3.setContentsMargins(3, 3, 3, 3)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
2023-01-07 18:13:13 +00:00
self.baselinebutton = QtWidgets.QPushButton(self.baseline_box)
2022-03-08 09:27:40 +00:00
self.baselinebutton.setObjectName("baselinebutton")
self.horizontalLayout_3.addWidget(self.baselinebutton)
2023-01-07 18:13:13 +00:00
self.verticalLayout.addWidget(self.baseline_box)
self.leftshift_box = QtWidgets.QGroupBox(Form)
self.leftshift_box.setObjectName("leftshift_box")
self.gridLayout_3 = QtWidgets.QGridLayout(self.leftshift_box)
2022-03-08 09:27:40 +00:00
self.gridLayout_3.setContentsMargins(3, 3, 3, 3)
self.gridLayout_3.setObjectName("gridLayout_3")
2023-01-07 18:13:13 +00:00
self.leftshiftbutton = QtWidgets.QPushButton(self.leftshift_box)
2022-03-08 09:27:40 +00:00
self.leftshiftbutton.setObjectName("leftshiftbutton")
self.gridLayout_3.addWidget(self.leftshiftbutton, 1, 0, 1, 2)
2023-01-07 18:13:13 +00:00
self.leftshift_comboBox = QtWidgets.QComboBox(self.leftshift_box)
self.leftshift_comboBox.setObjectName("leftshift_comboBox")
self.leftshift_comboBox.addItem("")
self.leftshift_comboBox.addItem("")
self.gridLayout_3.addWidget(self.leftshift_comboBox, 0, 0, 1, 1)
2022-03-08 09:27:40 +00:00
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_2.setSpacing(0)
self.verticalLayout_2.setObjectName("verticalLayout_2")
2023-01-07 18:13:13 +00:00
self.ls_spinBox = QtWidgets.QSpinBox(self.leftshift_box)
self.ls_spinBox.setMaximum(9999)
self.ls_spinBox.setObjectName("ls_spinBox")
self.verticalLayout_2.addWidget(self.ls_spinBox)
self.ls_lineEdit = QtWidgets.QLineEdit(self.leftshift_box)
self.ls_lineEdit.setObjectName("ls_lineEdit")
self.verticalLayout_2.addWidget(self.ls_lineEdit)
2022-03-08 09:27:40 +00:00
self.gridLayout_3.addLayout(self.verticalLayout_2, 0, 1, 1, 1)
2023-01-07 18:13:13 +00:00
self.verticalLayout.addWidget(self.leftshift_box)
self.zerofill_box = QtWidgets.QGroupBox(Form)
self.zerofill_box.setFlat(False)
self.zerofill_box.setObjectName("zerofill_box")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.zerofill_box)
2022-03-08 09:27:40 +00:00
self.horizontalLayout_4.setContentsMargins(3, 3, 3, 3)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
2023-01-07 18:13:13 +00:00
self.zfbutton = QtWidgets.QPushButton(self.zerofill_box)
2022-03-08 09:27:40 +00:00
self.zfbutton.setObjectName("zfbutton")
self.horizontalLayout_4.addWidget(self.zfbutton)
2023-01-07 18:13:13 +00:00
self.verticalLayout.addWidget(self.zerofill_box)
self.phase_box = QtWidgets.QGroupBox(Form)
self.phase_box.setFlat(False)
self.phase_box.setObjectName("phase_box")
self.gridLayout_4 = QtWidgets.QGridLayout(self.phase_box)
2022-03-08 09:27:40 +00:00
self.gridLayout_4.setContentsMargins(3, 3, 3, 3)
self.gridLayout_4.setVerticalSpacing(0)
self.gridLayout_4.setObjectName("gridLayout_4")
2023-01-07 18:13:13 +00:00
self.label_8 = QtWidgets.QLabel(self.phase_box)
self.label_8.setObjectName("label_8")
self.gridLayout_4.addWidget(self.label_8, 7, 0, 1, 1)
self.phase_prev_button = QtWidgets.QPushButton(self.phase_box)
self.phase_prev_button.setObjectName("phase_prev_button")
self.gridLayout_4.addWidget(self.phase_prev_button, 9, 0, 1, 1)
self.ph0slider = QtWidgets.QDoubleSpinBox(self.phase_box)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.ph0slider.sizePolicy().hasHeightForWidth())
self.ph0slider.setSizePolicy(sizePolicy)
self.ph0slider.setWrapping(True)
self.ph0slider.setMinimum(-180.0)
self.ph0slider.setMaximum(180.0)
self.ph0slider.setObjectName("ph0slider")
self.gridLayout_4.addWidget(self.ph0slider, 2, 1, 1, 1)
self.ph1slider = QtWidgets.QDoubleSpinBox(self.phase_box)
self.ph1slider.setWrapping(True)
2022-03-08 09:27:40 +00:00
self.ph1slider.setMinimum(-360.0)
self.ph1slider.setMaximum(360.0)
self.ph1slider.setObjectName("ph1slider")
self.gridLayout_4.addWidget(self.ph1slider, 5, 1, 1, 1)
2023-01-07 18:13:13 +00:00
self.phasebutton = QtWidgets.QPushButton(self.phase_box)
self.phasebutton.setObjectName("phasebutton")
self.gridLayout_4.addWidget(self.phasebutton, 9, 1, 1, 1)
self.label_6 = QtWidgets.QLabel(self.phase_box)
2022-03-08 09:27:40 +00:00
self.label_6.setObjectName("label_6")
self.gridLayout_4.addWidget(self.label_6, 4, 0, 3, 1)
2023-01-07 18:13:13 +00:00
self.label = QtWidgets.QLabel(self.phase_box)
2022-03-08 09:27:40 +00:00
self.label.setObjectName("label")
self.gridLayout_4.addWidget(self.label, 1, 0, 3, 1)
2023-01-07 18:13:13 +00:00
self.pivot_lineedit = QtWidgets.QLineEdit(self.phase_box)
2022-03-08 09:27:40 +00:00
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pivot_lineedit.sizePolicy().hasHeightForWidth())
self.pivot_lineedit.setSizePolicy(sizePolicy)
self.pivot_lineedit.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)
self.pivot_lineedit.setObjectName("pivot_lineedit")
self.gridLayout_4.addWidget(self.pivot_lineedit, 7, 1, 1, 1)
2023-01-07 18:13:13 +00:00
self.autophase_check = QtWidgets.QCheckBox(self.phase_box)
self.autophase_check.setObjectName("autophase_check")
self.gridLayout_4.addWidget(self.autophase_check, 8, 0, 1, 2)
self.verticalLayout.addWidget(self.phase_box)
self.apod_box = QtWidgets.QGroupBox(Form)
2022-03-08 09:27:40 +00:00
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
2023-01-07 18:13:13 +00:00
sizePolicy.setHeightForWidth(self.apod_box.sizePolicy().hasHeightForWidth())
self.apod_box.setSizePolicy(sizePolicy)
self.apod_box.setObjectName("apod_box")
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.apod_box)
2022-03-08 09:27:40 +00:00
self.verticalLayout_7.setContentsMargins(3, 3, 3, 3)
self.verticalLayout_7.setObjectName("verticalLayout_7")
2023-01-07 18:13:13 +00:00
self.apodcombobox = QtWidgets.QComboBox(self.apod_box)
2022-03-08 09:27:40 +00:00
self.apodcombobox.setObjectName("apodcombobox")
self.verticalLayout_7.addWidget(self.apodcombobox)
2023-01-07 18:13:13 +00:00
self.apod_name_label = QtWidgets.QLabel(self.apod_box)
self.apod_name_label.setIndent(3)
self.apod_name_label.setObjectName("apod_name_label")
self.verticalLayout_7.addWidget(self.apod_name_label)
self.apod_layout = QtWidgets.QVBoxLayout()
self.apod_layout.setSpacing(0)
self.apod_layout.setObjectName("apod_layout")
self.verticalLayout_7.addLayout(self.apod_layout)
2022-03-08 09:27:40 +00:00
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
2023-01-07 18:13:13 +00:00
self.apod_prev_button = QtWidgets.QPushButton(self.apod_box)
self.apod_prev_button.setObjectName("apod_prev_button")
self.horizontalLayout.addWidget(self.apod_prev_button)
self.apodbutton = QtWidgets.QPushButton(self.apod_box)
2022-03-08 09:27:40 +00:00
self.apodbutton.setObjectName("apodbutton")
self.horizontalLayout.addWidget(self.apodbutton)
self.verticalLayout_7.addLayout(self.horizontalLayout)
2023-01-07 18:13:13 +00:00
self.verticalLayout.addWidget(self.apod_box)
self.fft_box = QtWidgets.QGroupBox(Form)
self.fft_box.setObjectName("fft_box")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.fft_box)
2022-03-08 09:27:40 +00:00
self.horizontalLayout_5.setContentsMargins(3, 3, 3, 3)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
2023-01-07 18:13:13 +00:00
self.fourierutton = QtWidgets.QPushButton(self.fft_box)
2022-03-08 09:27:40 +00:00
self.fourierutton.setObjectName("fourierutton")
self.horizontalLayout_5.addWidget(self.fourierutton)
2023-01-07 18:13:13 +00:00
self.verticalLayout.addWidget(self.fft_box)
2022-03-08 09:27:40 +00:00
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
2023-01-07 18:13:13 +00:00
Form.setTabOrder(self.baselinebutton, self.leftshift_comboBox)
Form.setTabOrder(self.leftshift_comboBox, self.ls_spinBox)
Form.setTabOrder(self.ls_spinBox, self.ls_lineEdit)
Form.setTabOrder(self.ls_lineEdit, self.leftshiftbutton)
Form.setTabOrder(self.leftshiftbutton, self.zfbutton)
Form.setTabOrder(self.zfbutton, self.ph0slider)
Form.setTabOrder(self.ph0slider, self.ph1slider)
Form.setTabOrder(self.ph1slider, self.pivot_lineedit)
Form.setTabOrder(self.pivot_lineedit, self.autophase_check)
Form.setTabOrder(self.autophase_check, self.phase_prev_button)
Form.setTabOrder(self.phase_prev_button, self.phasebutton)
Form.setTabOrder(self.phasebutton, self.apodcombobox)
Form.setTabOrder(self.apodcombobox, self.apod_prev_button)
Form.setTabOrder(self.apod_prev_button, self.apodbutton)
Form.setTabOrder(self.apodbutton, self.fourierutton)
2022-03-08 09:27:40 +00:00
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "Form"))
2023-01-07 18:13:13 +00:00
self.baseline_box.setTitle(_translate("Form", "Baseline correction"))
2022-03-08 09:27:40 +00:00
self.baselinebutton.setText(_translate("Form", "Apply"))
2023-01-07 18:13:13 +00:00
self.leftshift_box.setTitle(_translate("Form", "Left shift"))
2022-03-08 09:27:40 +00:00
self.leftshiftbutton.setText(_translate("Form", "Apply"))
2023-01-07 18:13:13 +00:00
self.leftshift_comboBox.setItemText(0, _translate("Form", "Points"))
self.leftshift_comboBox.setItemText(1, _translate("Form", "Seconds"))
self.zerofill_box.setTitle(_translate("Form", "Zerofilling"))
2022-03-08 09:27:40 +00:00
self.zfbutton.setText(_translate("Form", "Apply"))
2023-01-07 18:13:13 +00:00
self.phase_box.setTitle(_translate("Form", "Phase correction"))
self.label_8.setText(_translate("Form", "Pivot"))
self.phase_prev_button.setText(_translate("Form", "Preview"))
self.phasebutton.setText(_translate("Form", "Apply"))
2022-03-08 09:27:40 +00:00
self.label_6.setText(_translate("Form", "Phase 1"))
self.label.setText(_translate("Form", "Phase 0"))
self.pivot_lineedit.setText(_translate("Form", "0"))
2023-01-07 18:13:13 +00:00
self.autophase_check.setText(_translate("Form", "Autophase at pivot point"))
self.apod_box.setTitle(_translate("Form", "Apodization"))
self.apod_name_label.setText(_translate("Form", "TextLabel"))
self.apod_prev_button.setText(_translate("Form", "Preview"))
2022-03-08 09:27:40 +00:00
self.apodbutton.setText(_translate("Form", "Apply"))
2023-01-07 18:13:13 +00:00
self.fft_box.setTitle(_translate("Form", "FFT"))
2022-03-08 09:27:40 +00:00
self.fourierutton.setText(_translate("Form", "Apply"))