Python Forum
QTimer with pause/resume functions?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTimer with pause/resume functions?
#8
Hmmmm, I would suggest, that you make a counter and a timer that runs each second. Let's say you know your song is 1 minute and 20 seconds long, then you know that when your counter reaches 80 (or 0 depending which way you prefere) you play the next song. Each second the timer times out and modifies the counter.

what exacly is the problem with phonon? what you are currently trying is a huge workaround.
Reply


Messages In This Thread
QTimer with pause/resume functions? - by MegasXLR - May-17-2018, 12:26 PM
RE: QTimer with pause/resume functions? - by ThiefOfTime - May-17-2018, 03:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  saving progress, go to a new screen, then resume petomane 8 2,919 Jan-11-2021, 02:25 AM
Last Post: jefsummers

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020