How to call GUI elements in different Qt threads?

后端 未结 1 569
猫巷女王i
猫巷女王i 2021-01-21 18:56

I have an application in which a thread (not main thread) needs access to the GUI\'s elements (send a click action, show a message box, etc). I am working in python and Qt and a

1条回答
  •  太阳男子
    2021-01-21 19:19

    Here is a good tutorial on how to use Qthread: http://joplaete.wordpress.com/2010/07/21/threading-with-pyqt4/ . This will show how to call the GUI elements in different and custom threads. Hope this helps.

    0 讨论(0)
提交回复
热议问题