You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wheeldetect/tpvs17/tpMain/QModelMgrDlg.h

33 lines
570 B
C

#ifndef _H_QMODELMGRDLG_H_
#define _H_QMODELMGRDLG_H_
#include <QWidget>
#include "ui_QModelMgrDlg.h"
#include "IWheelCtrl.h"
#include "qmythread.h"
class QModelMgrDlg : public QWidget
{
Q_OBJECT
public:
QModelMgrDlg(QWidget *parent = Q_NULLPTR);
~QModelMgrDlg();
void onSetCtrl(IWheelCtrl* ptr);
void TrainAllTskFunc();
void TrainOneTskFunc();
protected:
Q_SLOT void onButtonClicked();
private:
Ui::QModelMgrDlg ui;
class IWheelCtrl* m_pCtrl{ nullptr };
class QMyThread *m_trainAllTsk{ nullptr };
class QMyThread *m_trainOneTsk{ nullptr };
};
#endif