-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsave_open.h
27 lines (16 loc) · 1.05 KB
/
save_open.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef SAVE_OPEN_H
#define SAVE_OPEN_H
#include "plis.h"
void save_project(QMainWindow *this1, const QString &x, const QString &y,
const QVector<Data*> &dataSets, const int ¤t_dataSet, const bool &is_disconnected, int &shape,
QCPTextElement *&title, QFont &xaxis_font, QFont &yaxis_font, QString &mode);
int open_project(QMainWindow *this1, QString &x, QString &y, QVector<Data*> &dataSets,
int ¤t_dataSet, bool &is_disconnected, QVector<QCPGraph *> &graphSets, int &shape,
QCPTextElement *&title, QFont &xaxis_font, QFont &yaxis_font, QString &mode);
void saveImage(Plis *plis, QCustomPlot *plot_area, QVector<Data*> dataSets, int current_dataSet);
void line2words(const std::string& line, std::vector<std::string> &word);
void toDouble(const std::string& line, double &temp);
void toDouble_cpmg(std::string line, Data* &data);
void toDouble(std::string line, Data* &dataSets, bool curve=false);
int toInt(const std::string& word);
#endif // SAVE_OPEN_H