Are you sure that you can write that:
QWidget(parent), QThread(parent) ???
There are 2 QObject object in this class.
I think its wrong.