How to invoke a signal from a custom widget at runtime
- We have a custom widget plugin, lets say myprogressbar.
- We have an exe. The exe has a dialog.ui file which has the custom plugin.
- We use quiloader to load the file at runtime, which loads the custom plugin. I have verified that, the constructor of myprogressbar is invoked when we load dialog.ui file.
Now my question is how to declare signals and slot so that at runtime the exe would emit a signal and corresponding slot would in the custom p开发者_开发百科lugin would be invoked.
I found some clue here , how do I do it.
Regards,
精彩评论