40 lines
1.0 KiB
C++
40 lines
1.0 KiB
C++
#ifndef PARTICLEINJECTTIMEANALYSISVIEW_H
|
|
#define PARTICLEINJECTTIMEANALYSISVIEW_H
|
|
|
|
#include "MeasureAnalysisView.h"
|
|
|
|
class CustomQwtPlot;
|
|
class QwtPlotCurve;
|
|
class BusyIndicatorWidget;
|
|
class QMenu;
|
|
|
|
class ParticleInjectTimeAnalysisView : public MeasureAnalysisView
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ParticleInjectTimeAnalysisView(QWidget *parent = nullptr);
|
|
virtual ~ParticleInjectTimeAnalysisView();
|
|
virtual void InitViewWorkspace(const QString& project_name) override final;
|
|
virtual void SetAnalyzeDataFilename(const QMap<QString, QVariant>& data_files_set);
|
|
|
|
private:
|
|
void setupMenu();
|
|
void updateData(bool b_init_update);
|
|
private slots:
|
|
void onActionPlotConfigure();
|
|
|
|
protected:
|
|
virtual void showEvent(QShowEvent* e) override final;
|
|
|
|
private:
|
|
BusyIndicatorWidget* _busy_indicator = nullptr;
|
|
CustomQwtPlot *_plot = nullptr;
|
|
QwtPlotCurve *_curve = nullptr;
|
|
QMenu* _menu = nullptr;
|
|
double _begin_enery = 0.0f;
|
|
double _end_energy = 0.0f;
|
|
QString _data_filename;
|
|
};
|
|
|
|
#endif // PARTICLEINJECTTIMEANALYSIS_H
|