UITimer Guidance

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

ambustion

  • Posts: 24
  • Joined: Mon Jun 24, 2019 4:36 pm
  • Real Name: Brendon Rathbone

UITimer Guidance

PostMon May 31, 2021 5:38 pm

I know this is still in the process of being fully implemented, but does anyone have any guidance on using the UITimer function within resolve scripting to trigger events in a resolve script. Specifically, I want to have a timer fire off every time the clip on the edit or color page changes, but even a loop every second using the timer would suffice for me just to check this and change elements of a GUI.

I see with qt you can use timeout.connect to link a function to a QTimer but I have only been succesful in getting a single event to trigger, even with SingleShot=False.

I also thought about a custom event, but I can't figure out any events that work outside of the fusion Tab. I have also tried threading but I think I'm misunderstanding something about qt/fusion gui's that prevents me from passing back and forth data between threads.

Any guidance would be much appreciated.

Return to Software Developers

Who is online

Users browsing this forum: oniongarlic and 24 guests