88 lines
5.1 KiB
Python
88 lines
5.1 KiB
Python
# Form implementation generated from reading ui file '.\MainWindow.ui'
|
|
#
|
|
# Created by: PyQt6 UI code generator 6.6.1
|
|
#
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
|
|
from PyQt6 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
MainWindow.setObjectName("MainWindow")
|
|
MainWindow.resize(1251, 650)
|
|
self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.graphWidget1 = PlotWidget(parent=self.centralwidget)
|
|
self.graphWidget1.setGeometry(QtCore.QRect(150, 40, 1061, 561))
|
|
self.graphWidget1.setObjectName("graphWidget1")
|
|
self.pb_Start1 = QtWidgets.QPushButton(parent=self.centralwidget)
|
|
self.pb_Start1.setGeometry(QtCore.QRect(20, 440, 93, 28))
|
|
self.pb_Start1.setObjectName("pb_Start1")
|
|
self.pb_Stop1 = QtWidgets.QPushButton(parent=self.centralwidget)
|
|
self.pb_Stop1.setGeometry(QtCore.QRect(20, 470, 93, 28))
|
|
self.pb_Stop1.setObjectName("pb_Stop1")
|
|
self.lineEdit_EnableDelayValue = QtWidgets.QLineEdit(parent=self.centralwidget)
|
|
self.lineEdit_EnableDelayValue.setGeometry(QtCore.QRect(20, 100, 113, 21))
|
|
self.lineEdit_EnableDelayValue.setObjectName("lineEdit_EnableDelayValue")
|
|
self.label = QtWidgets.QLabel(parent=self.centralwidget)
|
|
self.label.setGeometry(QtCore.QRect(20, 80, 101, 16))
|
|
self.label.setObjectName("label")
|
|
self.pushButton_EnableDelaySet = QtWidgets.QPushButton(parent=self.centralwidget)
|
|
self.pushButton_EnableDelaySet.setGeometry(QtCore.QRect(20, 130, 93, 28))
|
|
self.pushButton_EnableDelaySet.setObjectName("pushButton_EnableDelaySet")
|
|
self.pushButton_AverageStepSet = QtWidgets.QPushButton(parent=self.centralwidget)
|
|
self.pushButton_AverageStepSet.setGeometry(QtCore.QRect(20, 230, 93, 28))
|
|
self.pushButton_AverageStepSet.setObjectName("pushButton_AverageStepSet")
|
|
self.label_2 = QtWidgets.QLabel(parent=self.centralwidget)
|
|
self.label_2.setGeometry(QtCore.QRect(20, 180, 101, 16))
|
|
self.label_2.setObjectName("label_2")
|
|
self.pushButton_SampleRangeSet = QtWidgets.QPushButton(parent=self.centralwidget)
|
|
self.pushButton_SampleRangeSet.setGeometry(QtCore.QRect(20, 330, 93, 28))
|
|
self.pushButton_SampleRangeSet.setObjectName("pushButton_SampleRangeSet")
|
|
self.lineEdit_SampleRangeValue = QtWidgets.QLineEdit(parent=self.centralwidget)
|
|
self.lineEdit_SampleRangeValue.setGeometry(QtCore.QRect(20, 300, 113, 21))
|
|
self.lineEdit_SampleRangeValue.setObjectName("lineEdit_SampleRangeValue")
|
|
self.label_3 = QtWidgets.QLabel(parent=self.centralwidget)
|
|
self.label_3.setGeometry(QtCore.QRect(20, 280, 101, 16))
|
|
self.label_3.setObjectName("label_3")
|
|
self.comboBox_AverageStepVal = QtWidgets.QComboBox(parent=self.centralwidget)
|
|
self.comboBox_AverageStepVal.setGeometry(QtCore.QRect(20, 200, 94, 22))
|
|
self.comboBox_AverageStepVal.setEditable(False)
|
|
self.comboBox_AverageStepVal.setObjectName("comboBox_AverageStepVal")
|
|
self.lineEdit_TriggerCount = QtWidgets.QLineEdit(parent=self.centralwidget)
|
|
self.lineEdit_TriggerCount.setEnabled(True)
|
|
self.lineEdit_TriggerCount.setGeometry(QtCore.QRect(20, 390, 113, 21))
|
|
self.lineEdit_TriggerCount.setReadOnly(True)
|
|
self.lineEdit_TriggerCount.setObjectName("lineEdit_TriggerCount")
|
|
self.label_4 = QtWidgets.QLabel(parent=self.centralwidget)
|
|
self.label_4.setGeometry(QtCore.QRect(20, 370, 101, 16))
|
|
self.label_4.setObjectName("label_4")
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QtWidgets.QMenuBar(parent=MainWindow)
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 1251, 26))
|
|
self.menubar.setObjectName("menubar")
|
|
MainWindow.setMenuBar(self.menubar)
|
|
self.statusbar = QtWidgets.QStatusBar(parent=MainWindow)
|
|
self.statusbar.setObjectName("statusbar")
|
|
MainWindow.setStatusBar(self.statusbar)
|
|
|
|
self.retranslateUi(MainWindow)
|
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
|
self.pb_Start1.setText(_translate("MainWindow", "Start"))
|
|
self.pb_Stop1.setText(_translate("MainWindow", "Stop"))
|
|
self.label.setText(_translate("MainWindow", "Enable Delay "))
|
|
self.pushButton_EnableDelaySet.setText(_translate("MainWindow", "set"))
|
|
self.pushButton_AverageStepSet.setText(_translate("MainWindow", "set"))
|
|
self.label_2.setText(_translate("MainWindow", "Average"))
|
|
self.pushButton_SampleRangeSet.setText(_translate("MainWindow", "set"))
|
|
self.label_3.setText(_translate("MainWindow", "Sample Range"))
|
|
self.label_4.setText(_translate("MainWindow", "Trigger Count"))
|
|
from pyqtgraph import PlotWidget
|