By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,516 Members | 850 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,516 IT Pros & Developers. It's quick & easy.

How to check signal emit finished in python

P: 5
I have created one signal in python using pyside. I'm connecting with that signal 3 times with 3 different methods. when i emit this signal, it has to execute these 3 methods.
It works perfectly fine.

Expand|Select|Wrap|Line Numbers
  1. ValueChanged = QtCore.Signal(list)
  3. ValueChanged.connect(method1)
  4. ValueChanged.connect(method2)
  5. ValueChanged.connect(method3)
  7. valueChanged.emit([1,2,3])

But i would like to know anyway that 3 methods have been executed or not, i.e the status of signal ( signal is in emitting state, emitted state ).
a) I don't prefer putting bool flag in every methods and track it. b) i can't put some regular interval also bz each method would take its own time.

How do i know signal emitted all connected methods ?
Aug 28 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.