void ThreadTest::execThread()
{
    QThread *thread = new QThread(this);
    connect(thread, SIGNAL(started()), this, SLOT(onStartThread()), Qt::DirectConnection);
    connect(thread, SIGNAL(finished()), SLOT(deleteLater()));
    thread->start();
}