45 lines
819 B
C++
45 lines
819 B
C++
#ifndef REPORTPAGE_H
|
|
#define REPORTPAGE_H
|
|
|
|
#include <QWidget>
|
|
#include "ReportSettingsData.h"
|
|
#include <QTimer>
|
|
#include <QTime>
|
|
|
|
class CZTStats;
|
|
|
|
namespace Ui {
|
|
class CReportPage;
|
|
}
|
|
|
|
class CReportPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CReportPage(QWidget *parent = 0);
|
|
~CReportPage();
|
|
|
|
CReportConfigData GetReportFiltersConfig();
|
|
void UpdateProgressStatus(QString Status);
|
|
void ClearProgressStatus();
|
|
void ReportCreationFinished(QString ReportFilePath);
|
|
|
|
CZTStats *mProgramHandle;
|
|
QTimer *mTimeCounter;
|
|
QTime mProgressTime;
|
|
QString mReportFilePath;
|
|
|
|
private:
|
|
Ui::CReportPage *ui;
|
|
|
|
public slots:
|
|
void GenerateReportBtnClicked();
|
|
void TimerExpired();
|
|
void FunctionSelectionBtnPressed();
|
|
void OpenReportBtnClicked();
|
|
|
|
};
|
|
|
|
#endif // REPORTPAGE_H
|