/*! *FileName: lpReport.h *Author: Pan Yingdong *Email: bob.pan@hzleaper.com *Created:2021/4/6 11:54 *Note:数据查询 报表模块 */ #ifndef _H_LPREPORT_H_ #define _H_LPREPORT_H_ #include #include "ui_lpReport.h" #include #include "InfoFile.h" #include "checkdata.h" #include #include "DetectDataDB.h" #include #include #include "ModeCheckDlg.h" #include "ModeCountDlg.h" #include "ValueCheckDlg.h" class lpReport : public QMainWindow { Q_OBJECT public: lpReport(QWidget *parent = Q_NULLPTR); ~lpReport(); protected: //国际化 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 m_VecTranPtr;//国际化语言包管理 protected: QMap m_Totaltime;//班次时间表 QStringList m_strListModelName; class DetectDataDB *m_pDb{ nullptr }; class ModelDB *m_pModeDB{ nullptr }; ModeCheckDlg *m_pModeCheckUI{ nullptr };//型号识别历史数据查询页面 ModeCountDlg *m_pModeCountUI{ nullptr };//型号识别统计数据页面 ValueCheckDlg *m_pValueUI{ nullptr };//定位数据查询页面 }; #endif