Editing PyQt Tips and Tricks
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
== Tips and Tricks == | == Tips and Tricks == | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
=== Identifying the Sender of a Signal === | === Identifying the Sender of a Signal === | ||
Line 59: | Line 43: | ||
It is discouraged to inherit from <code>QThread</code> and to use <code>moveToThread</code> on the <code>QThread</code>.[http://labs.trolltech.com/blogs/2010/06/17/youre-doing-it-wrong]. A C++ example of how to use these is shown in a producer/consumer style application can be found on the [http://labs.trolltech.com/blogs/2006/12/04/threading-without-the-headache/ trolltech blog]. | It is discouraged to inherit from <code>QThread</code> and to use <code>moveToThread</code> on the <code>QThread</code>.[http://labs.trolltech.com/blogs/2010/06/17/youre-doing-it-wrong]. A C++ example of how to use these is shown in a producer/consumer style application can be found on the [http://labs.trolltech.com/blogs/2006/12/04/threading-without-the-headache/ trolltech blog]. | ||
- | |||
- | |||
==== import threading ==== | ==== import threading ==== |
Learn more about Contributing to the wiki.