#ifndef ANALYSISOPERATIONRECORDER_H #define ANALYSISOPERATIONRECORDER_H #include "centralwidget.h" namespace AnalysisOperationRecorder { const QString NumericalLabelStr("NumericalLabel"); const QString StartPointStr("StartPoint"); const QString StopPointStr("StopPoint"); const QString PeakSynthesisAnalysisStr("PeakSynthesisAnalysis"); const QString GlassTransitionStr("GlassTransition"); const QString OnsetTemperaturePointStr("OnsetTemperaturePoint"); const QString EndsetTemperaturePointStr("EndsetTemperaturePoint"); #if 0 enum AnalysisMode{ Null, NumericalLabel, StartPoint, StopPoint, PeakSynthesisAnalysis, GlassTransition, OnsetTemperaturePoint, EndsetTemperaturePoint }; #endif struct AnalysisOperation{ CentralWidget::AnalysisMode mode; double x1,x2; }; // The analysis operationes by user operating. extern QVector _ananlysisOperationVtr; // The analysis operationes from xlsx file. //extern QVector _fileAnanlysisOperationVtr; void addAnalysisOperation(const AnalysisOperation); void removeTheLastAnalysisOperation(); } #endif // ANALYSISOPERATIONRECORDER_H