#ifndef MYDIALOG_H
#define MYDIALOG_H

#include"mythread.h"
#include<QPushButton>
#include<QLabel>
#include<QHBoxLayout>
#include <QString>

class MyDialog : public QWidget
{
    Q_OBJECT

public:

    MyDialog(QWidget *parent = 0);
    ~MyDialog();
    void closeEvent(QCloseEvent *e);
private:
    myThread *mThread;
    QPushButton *startBtn;
    QPushButton *stopBtn;
    QLabel *label;
public slots:
    void onNumberChanged(int);
    void startBtn_click();
    void stopBtn_click();
};

#endif // MYDIALOG_H
MyDialog.h

相关文章:

  • 2021-11-25
  • 2021-09-18
  • 2022-02-14
  • 2022-03-03
  • 2021-11-09
  • 2021-09-16
  • 2022-01-09
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2021-11-20
  • 2021-11-20
  • 2021-12-15
  • 2018-05-22
  • 2021-11-19
相关资源
相似解决方案