46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
#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<AnalysisOperation> _ananlysisOperationVtr;
|
|
// The analysis operationes from xlsx file.
|
|
//extern QVector<AnalysisOperation> _fileAnanlysisOperationVtr;
|
|
|
|
void addAnalysisOperation(const AnalysisOperation);
|
|
void removeTheLastAnalysisOperation();
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // ANALYSISOPERATIONRECORDER_H
|