Qt Graphical Objects & Multi-Thread
Classes
WidgetUpdate.hpp File Reference

This header file and its related source demonstrate that Qt graphical objects are not thread-safe! More...

#include <math.h>
#include <iostream>
#include <QWidget>
#include <QThread>
Include dependency graph for WidgetUpdate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Updater
 This separated thread updates regularly the position drawn towards the aimed one, either directly (if BUGGY is defined) or through a signal (by default). More...
 
class  UpdateWidget
 This widget draws two positions, one moved by drag and drop, the other moved by a separate thread toward the first position. More...
 

Detailed Description

This header file and its related source demonstrate that Qt graphical objects are not thread-safe!

Definition in file WidgetUpdate.hpp.