Python Forum
QTimer with pause/resume functions?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTimer with pause/resume functions?
#3
(May-17-2018, 12:48 PM)ThiefOfTime Wrote: Why wouldn't you want to stop the timer via the pause method?
you will find it in the documentation: https://srinikom.github.io/pyside-docs/P...Timer.html
Or is there a problem, so that you can not use that?

Well, if I stop the timer altogether when I pause a song then it will be gone and the app won't know when the song ends so it won't play the next one. That's why I'm looking for a way to 'pause' the timer aka for it to remember its position so that I can later resume it from the old position until the initially set time runs out.
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 MegasXLR - May-17-2018, 12:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  saving progress, go to a new screen, then resume petomane 8 2,918 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