开发者

How to invoke a signal from a custom widget at runtime

开发者 https://www.devze.com 2023-01-31 08:27 出处:网络
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.
  1. We have a custom widget plugin, lets say myprogressbar.
  2. We have an exe. The exe has a dialog.ui file which has the custom plugin.
  3. 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,

0

精彩评论

暂无评论...
验证码 换一张
取 消