Bootstrap

QT实例——多线程+定时器

/*dialog.h*/
#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QPushButton>
#include <QLCDNumber>
#include <QEvent>
#include <QThread>
#include <QProgressBar>

class MyThread : public QThread{
    Q_OBJECT
public:
    MyThread(){}
    ~MyThread(){}
    void run();
private:
};

class Dialog : public QDialog
{
    Q_OBJE
;