|
|
|
|
|
/*!
|
|
|
|
|
|
*FileName: lpReport.h
|
|
|
|
|
|
*Author: Pan Yingdong
|
|
|
|
|
|
*Email: bob.pan@hzleaper.com
|
|
|
|
|
|
*Created:2021/4/6 11:54
|
|
|
|
|
|
*Note:<EFBFBD><EFBFBD><EFBFBD>ݲ<EFBFBD>ѯ <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD>
|
|
|
|
|
|
*/
|
|
|
|
|
|
#ifndef _H_LPREPORT_H_
|
|
|
|
|
|
#define _H_LPREPORT_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
|
|
#include "ui_lpReport.h"
|
|
|
|
|
|
#include <QDateTime>
|
|
|
|
|
|
#include "InfoFile.h"
|
|
|
|
|
|
#include "checkdata.h"
|
|
|
|
|
|
#include <QMessageBox>
|
|
|
|
|
|
#include "DetectDataDB.h"
|
|
|
|
|
|
#include <QSettings>
|
|
|
|
|
|
#include <QTranslator>
|
|
|
|
|
|
#include "ModeCheckDlg.h"
|
|
|
|
|
|
#include "ModeCountDlg.h"
|
|
|
|
|
|
#include "ValueCheckDlg.h"
|
|
|
|
|
|
|
|
|
|
|
|
class lpReport : public QMainWindow
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
lpReport(QWidget *parent = Q_NULLPTR);
|
|
|
|
|
|
~lpReport();
|
|
|
|
|
|
protected:
|
|
|
|
|
|
//<2F><><EFBFBD>ʻ<EFBFBD>
|
|
|
|
|
|
void SetLanguage(QString strLangage);
|
|
|
|
|
|
void SearchQmFile(const QString & strDir);
|
|
|
|
|
|
void SetTranslator(const QString strPath);
|
|
|
|
|
|
|
|
|
|
|
|
virtual void timerEvent(QTimerEvent *event);
|
|
|
|
|
|
Q_SLOT void onSetCurrentIndex(int nIndex);
|
|
|
|
|
|
signals:
|
|
|
|
|
|
void sgSetCurrentIndex(int);
|
|
|
|
|
|
private:
|
|
|
|
|
|
Ui::lpReportClass ui;
|
|
|
|
|
|
QVector<QTranslator* > m_VecTranPtr;//<2F><><EFBFBD>ʻ<EFBFBD><CABB><EFBFBD><EFBFBD><EFBFBD><D4B0><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
protected:
|
|
|
|
|
|
QMap<QString, TimeStruct> m_Totaltime;//<2F><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
|
|
|
|
|
|
QStringList m_strListModelName;
|
|
|
|
|
|
class DetectDataDB *m_pDb{ nullptr };
|
|
|
|
|
|
class ModelDB *m_pModeDB{ nullptr };
|
|
|
|
|
|
|
|
|
|
|
|
ModeCheckDlg *m_pModeCheckUI{ nullptr };//<2F>ͺ<EFBFBD>ʶ<EFBFBD><CAB6><EFBFBD><EFBFBD>ʷ<EFBFBD><CAB7><EFBFBD>ݲ<EFBFBD>ѯҳ<D1AF><D2B3>
|
|
|
|
|
|
ModeCountDlg *m_pModeCountUI{ nullptr };//<2F>ͺ<EFBFBD>ʶ<EFBFBD><CAB6>ͳ<EFBFBD><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҳ<EFBFBD><D2B3>
|
|
|
|
|
|
ValueCheckDlg *m_pValueUI{ nullptr };//<2F><>λ<EFBFBD><CEBB><EFBFBD>ݲ<EFBFBD>ѯҳ<D1AF><D2B3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|