EnergySpectrumAnalyer/src/MeasureAnalysisParticleCountPlotView.h

27 lines
653 B
C++

#ifndef MEASUREANALYSISPARTICLECOUNTPLOTVIEW_H
#define MEASUREANALYSISPARTICLECOUNTPLOTVIEW_H
#include <QObject>
#include <QWidget>
#include "MeasureAnalysisView.h"
class CustomQwtPlot;
class MeasureAnalysisParticleCountPlotView : public MeasureAnalysisView
{
Q_OBJECT
public:
MeasureAnalysisParticleCountPlotView(QWidget *parent = nullptr);
virtual void SetAnalyzeDataFilename(const QMap<QString, QVariant>& data_files_set);
private:
void setupPlot();
void loadDataFromFile(const QString &data_name, const QString& filename);
private:
CustomQwtPlot* _plot { nullptr };
};
#endif // MEASUREANALYSISPARTICLECOUNTPLOTVIEW_H