A
A
alex5e2014-07-22 10:18:28
PyQt
alex5e, 2014-07-22 10:18:28

How to pass a message from any class to a GUI element in PyQt?

Good afternoon. Tell me how to access a GUI thread from any class in PyQt? When I try to access the form element directly, I get QObject::connect: Cannot queue arguments of type 'QTextCursor'
(Make sure 'QTextCursor' is registered using qRegisterMetaType().)
. And emit() is only executed in the run() method of the thread I created

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question