forked from MelancholeyLemon/EasyNanoporeCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheventsDetectGUI.py
105 lines (98 loc) · 6.13 KB
/
eventsDetectGUI.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'eventsDetection.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# 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_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(550, 498)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.label_parameter = QtWidgets.QLabel(self.centralwidget)
self.label_parameter.setGeometry(QtCore.QRect(230, 40, 151, 51))
font = QtGui.QFont()
font.setPointSize(15)
font.setBold(True)
font.setWeight(75)
self.label_parameter.setFont(font)
self.label_parameter.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
self.label_parameter.setObjectName("label_parameter")
self.label_startCoeff = QtWidgets.QLabel(self.centralwidget)
self.label_startCoeff.setGeometry(QtCore.QRect(250, 140, 101, 20))
self.label_startCoeff.setObjectName("label_startCoeff")
self.label_endCoeff = QtWidgets.QLabel(self.centralwidget)
self.label_endCoeff.setGeometry(QtCore.QRect(251, 190, 91, 20))
self.label_endCoeff.setObjectName("label_endCoeff")
self.label_filterCoeff = QtWidgets.QLabel(self.centralwidget)
self.label_filterCoeff.setGeometry(QtCore.QRect(251, 240, 91, 20))
self.label_filterCoeff.setObjectName("label_filterCoeff")
self.label_minDuration = QtWidgets.QLabel(self.centralwidget)
self.label_minDuration.setGeometry(QtCore.QRect(251, 290, 91, 20))
self.label_minDuration.setObjectName("label_minDuration")
self.label_maxDuration = QtWidgets.QLabel(self.centralwidget)
self.label_maxDuration.setGeometry(QtCore.QRect(251, 340, 91, 20))
self.label_maxDuration.setObjectName("label_maxDuration")
self.lineEdit_startCoeff = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit_startCoeff.setGeometry(QtCore.QRect(370, 140, 113, 21))
self.lineEdit_startCoeff.setObjectName("lineEdit_startCoeff")
self.lineEdit_endCoeff = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit_endCoeff.setGeometry(QtCore.QRect(370, 190, 113, 21))
self.lineEdit_endCoeff.setObjectName("lineEdit_endCoeff")
self.lineEdit_filterCoeff = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit_filterCoeff.setGeometry(QtCore.QRect(370, 240, 113, 21))
self.lineEdit_filterCoeff.setObjectName("lineEdit_filterCoeff")
self.lineEdit_minDuration = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit_minDuration.setGeometry(QtCore.QRect(370, 290, 113, 21))
self.lineEdit_minDuration.setObjectName("lineEdit_minDuration")
self.lineEdit_maxDuration = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit_maxDuration.setGeometry(QtCore.QRect(370, 340, 113, 21))
self.lineEdit_maxDuration.setObjectName("lineEdit_maxDuration")
self.pushButton_start = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_start.setGeometry(QtCore.QRect(300, 400, 141, 28))
self.pushButton_start.setObjectName("pushButton_start")
self.label_7 = QtWidgets.QLabel(self.centralwidget)
self.label_7.setGeometry(QtCore.QRect(500, 290, 72, 15))
self.label_7.setObjectName("label_7")
self.label_8 = QtWidgets.QLabel(self.centralwidget)
self.label_8.setGeometry(QtCore.QRect(500, 340, 72, 15))
self.label_8.setObjectName("label_8")
self.label_pattern = QtWidgets.QLabel(self.centralwidget)
self.label_pattern.setGeometry(QtCore.QRect(250, 90, 72, 15))
self.label_pattern.setObjectName("label_pattern")
self.lineEdit_pattern = QtWidgets.QLineEdit(self.centralwidget)
self.lineEdit_pattern.setGeometry(QtCore.QRect(370, 90, 113, 21))
self.lineEdit_pattern.setObjectName("lineEdit_pattern")
self.pushButton_selectFile = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_selectFile.setGeometry(QtCore.QRect(50, 30, 101, 28))
self.pushButton_selectFile.setObjectName("pushButton_selectFile")
self.textBrowser_fileName = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser_fileName.setGeometry(QtCore.QRect(10, 70, 191, 341))
self.textBrowser_fileName.setObjectName("textBrowser_fileName")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 550, 26))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(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", "EasyDetector"))
self.label_parameter.setText(_translate("MainWindow", "parameter"))
self.label_startCoeff.setText(_translate("MainWindow", "startCoeff"))
self.label_endCoeff.setText(_translate("MainWindow", "endCoeff"))
self.label_filterCoeff.setText(_translate("MainWindow", "filterCoeff"))
self.label_minDuration.setText(_translate("MainWindow", "minDuration"))
self.label_maxDuration.setText(_translate("MainWindow", "maxDuration"))
self.pushButton_start.setText(_translate("MainWindow", "Start Detect"))
self.label_7.setText(_translate("MainWindow", "ms"))
self.label_8.setText(_translate("MainWindow", "ms"))
self.label_pattern.setText(_translate("MainWindow", "pattern"))
self.pushButton_selectFile.setText(_translate("MainWindow", "Select File"))