2026-03-03 18:15:34 +08:00
|
|
|
#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);
|
2026-03-03 18:15:34 +08:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void setupCustomPlot();
|
2026-03-04 21:16:35 +08:00
|
|
|
void loadDataFromFile(const QString &data_name, const QString& filename);
|
2026-03-03 18:15:34 +08:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QCustomPlot* _custom_plot { nullptr };
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // MEASUREANALYSISPARTICLECOUNTPLOTVIEW_H
|