Administrator approval is now required for registering new accounts. If you are registering a new account, and are external to the University, please ask the repository owner to contact ServiceLine to request your account be approved. Repository owners must include the newly registered email address, and specific repository in the request for approval.

Commit b78596a1 authored by Ed Rogers's avatar Ed Rogers
Browse files

Rename classes to be hearing related

parent e805754a
......@@ -33,7 +33,7 @@ from SoundLibrary import SoundLibrary
import random
class TestThread(QtCore.QThread):
class HearingTestThread(QtCore.QThread):
played_sound = QtCore.pyqtSignal(float, float)
def __init__(self, library: SoundLibrary):
......@@ -52,7 +52,7 @@ class TestThread(QtCore.QThread):
self.sleep(1)
class HelloWindow(QMainWindow):
class TestWindow(QMainWindow):
def __init__(self, library):
self.library = library
self.testing_thread = None
......@@ -93,7 +93,7 @@ class HelloWindow(QMainWindow):
self.log.setText('')
self.title.setText('Test running')
self.log.append('Starting...')
self.testing_thread = TestThread(self.library)
self.testing_thread = HearingTestThread(self.library)
self.testing_thread.played_sound.connect(self.sound_played)
self.testing_thread.finished.connect(self.test_finished)
self.testing_thread.start()
......@@ -121,7 +121,7 @@ def main():
# time.sleep(1)
app = QtWidgets.QApplication(sys.argv)
main_win = HelloWindow(library)
main_win = TestWindow(library)
main_win.show()
sys.exit(app.exec_())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment