?? threaddialog.h
字號(hào):
#ifndef THREADDIALOG_H#define THREADDIALOG_H#include <QDialog>#include "thread.h"class QPushButton;class ThreadDialog : public QDialog{ Q_OBJECTpublic: ThreadDialog(QWidget *parent = 0);protected: void closeEvent(QCloseEvent *event);private slots: void startOrStopThreadA(); void startOrStopThreadB();private: Thread threadA; Thread threadB; QPushButton *threadAButton; QPushButton *threadBButton; QPushButton *quitButton;};#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -