forked from Wobbl/Wobuzz
OOPed everything a little more.
This commit is contained in:
parent
19b6f4dcaa
commit
8811ba7ab4
5 changed files with 113 additions and 69 deletions
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from PyQt6.QtCore import QTimer
|
||||
from ui.main_window import MainWindow
|
||||
|
||||
|
||||
|
@ -15,8 +14,5 @@ class GUI:
|
|||
self.window.show()
|
||||
|
||||
def connect(self):
|
||||
self.window.main_container.track_control.previous_button.triggered.connect(self.app.player.previous_track)
|
||||
self.window.main_container.track_control.toggle_play_button.triggered.connect(self.app.player.toggle_playing)
|
||||
self.window.main_container.track_control.stop_button.triggered.connect(self.app.player.stop)
|
||||
self.window.main_container.track_control.next_button.triggered.connect(self.app.player.next_track)
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue