EnergySpectrumAnalyer/src/MeasureAnalysisParticleCountPlotView.h

27 lines
662 B
C
Raw Normal View History

#ifndef MEASUREANALYSISPARTICLECOUNTPLOTVIEW_H
#define MEASUREANALYSISPARTICLECOUNTPLOTVIEW_H
#include <QObject>
#include <QWidget>
#include "MeasureAnalysisView.h"
class QCustomPlot;
class MeasureAnalysisParticleCountPlotView : public MeasureAnalysisView
{
Q_OBJECT
public:
MeasureAnalysisParticleCountPlotView(QWidget *parent = nullptr);
2026-03-04 16:17:04 +08:00
virtual void SetAnalyzeDataFilename(const QMap<QString, QVariant>& data_files_set);
private:
void setupCustomPlot();
void loadDataFromFile(const QString &data_name, const QString& filename);
private:
QCustomPlot* _custom_plot { nullptr };
};
#endif // MEASUREANALYSISPARTICLECOUNTPLOTVIEW_H